On Wed, May 06, 2015 at 07:20:20AM +0100, Ben Hewson wrote: > Hi Fabio, > > Sorry, kind of got side tracked a bit. > > Tom, in response to SATA off a PCI bus, that was my main concern with > just adding a SATA init. However after looking through the code I have > noticed that there is a CONFIG_SYS_EARLY_PCI_INIT which if declared > will call initr_pci before my initr_sata. Ho ever this got me to > thinking, would it be better to have someting like > CONFIG_SYS_EARLY_SATA_INIT and do > > > #if defined(CONFIG_CMD_SATA) && defined(CONFIG_SYS_EARLY_SATA_INIT) > initr_sata, > #endif
Hmmm. I would condition it on CONFIG_CMD_SATA && CONFIG_ENV_IS_IN_SATA to start with and if we somehow have another early use for SATA we can always revisit. > Or is this just being too complicated. Is there a file some place > listing all of the various CONFIG_XXX and CONFIG_SYS_XXX ? There is not. Thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot