]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib_ppc/board.c
* Patches by Udi Finkelstein, 2 June 2003:
[karo-tx-uboot.git] / lib_ppc / board.c
index 333d2d25c10406fc28e4643b50d14d0d33357bee..56cbdfe5ee779f2ce8d578536f66da399274c3f7 100644 (file)
@@ -438,10 +438,10 @@ void board_init_f (ulong bootflag)
 
        /*
         * reserve memory for U-Boot code, data & bss
-        * round down to next 16 kB limit
+        * round down to next 4 kB limit
         */
        addr -= len;
-       addr &= ~(16 * 1024 - 1);
+       addr &= ~(4096 - 1);
 
 #ifdef DEBUG
        printf ("Reserving %ldk for U-Boot at: %08lx\n", len >> 10, addr);