[U-Boot] [PATCH 08/10] ARM: highbank: setup peripherals based on power domain status
Tom Rini
trini at ti.com
Thu May 16 17:48:36 CEST 2013
On Wed, May 15, 2013 at 02:56:14PM -0500, Rob Herring wrote:
> From: Rob Herring <rob.herring at 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>
More information about the U-Boot
mailing list