summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBecky Bruce <beckyb@kernel.crashing.org>2009-02-02 16:34:52 -0600
committerWolfgang Denk <wd@denx.de>2009-02-10 00:26:03 +0100
commitb81b773ead0687114dc8a800f99ea6e504447739 (patch)
tree95a18dc1ffbcedc7d6b11fb577391f213d6f9ff6
parentf8306cb94f59ae2ace5bfede189944d329e5abb3 (diff)
downloadu-boot-imx-b81b773ead0687114dc8a800f99ea6e504447739.zip
u-boot-imx-b81b773ead0687114dc8a800f99ea6e504447739.tar.gz
u-boot-imx-b81b773ead0687114dc8a800f99ea6e504447739.tar.bz2
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 <beckyb@kernel.crashing.org>
-rw-r--r--include/configs/MPC8641HPCN.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 5a83296..ceb8e54 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 */