From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 16 May 2013 11:48:36 -0400 Subject: [U-Boot] [PATCH 08/10] ARM: highbank: setup peripherals based on power domain status In-Reply-To: <1368647776-12940-8-git-send-email-robherring2@gmail.com> References: <1368647776-12940-1-git-send-email-robherring2@gmail.com> <1368647776-12940-8-git-send-email-robherring2@gmail.com> Message-ID: <20130516154836.GL32163@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, May 15, 2013 at 02:56:14PM -0500, Rob Herring wrote: > From: Rob Herring > > Accessing powered down peripherals will hang the bus, so check power > domain status before initializing SATA and fixup the FDT to disable > unused peripherals. [snip] > - ahci_init(0xffe08000); > - scsi_scan(1); > + if (reg & PWRDOM_STAT_SATA) { > + ahci_init(0xffe08000); > + scsi_scan(1); > + } Define the magic value to something while you're in here cleaning up please, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: