diff options
Diffstat (limited to 'include/configs/MPC8544DS.h')
| -rw-r--r-- | include/configs/MPC8544DS.h | 24 | 
1 files changed, 10 insertions, 14 deletions
| diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h index 180458249..0b69885fc 100644 --- a/include/configs/MPC8544DS.h +++ b/include/configs/MPC8544DS.h @@ -34,6 +34,10 @@  #define CONFIG_MPC8544		1  #define CONFIG_MPC8544DS	1 +#ifndef CONFIG_SYS_TEXT_BASE +#define CONFIG_SYS_TEXT_BASE	0xfff80000 +#endif +  #define CONFIG_PCI		1	/* Enable PCI/PCIE */  #define CONFIG_PCI1		1	/* PCI controller 1 */  #define CONFIG_PCIE1		1	/* PCIE controler 1 (slot 1) */ @@ -154,7 +158,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);  #define CONFIG_SYS_FLASH_WRITE_TOUT	500		/* Flash Write Timeout (ms) */  #define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */ -#define CONFIG_SYS_MONITOR_BASE	TEXT_BASE	/* start of monitor */ +#define CONFIG_SYS_MONITOR_BASE	CONFIG_SYS_TEXT_BASE	/* start of monitor */  #define CONFIG_FLASH_CFI_DRIVER  #define CONFIG_SYS_FLASH_CFI @@ -451,14 +455,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);   */  #define CONFIG_SYS_BOOTMAPSZ	(16 << 20)	/* Initial Memory map for Linux*/ -/* - * Internal Definitions - * - * Boot Flags - */ -#define BOOTFLAG_COLD	0x01		/* Normal Power-On: Boot from FLASH */ -#define BOOTFLAG_WARM	0x02		/* Software reboot */ -  #if defined(CONFIG_CMD_KGDB)  #define CONFIG_KGDB_BAUDRATE	230400	/* speed to run kgdb serial port */  #define CONFIG_KGDB_SER_INDEX	2	/* which serial port to use */ @@ -498,11 +494,11 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);   "netdev=eth0\0"						\   "uboot=" MK_STR(CONFIG_UBOOTPATH) "\0"				\   "tftpflash=tftpboot $loadaddr $uboot; "			\ -	"protect off " MK_STR(TEXT_BASE) " +$filesize; "	\ -	"erase " MK_STR(TEXT_BASE) " +$filesize; "		\ -	"cp.b $loadaddr " MK_STR(TEXT_BASE) " $filesize; "	\ -	"protect on " MK_STR(TEXT_BASE) " +$filesize; "		\ -	"cmp.b $loadaddr " MK_STR(TEXT_BASE) " $filesize\0"	\ +	"protect off " MK_STR(CONFIG_SYS_TEXT_BASE) " +$filesize; "	\ +	"erase " MK_STR(CONFIG_SYS_TEXT_BASE) " +$filesize; "		\ +	"cp.b $loadaddr " MK_STR(CONFIG_SYS_TEXT_BASE) " $filesize; "	\ +	"protect on " MK_STR(CONFIG_SYS_TEXT_BASE) " +$filesize; "		\ +	"cmp.b $loadaddr " MK_STR(CONFIG_SYS_TEXT_BASE) " $filesize\0"	\   "consoledev=ttyS0\0"				\   "ramdiskaddr=2000000\0"			\   "ramdiskfile=8544ds/ramdisk.uboot\0"		\ |