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

Wolfgang Denk wd at denx.de
Fri Sep 25 01:20:20 CEST 2009


Dear Heiko Schocher,

In message <4AB9B878.1080702 at denx.de> you wrote:
> U-Boot can detect if an IDE device is present or not.
> If not, and this new config option is activated, U-Boot
> removes the ATA node from the DTS before booting Linux,
> so the Linux IDE driver does not probe the device and
> crash. This is needed for buggy hardware (uc101) where
> no pull down resistor is connected to the signal IDE5V_DD7.
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>
> ---
> 
> changes since v1:
> - added comment from Wolfgang Denk, to move this to a more
>   common place, so others can also use it, and made it
>   therefore per CONFIG_OF_IDE_FIXUP selectable.
> 
> changes since v2:
> - add CONFIG_OF_IDE_FIXUP to mpc5200-common.h
> 
> changes since v3:
> - correct spelling in README and commit message, as
>   Detlev Zundel suggested
> 
> changes since v4:
> - added comments from Stefan Roese
>   Coding Style corrections
>   do not longer include the global variable, instead
>   call ide_device_present()
> - added comment from Jerry Van Baren
>   correct README entry
> 
> changes since v5:
>   delete ata node if !ide_device_present() instead
>   of ide_device_present()
> 
>  README                                     |    9 +++++++++
>  common/cmd_ide.c                           |    8 ++++++++
>  cpu/mpc5xxx/cpu.c                          |   20 ++++++++++++++++++++
>  include/configs/manroland/mpc5200-common.h |    1 +
>  include/ide.h                              |    3 +++
>  5 files changed, 41 insertions(+), 0 deletions(-)

Applied, thanks.

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
Computers are not intelligent.  They only think they are.


More information about the U-Boot mailing list