
Dear Heiko Schocher,
In message 4AB9B878.1080702@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@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