Re: [U-Boot] [PATCH 04/15] km82xx, km83xx: move ethernet_present() from common to cpu specific

2013-01-18 Thread Holger Brunck
On 01/18/2013 01:23 AM, Kim Phillips wrote: On Thu, 17 Jan 2013 13:47:50 +0100 Holger Brunck holger.bru...@keymile.com wrote: +int piggy_present(void) +{ +struct km_bec_fpga *base = +(struct km_bec_fpga *)CONFIG_SYS_KMBEC_FPGA_BASE; + +return in_8(base-bprth)

Re: [U-Boot] [PATCH 04/15] km82xx, km83xx: move ethernet_present() from common to cpu specific

2013-01-18 Thread Kim Phillips
On Fri, 18 Jan 2013 09:07:32 +0100 Holger Brunck holger.bru...@keymile.com wrote: On 01/18/2013 01:23 AM, Kim Phillips wrote: On Thu, 17 Jan 2013 13:47:50 +0100 Holger Brunck holger.bru...@keymile.com wrote: +int piggy_present(void) +{ + struct km_bec_fpga *base = +

[U-Boot] [PATCH 04/15] km82xx, km83xx: move ethernet_present() from common to cpu specific

2013-01-17 Thread Holger Brunck
From: Karlheinz Jerg karlheinz.j...@keymile.com For kmvect1 we need a special solution and for km_arm boards we already have. So move the common code to the architectur specific file. Signed-off-by: Karlheinz Jerg karlheinz.j...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com

Re: [U-Boot] [PATCH 04/15] km82xx, km83xx: move ethernet_present() from common to cpu specific

2013-01-17 Thread Kim Phillips
On Thu, 17 Jan 2013 13:47:50 +0100 Holger Brunck holger.bru...@keymile.com wrote: +int piggy_present(void) +{ + struct km_bec_fpga *base = + (struct km_bec_fpga *)CONFIG_SYS_KMBEC_FPGA_BASE; + + return in_8(base-bprth) PIGGY_PRESENT; +} this change produces two new