On Tue, Aug 16, 2011 at 09:13:31PM +0100, Daniel Drake wrote: > On Mon, Aug 15, 2011 at 10:59 PM, James Cameron <qu...@laptop.org> wrote: > > Address of SDIO controller in the SoC. ?See show-devs for others. > > Plausible that a different model of SoC might eventually have a > > different value, but I don't expect that soon. > > > > You might parse out and ignore the bit between @ and /. > > One of the main reasons we parse bootpath is to figure out which SD > bus we are booting from (i.e. internal/external SD card).
Yes. > The address presumably changes for internal vs external, as it does on > x86. Not so. XO-1.75 ok dev int ok pwd /sd@d4280000/disk@3 ok dev ext ok pwd /sd@d4280000/disk@1 <-- unchanged address ok XO-1.5 ok dev int ok pwd /pci/sd@c/disk@3 ok dev ext ok pwd /pci/sd@c/disk@1 <-- unchanged address ok XO-1 ok dev int ok pwd /pci/nandflash@c ok dev ext ok pwd /pci/sd@c,1/disk@1 ok > So it should be parsed and not ignored. I don't think olpc-configure should rely on d4280000 being in the string, but I don't expect it to change. I think disk@3 and disk@1 should be checked for, ignoring the other text. -- James Cameron http://quozl.linux.org.au/ _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel