]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Clean up INIT_RAM options
authorAndy Fleming <afleming@freescale.com>
Tue, 15 Jul 2008 01:29:07 +0000 (20:29 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Tue, 15 Jul 2008 01:29:07 +0000 (20:29 -0500)
The L2_INIT_RAM option was unused, and recent changes to the TLB code
meant that the INIT_RAM TLBs weren't being cleared out.  In order to reduce
the amount of mapped space attached to nothing, we change things so the TLBs
get cleared.

Signed-off-by: Andy Fleming <afleming@freescale.com>
include/configs/MPC8544DS.h

index 58b13578a3a075a143b0f7a0c07a6b6b330864c7..091fd2e870d1d53c674beeffe7e01e0ba2c3d2ee 100644 (file)
@@ -201,23 +201,11 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 
 
 /* define to use L1 as initial stack */
-#define CONFIG_L1_INIT_RAM     1
-#define CFG_INIT_L1_LOCK       1
-#define CFG_INIT_L1_ADDR       0xf4010000      /* Initial L1 address */
-#define CFG_INIT_L1_END                0x00004000      /* End of used area in RAM */
-
-/* define to use L2SRAM as initial stack */
-#undef CONFIG_L2_INIT_RAM
-#define CFG_INIT_L2_ADDR       0xf8fc0000
-#define CFG_INIT_L2_END                0x00040000      /* End of used area in RAM */
-
-#ifdef CONFIG_L1_INIT_RAM
-#define CFG_INIT_RAM_ADDR      CFG_INIT_L1_ADDR
-#define CFG_INIT_RAM_END       CFG_INIT_L1_END
-#else
-#define CFG_INIT_RAM_ADDR      CFG_INIT_L2_ADDR
-#define CFG_INIT_RAM_END       CFG_INIT_L2_END
-#endif
+#define CONFIG_L1_INIT_RAM
+#define CFG_INIT_RAM_LOCK      1
+#define CFG_INIT_RAM_ADDR      0xf4010000      /* Initial L1 address */
+#define CFG_INIT_RAM_END       0x00004000      /* End of used area in RAM */
+
 
 #define CFG_GBL_DATA_SIZE      128     /* num bytes initial data */
 #define CFG_GBL_DATA_OFFSET    (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)