diff options
Diffstat (limited to 'include/configs/IceCube.h')
| -rw-r--r-- | include/configs/IceCube.h | 20 | 
1 files changed, 14 insertions, 6 deletions
| diff --git a/include/configs/IceCube.h b/include/configs/IceCube.h index 396110016..f54a3937a 100644 --- a/include/configs/IceCube.h +++ b/include/configs/IceCube.h @@ -33,10 +33,18 @@  #define CONFIG_MPC5200		1	/* (more precisely a MPC5200 CPU) */  #define CONFIG_ICECUBE		1	/* ... on IceCube board */ -#define CONFIG_SYS_MPC5XXX_CLKIN	33000000 /* ... running at 33.000000MHz */ +/* + * Valid values for CONFIG_SYS_TEXT_BASE are: + * 0xFFF00000	boot high (standard configuration) + * 0xFF000000	boot low for 16 MiB boards + * 0xFF800000	boot low for  8 MiB boards + * 0x00100000	boot from RAM (for testing only) + */ +#ifndef CONFIG_SYS_TEXT_BASE +#define	CONFIG_SYS_TEXT_BASE	0xFFF00000 +#endif -#define BOOTFLAG_COLD		0x01	/* Normal Power-On: Boot from FLASH  */ -#define BOOTFLAG_WARM		0x02	/* Software reboot	     */ +#define CONFIG_SYS_MPC5XXX_CLKIN	33000000 /* ... running at 33.000000MHz */  #define CONFIG_HIGH_BATS	1	/* High BATs supported */ @@ -122,11 +130,11 @@  #endif -#if (TEXT_BASE == 0xFF000000)		/* Boot low with 16 MB Flash */ +#if (CONFIG_SYS_TEXT_BASE == 0xFF000000)		/* Boot low with 16 MB Flash */  #   define CONFIG_SYS_LOWBOOT	        1  #   define CONFIG_SYS_LOWBOOT16	1  #endif -#if (TEXT_BASE == 0xFF800000)		/* Boot low with  8 MB Flash */ +#if (CONFIG_SYS_TEXT_BASE == 0xFF800000)		/* Boot low with  8 MB Flash */  #if defined(CONFIG_LITE5200B)  #   error CONFIG_SYS_LOWBOOT08 is incompatible with the Lite5200B  #else @@ -274,7 +282,7 @@  #define CONFIG_SYS_GBL_DATA_OFFSET	(CONFIG_SYS_INIT_RAM_END - CONFIG_SYS_GBL_DATA_SIZE)  #define CONFIG_SYS_INIT_SP_OFFSET	CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_BASE    TEXT_BASE +#define CONFIG_SYS_MONITOR_BASE    CONFIG_SYS_TEXT_BASE  #if (CONFIG_SYS_MONITOR_BASE < CONFIG_SYS_FLASH_BASE)  #   define CONFIG_SYS_RAMBOOT		1  #endif |