From 8ed74341ba5c54751e209f571002e5b967abf176 Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Tue, 8 Mar 2011 10:47:39 +0100 Subject: 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 Signed-off-by: Heiko Schocher Acked-by: Kim Phillips cc: Kim Phillips cc: Wolfgang Denk cc: Valentin Longchamp --- board/keymile/common/common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'board/keymile/common') diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index 8564b9c..2d0aee9 100644 --- a/board/keymile/common/common.c +++ b/board/keymile/common/common.c @@ -562,7 +562,8 @@ int fdt_get_node_and_value(void *blob, #if !defined(MACH_TYPE_KM_KIRKWOOD) int ethernet_present(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; return in_8(&base->bprth) & PIGGY_PRESENT; } -- cgit v1.1