summaryrefslogtreecommitdiff
path: root/board/trab/trab_fkt.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-12-16 16:22:50 +0100
committerWolfgang Denk <wd@denx.de>2008-12-16 16:22:50 +0100
commit6cdadcb3f1b6eac4a1c4256acaa1438413f95351 (patch)
treefa6d04602987dbac1dfa46d58a08a9a436612738 /board/trab/trab_fkt.c
parent89d56f5503eed351efe5ab0b4dd0f1e888fd2336 (diff)
downloadu-boot-imx-6cdadcb3f1b6eac4a1c4256acaa1438413f95351.zip
u-boot-imx-6cdadcb3f1b6eac4a1c4256acaa1438413f95351.tar.gz
u-boot-imx-6cdadcb3f1b6eac4a1c4256acaa1438413f95351.tar.bz2
trab: make trab_fkt standalone code independent of libgcc
Use our own local functions in lib_arm/ instead. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/trab/trab_fkt.c')
-rw-r--r--board/trab/trab_fkt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/trab/trab_fkt.c b/board/trab/trab_fkt.c
index 93b9490..53cdb5a 100644
--- a/board/trab/trab_fkt.c
+++ b/board/trab/trab_fkt.c
@@ -294,6 +294,12 @@ int trab_fkt (int argc, char *argv[])
return 1;
}
+void hang (void)
+{
+ puts ("### ERROR ### Please RESET the board ###\n");
+ for (;;);
+}
+
int do_info (void)
{
printf ("Stand-alone application for TRAB board function test\n");