On Wed Jan 11, 2012 at 07:50:50PM +0100, Marek Vasut wrote: > > On Wed Jan 11, 2012 at 04:01:31PM +0100, Marek Vasut wrote: > > > > More so, given the fact that we don't have any control over > > > > rbl -- so if rbl changes it's layout for any subsequent board, we'd > > > > have to add that as well to the nand driver, and both in u-boot as > > > > well as the kernel. > > > > > > > > I guess the cleanest solution would have been for the rbl to have > > > > used the same layout as the one used by u-boot and linux. > > > > > > Yep, why not do that then? > > > > Because rbl is a proprietary bootloader from TI. > > Don't we actually have replacement bootloader in uboot already ? You don't > need > xloader with uboot anymore I think.
No, this rbl resides in the rom area on the SOC and cannot be done away with. > > > > > > Btw, can you please review this change, that this patch > > > > fixes. ACK/NAK? > > > > > > I'll think about it. It's ok, but it piles one workaround on top of > > > another one, I don't like that approach. > > > > Flushing the data cache before disabling it is not a workaround, > > it's a fix. The current code is invalidating the cache instead of > > flushing it. > > Ok, but I'd like to see proper solution eventually. I think patch holds true irrespective of whether we rbl boots spl, or u-boot. -sughosh _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot