]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: mxs: Add serial console support into SPL
authorMarek Vasut <marex@denx.de>
Wed, 19 Mar 2014 01:21:36 +0000 (02:21 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 1 Apr 2014 08:25:11 +0000 (10:25 +0200)
commit9926eb31b707cd7e769ab855186aa96ff7d5b7ff
treeafb8864442d77773325061249dd46a8add5ebcda
parent65ed5e85723e6e39312d287d9fc6c8f3cbd4f1af
arm: mxs: Add serial console support into SPL

Add support for serial console into the i.MX23/i.MX28 SPL. A full,
uncrippled serial console support comes very helpful when debugging
various spectacular hardware bringup issues early in the process.
Because we do not use SPL framework, but have our own minimalistic
SPL, which is compatible with the i.MX23/i.MX28 BootROM, we do not
use preloader_console_init(), but instead use a similar function to
start the console. Nonetheless, to avoid blowing up the size of the
SPL binary, this support is enabled only if CONFIG_SPL_SERIAL_SUPPORT
is defined, which is disabled by default.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm926ejs/mxs/spl_boot.c