Skip to content
Snippets Groups Projects
Commit 8a10180d authored by Luka Perkov's avatar Luka Perkov Committed by Tom Rini
Browse files

ide: Correct IDE_BUS(dev) macro

The IDE_BUS(dev) macro was previously doing dev >> 1.  This however is a
mis-match of the usage in common/cmd_ide.c and would cause boards with
multiple ports / devices to not correctly detect all devices.  For more
details please see:
http://lists.denx.de/pipermail/u-boot/2012-April/122525.html



[Tom Rini: Reword commit message only]

Tested-by: default avatarLuka Perkov <uboot@lukaperkov.net>
Signed-off-by: default avatarSimon Baatz <gmbnomis@gmail.com>
Signed-off-by: default avatarTom Rini <trini@ti.com>
parent 633efe9c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment