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

> From: Rob Herring <[email protected]>
> 
> 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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to