On 05/29/2012 03:47 PM, Lucas Stach wrote: > The RAM configuration is set by the bootrom to values specified by the BCT. > To query the available RAM size of a board we can easily read back those > values instead of using the hardcoded ODMdata. This allows for a single > u-boot image on similar boards with different amount of RAM.
While this probably works fine (although I didn't read it in detail), the boot protocol is defined to work a little differently. U-Boot is supposed to read the BCT/BIT from the IRAM, and program PMC_SCRATCH20 with the ODMDATA, and then the rest of the bootloader and kernel can continue to use the fields in the ODMDATA as they currently do. Tom, you wrote commit f22c431 "arm: Tegra: Use ODMDATA from BCT in IRAM" in our downstream tree for this. Are you planning on upstreaming it? _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot