[U-Boot] mx23_olinuxino: Fix netboot console

Submitted by Alexandre Pereira da Silva on March 26, 2013, 4:23 a.m.

Details

Message ID 1364271825-29741-1-git-send-email-aletes.xgr@gmail.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Alexandre Pereira da Silva March 26, 2013, 4:23 a.m.
The netargs variable was referencing the non-existing variable
console_mainline. Change that to console variable instead.

Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
---
 include/configs/mx23_olinuxino.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Otavio Salvador March 26, 2013, 11:32 a.m.
On Tue, Mar 26, 2013 at 1:23 AM, Alexandre Pereira da Silva
<aletes.xgr@gmail.com> wrote:
> The netargs variable was referencing the non-existing variable
> console_mainline. Change that to console variable instead.
>
> Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

Thanks by spotting it, it is clearly a fix. I have added Stefano to CC
list so he can process it to imx tree.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

Patch hide | download patch | download mbox

diff --git a/include/configs/mx23_olinuxino.h b/include/configs/mx23_olinuxino.h
index 03893d7..3e0f784 100644
--- a/include/configs/mx23_olinuxino.h
+++ b/include/configs/mx23_olinuxino.h
@@ -227,7 +227,7 @@ 
 		"else " \
 			"bootm; " \
 		"fi;\0" \
-	"netargs=setenv bootargs console=${console_mainline},${baudrate} " \
+	"netargs=setenv bootargs console=${console},${baudrate} " \
 		"root=/dev/nfs " \
 		"ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \
 	"netboot=echo Booting from net ...; " \