summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
diff options
context:
space:
mode:
authorGraeme Russ <gruss@tss-engineering.com>2015-01-25 01:07:51 (GMT)
committerStefano Babic <sbabic@denx.de>2015-02-10 11:48:49 (GMT)
commit950eaf6230496585e72ebb965c458d35c6c7eac1 (patch)
tree2b3f69dcfa1999147437218a185a4c8905a23667 /arch/arm/cpu/arm926ejs/mxs/spl_boot.c
parente8cdeefc222ff32a80282dd571be0426156cd9d9 (diff)
downloadu-boot-950eaf6230496585e72ebb965c458d35c6c7eac1.tar.xz
arm: mxs: Add debug outputs and comments to mxs SPL source files
It is difficult to track down fail to boot issues in the mxs SPL. Implement the following to make it easier: - Add debug outputs to allow tracing of SPL progress in order to track where failure to boot occurs. DEUBUG and CONFIG_SPL_SERIAL_SUPPORT must be defined to enable debug output in SPL - Add TODO comments where it is not clear if the code is doing what it is meant to be doing, even tough the board boots properly (these comments refer to existing code, not to any code added by this patch) Signed-off-by: Graeme Russ <gruss@tss-engineering.com>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/mxs/spl_boot.c')
-rw-r--r--arch/arm/cpu/arm926ejs/mxs/spl_boot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
index d29b9aa..2a5f817 100644
--- a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
+++ b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
@@ -147,6 +147,7 @@ void mxs_common_spl_init(const uint32_t arg, const uint32_t *resptr,
mxs_iomux_setup_multiple_pads(iomux_setup, iomux_size);
mxs_spl_console_init();
+ debug("SPL: Serial Console Initialised\n");
mxs_power_init();