On Thursday 11 December 2008 19:15:06 Scott Wood wrote: > Mike Frysinger wrote: > > On Thursday 11 December 2008 18:53:00 Wolfgang Denk wrote: > >> And if they do, the code should fail gracefully, i. e. print some > >> friendly error message like that S-ATA is not available. > > > > in this case, i think that's up to the controller. i.e. the controller > > doesnt find anything and you get a message that nothing was found. > > > > i dont have a board to test with to know what will happen exactly, nor > > does the current code make any statement that i can see. Scott ? > > IIUC, if it's "not available" the driver will still see the controller > regs, but it will be trying to control pins that are actually routed to > another device. That said, it should be the driver calling into > SoC-specific code to find out, rather than a global SATA-blocker (what > if a PCIe SATA card were used?).
i agree with that sentiment, but i'm not about to take on that restructure ;) -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot