[U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection

Wolfgang Denk wd at denx.de
Wed May 4 22:01:22 CEST 2011


Dear Holger Brunck,

In message <1295951175-3635-1-git-send-email-holger.brunck at keymile.com> you wrote:
> From: Andreas Huber <andreas.huber at keymile.com>
> 
> This reads the DIP switch on mgcoge. The DIP switch is connected to
> the BFTICU (0x40000089) FPGA. If the DIP switch is set the environment
> variable 'actual_bank' is set to 0 and starts the SW in bank0.
> 
> Signed-off-by: Andreas Huber <andreas.huber at keymile.com>
> Signed-off-by: Holger Brunck <holger.brunck at keymile.com>
> ---
>  board/keymile/mgcoge/mgcoge.c |   18 ++++++++++++++++++
>  include/configs/mgcoge.h      |    5 +++++
>  2 files changed, 23 insertions(+), 0 deletions(-)

This patch breaks compiling of the  mgcoge2ne  board:

Configuring for mgcoge2ne board...
mgcoge.c: In function 'last_stage_init':
mgcoge.c:305: error: 'CONFIG_SYS_BFTICU_BASE' undeclared (first use in this function)
mgcoge.c:305: error: (Each undeclared identifier is reported only once
mgcoge.c:305: error: for each function it appears in.)


Please fix.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
ADVISORY:  There is  an  Extremely Small  but  Nonzero  Chance  That,
Through a Process Know as "Tunneling," This Product May Spontaneously
Disappear  from Its Present Location and Reappear at Any Random Place
in the Universe, Including Your Neighbor's Domicile. The Manufacturer
Will Not Be Responsible for Any Damages  or  Inconvenience  That  May
Result.


More information about the U-Boot mailing list