[U-Boot] [PATCH 08/10] ARM: highbank: setup peripherals based on power domain status

Tom Rini
2013-05-16T15:48:36Z

On Wed, May 15, 2013 at 02:56:14PM -0500, Rob Herring wrote:

> From: Rob Herring <rob.herring@calxeda.com>
>
> 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: <http://lists.denx.de/pipermail/u-boot/attachments/20130516/88fc6577/attachment.pgp>