From: Ian Campbell Date: Mon, 21 Jul 2014 19:23:18 +0100 Subject: [U-Boot] [PATCH 2/3] board_r: run scsi init() on ARM too In-Reply-To: References: <1405712297.26270.16.camel@hastur.hellion.org.uk> <1405712321-12334-2-git-send-email-ijc@hellion.org.uk> Message-ID: <1405966998.27009.53.camel@dagon.hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2014-07-18 at 21:12 -0600, Simon Glass wrote: > Hi Ian, > > On 18 July 2014 13:38, Ian Campbell wrote: > > > > This has been disabled for ARM in initr_scsi since that function was > > introduced. However it works fine for me on Cubieboard and Cubietruck (with the > > upcoming AHCI glue patch). > > > > I also tested on two random ARM platforms which seem to define CONFIG_CMD_SCSI: > > - highbank worked fine (on midway hardware) > > - omap5_uevm built OK and I confirmed using objdump that things were as > > expected (i.e. the default weak scsi_init nop was used). > > > > While there remove the mismatched comment from the #endif (omitting the comment > > seems to be the prevailing style in this file) and add a missing return to > > initr_doc which I happened to spot while editing. > > That's great, but I think the latter should be a separate patch. I've just sent that out. So here is v3 of this patch. I noticed that you acked v1 and I failed to pick that up so I've taken the liberty of adding it here after removing the initr_doc change -- I hope that was OK. 8<-------------------------