From: Becky Bruce Date: Mon, 2 Feb 2009 22:34:52 +0000 (-0600) Subject: mpc8641hpcn: Use physical address in flash banks defintion X-Git-Tag: v2009.03-rc1~108 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b81b773ead0687114dc8a800f99ea6e504447739;p=u-boot mpc8641hpcn: Use physical address in flash banks defintion If the VA and PA of the flash aren't the same, the banks list should be initialized to hold the physical address. Correct this. Signed-off-by: Becky Bruce --- diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h index 5a832961c2..ceb8e546bd 100644 --- a/include/configs/MPC8641HPCN.h +++ b/include/configs/MPC8641HPCN.h @@ -186,7 +186,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); #define CONFIG_SYS_FLASH_BASE_PHYS (CONFIG_SYS_FLASH_BASE \ | CONFIG_SYS_PHYS_ADDR_HIGH) -#define CONFIG_SYS_FLASH_BANKS_LIST {CONFIG_SYS_FLASH_BASE} +#define CONFIG_SYS_FLASH_BANKS_LIST {CONFIG_SYS_FLASH_BASE_PHYS} #define CONFIG_SYS_BR0_PRELIM (BR_PHYS_ADDR(CONFIG_SYS_FLASH_BASE_PHYS) \ | 0x00001001) /* port size 16bit */