Dear Stephen Warren, In message <1355354590-10023-1-git-send-email-swar...@wwwdotorg.org> you wrote: > From: Stephen Warren <swar...@nvidia.com> > > A single U-Boot binary may support multiple very similar boards. These > boards may use different UARTs for the main debug console. Hence, it is > impossible to #define CONFIG_SYS_NS16550_COM1 to some static UART > address, since the true value may only be determined at run-time, after > identifying the actual hardware. Provide an API for boards to call to > set the actual address of the UART, e.g. from spl_board_init() or > board_early_init_f(). > > Signed-off-by: Stephen Warren <swar...@nvidia.com>
As is, this is just adding dead code. Where would the device addresses come from - out of the device tree? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de "We learn from history that we learn nothing from history." - George Bernard Shaw _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot