Dear Fabio Estevam, In message <1343762513-5574-1-git-send-email-fabio.este...@freescale.com> you wrote: > Define CONFIG_BOARD_LATE_INIT so that the serial console messages can be > redirected to the serial port. > > This is needed because in mx53loco.c we have: > > #ifdef CONFIG_BOARD_LATE_INIT > int board_late_init(void) > { > setenv("stdout", "serial"); > > return 0; > } > #endif
Why would that beneeded? And why must it be done mandatorily, without a chance for the user to configure different behaviour? Please feel fre to define defualt settings, but please always give the user an option to select different behaviour. This is what the environment variables are made for - if we would always sent them mandatorily in the code, we would nbot need any representation in the environment. 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 A failure will not appear until a unit has passed final inspection. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot