summaryrefslogtreecommitdiff
path: root/board/keymile/km83xx/km83xx.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2011-03-08 10:47:39 +0100
committerWolfgang Denk <wd@denx.de>2011-04-30 00:45:07 +0200
commit8ed74341ba5c54751e209f571002e5b967abf176 (patch)
treecd832efa3ce5e6632652408408ba800c4a10e9e2 /board/keymile/km83xx/km83xx.c
parent1ebbb77a194788424e519955f6b04dda8aa7e625 (diff)
downloadu-boot-imx-8ed74341ba5c54751e209f571002e5b967abf176.zip
u-boot-imx-8ed74341ba5c54751e209f571002e5b967abf176.tar.gz
u-boot-imx-8ed74341ba5c54751e209f571002e5b967abf176.tar.bz2
ppc, 8321: cleanup tuxa1, tuda1 and suvd3 support
For the kmsupx5 a new header file was introduced km8321-common.h. Now the common stuff from tuxa1, tuda1 and suvd3 was removed and the new header file included. The defines CONFIG_SYS_PIGGY_BASE and CONFIG_SYS_PIGGY_SIZE are confusing. Because they actually describe the KMBEC FPGA values. The KMBEC FPGA can be PRIO on kmeter1 or upio on mgcoge. Therefore all the defines were renamed. remove unneeded variable CONFIG_KM_DEF_NETDEV, as it is already declared in keymile-common.h Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Kim Phillips <kim.phillips@freescale.com> cc: Kim Phillips <kim.phillips@freescale.com> cc: Wolfgang Denk <wd@denx.de> cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Diffstat (limited to 'board/keymile/km83xx/km83xx.c')
-rw-r--r--board/keymile/km83xx/km83xx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c
index 98aceef..f9186e8 100644
--- a/board/keymile/km83xx/km83xx.c
+++ b/board/keymile/km83xx/km83xx.c
@@ -134,7 +134,8 @@ const uint upma_table[] = {
int board_early_init_r(void)
{
- struct km_bec_fpga *base = (struct km_bec_fpga *)CONFIG_SYS_PIGGY_BASE;
+ struct km_bec_fpga *base =
+ (struct km_bec_fpga *)CONFIG_SYS_KMBEC_FPGA_BASE;
#if defined(CONFIG_SUVD3)
immap_t *immap = (immap_t *) CONFIG_SYS_IMMR;
fsl_lbc_t *lbc = &immap->im_lbc;