Skip to content

Commit 8272f59

Browse files
neuschaefermpe
authored andcommitted
powerpc: wii: Remove outdated comment about memory fixups
The workaround has been removed. What stays is just code to find the memory hole so the BATs can be configured properly in the function below. Fixes: 57deb8f ("powerpc/wii: Don't rely on the reserved memory hack") Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent f6bd74f commit 8272f59

File tree

1 file changed

+0
-10
lines changed
  • arch/powerpc/platforms/embedded6xx

1 file changed

+0
-10
lines changed

arch/powerpc/platforms/embedded6xx/wii.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,6 @@ void __init wii_memory_fixups(void)
6767
{
6868
struct memblock_region *p = memblock.memory.regions;
6969

70-
/*
71-
* This is part of a workaround to allow the use of two
72-
* discontinuous RAM ranges on the Wii, even if this is
73-
* currently unsupported on 32-bit PowerPC Linux.
74-
*
75-
* We coalesce the two memory ranges of the Wii into a
76-
* single range, then create a reservation for the "hole"
77-
* between both ranges.
78-
*/
79-
8070
BUG_ON(memblock.memory.cnt != 2);
8171
BUG_ON(!page_aligned(p[0].base) || !page_aligned(p[1].base));
8272

0 commit comments

Comments
 (0)