[U-Boot] [PATCH 2/2] mucmc52, uc101: delete ata at 3a00 node, if no CF card is detected

Heiko Schocher hs at denx.de
Wed Sep 9 11:12:12 CEST 2009


Hello Wolfgang,

Wolfgang Denk wrote:
> In message <4AA755D4.1020207 at denx.de> you wrote:
>> Signed-off-by: Heiko Schocher <hs at denx.de>
>> ---
>>  board/mucmc52/mucmc52.c |   15 +++++++++++++++
>>  board/uc101/uc101.c     |   15 +++++++++++++++
>>  2 files changed, 30 insertions(+), 0 deletions(-)
> 
> Hmm... that looks like duplicated identical code to me. Maybe we can
> move this into a central location instead?

Hmm.. you are right, maybe cpu/mpc5xxx/cpu.c ft_cpu_setup() is
a better place for it. And we can activate this through an
CONFIG_OF_IDE_FIXUP define.

Comments?

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list