summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8641hpcn
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-11-05 14:55:32 -0600
committerJon Loeliger <jdl@freescale.com>2008-11-10 10:10:03 -0600
commit170deacb1ddc39164bdb68f3963e0c0456a5369b (patch)
tree3023b18f742a4f8b3d14117f423fd8400f37434f /board/freescale/mpc8641hpcn
parent0f2d66027bfc60dc7eea2f096af8891988c5abe4 (diff)
downloadu-boot-imx-170deacb1ddc39164bdb68f3963e0c0456a5369b.zip
u-boot-imx-170deacb1ddc39164bdb68f3963e0c0456a5369b.tar.gz
u-boot-imx-170deacb1ddc39164bdb68f3963e0c0456a5369b.tar.bz2
mpc8641: Drop imaginary second flash bank, map 8MB
There's a lot of setup and foo for the second flash bank. The problem is, this board doesn't actually have one. Clean this up. Also, the flash is 8M in size. Get rid of the confusing aliased overmapping, and just map 8M. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'board/freescale/mpc8641hpcn')
-rw-r--r--board/freescale/mpc8641hpcn/law.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc8641hpcn/law.c b/board/freescale/mpc8641hpcn/law.c
index 1ad186c..8ec5238 100644
--- a/board/freescale/mpc8641hpcn/law.c
+++ b/board/freescale/mpc8641hpcn/law.c
@@ -58,7 +58,7 @@ struct law_entry law_table[] = {
SET_LAW(CONFIG_SYS_RIO_MEM_PHYS, LAW_SIZE_512M, LAW_TRGT_IF_RIO),
#endif
SET_LAW(PIXIS_BASE, LAW_SIZE_2M, LAW_TRGT_IF_LBC),
- SET_LAW((CONFIG_SYS_FLASH_BASE & 0xfe000000), LAW_SIZE_32M, LAW_TRGT_IF_LBC),
+ SET_LAW(CONFIG_SYS_FLASH_BASE, LAW_SIZE_8M, LAW_TRGT_IF_LBC),
};
int num_law_entries = ARRAY_SIZE(law_table);