On 03/20/2012 05:33 PM, Simon Glass wrote: ... > We cannot select the UART via CONFIG - remember that all of these > boards have the same U-Boot binary. Please read that again :-) The > device tree is the only thing that distinguishes them. All of the > CONFIG options are identical for all boards.
I don't agree that all the boards have the same U-Boot binary. At present, there are about 6 Tegra boards in mainline U-Boot all with different binaries. Even with DT, I don't see anything wrong with having the low-level init code parameterized and built per board (e.g. debug UART), but all the higher level devices initialized/configured from device tree (e.g. I2C, MMC, USB). Even if the binary result from the boot process is identical, but we did something like I proposed a few emails back to inject the correct UART ID into an initially common binary, you still get left with different binaries per board, in terms of what you're actually flashing onto the board. (yes, I'd be interested in seeing the SPL code you mentioned) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot