]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: mxs: Add 'Wait for JTAG user' if booted in JTAG mode
authorGraeme Russ <gruss@tss-engineering.com>
Sun, 25 Jan 2015 01:07:53 +0000 (12:07 +1100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:37:12 +0000 (13:37 +0200)
commit2cc52030ce00a2d728b2f95d463580396b85531e
tree306221b3d91a51bd1d1c9c5762813bd940f416d4
parentf6b67205c1477a208851e5b86789a457bfb4933f
arm: mxs: Add 'Wait for JTAG user' if booted in JTAG mode

When booting in JTAG mode, there is no way to use soft break-points, and
no way of knowing when SPL has finished executing (so the user can issue
a 'halt' command to load u-boot.bin for example)

Add a debug output and simple loop to stop execution at the completion of
the SPL initialisation as a pseudo break-point when booting in JTAG mode

Signed-off-by: Graeme Russ <gruss@tss-engineering.com>
arch/arm/cpu/arm926ejs/mxs/spl_boot.c
arch/arm/include/asm/arch-mxs/sys_proto.h