[U-Boot] [PATCH] IDE: Don't assume there are always two devices per bus

Rogan Dawes
2010-09-06T06:03:46Z

On 2010/09/06 7:54 AM, Albert ARIBAUD wrote:
> /* OpenRD's two kirkwood busses are SATA: 1 device per bux max) */
> #define CONFIG_SYS_ATA_IDE_CONFIG { \
> { KW_SATA_PORT0_OFFSET, 1}, \
> { KW_SATA_PORT1_OFFSET, 1} \
> }
>

I like this, as it removes assumptions from the code.

FWIW.

Rogan