فهرست منبع

ppc4xx: Fix CFG_MONITOR_LEN on Katmai failsave this time

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 17 سال پیش
والد
کامیت
f4c4d21a88
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      include/configs/katmai.h

+ 4 - 4
include/configs/katmai.h

@@ -48,12 +48,8 @@
  * Base addresses -- Note these are effective addresses where the
  * Base addresses -- Note these are effective addresses where the
  * actual resources get mapped (not physical addresses)
  * actual resources get mapped (not physical addresses)
  *----------------------------------------------------------------------*/
  *----------------------------------------------------------------------*/
-#define CFG_MONITOR_LEN		(384 * 1024)	/* Reserve 384 kB for Mon */
-#define CFG_MALLOC_LEN		(512 * 1024)	/* Reserve 512 kB for malloc */
-
 #define CFG_SDRAM_BASE		0x00000000	/* _must_ be 0		*/
 #define CFG_SDRAM_BASE		0x00000000	/* _must_ be 0		*/
 #define CFG_FLASH_BASE		0xff000000	/* start of FLASH	*/
 #define CFG_FLASH_BASE		0xff000000	/* start of FLASH	*/
-#define CFG_MONITOR_BASE	TEXT_BASE
 #define CFG_PERIPHERAL_BASE	0xa0000000	/* internal peripherals	*/
 #define CFG_PERIPHERAL_BASE	0xa0000000	/* internal peripherals	*/
 #define CFG_ISRAM_BASE		0x90000000	/* internal SRAM	*/
 #define CFG_ISRAM_BASE		0x90000000	/* internal SRAM	*/
 
 
@@ -82,6 +78,10 @@
 
 
 #define CFG_ACE_BASE		0xfe000000	/* Xilinx ACE controller - Compact Flash */
 #define CFG_ACE_BASE		0xfe000000	/* Xilinx ACE controller - Compact Flash */
 
 
+#define CFG_MONITOR_BASE	TEXT_BASE
+#define CFG_MONITOR_LEN		(0xFFFFFFFF - CFG_MONITOR_LEN + 1)
+#define CFG_MALLOC_LEN		(512 * 1024)	/* Reserve 512 kB for malloc */
+
 /*-----------------------------------------------------------------------
 /*-----------------------------------------------------------------------
  * Initial RAM & stack pointer (placed in internal SRAM)
  * Initial RAM & stack pointer (placed in internal SRAM)
  *----------------------------------------------------------------------*/
  *----------------------------------------------------------------------*/