
Dear Fabio Estevam,
In message 1343762513-5574-1-git-send-email-fabio.estevam@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