
16 May
2013
16 May
'13
5:48 p.m.
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