From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rogan Dawes Date: Mon, 06 Sep 2010 08:03:46 +0200 Subject: [U-Boot] [PATCH] IDE: Don't assume there are always two devices per bus In-Reply-To: <4C848200.7080401@free.fr> References: <20100815213046.A427B1606A5@gemini.denx.de> <1281937660-25632-2-git-send-email-user@aphrodite> <4C76691D.9070701@dawes.za.net> <4C8201CB.9080606@free.fr> <20100905221935.ACE1E1506AA@gemini.denx.de> <4C848200.7080401@free.fr> Message-ID: <4C848442.3010305@dawes.za.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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