aboutsummaryrefslogtreecommitdiff
path: root/arch/nds32
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:45 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 13:26:49 -0500
commit941338725d339c233379def75adeaa0977587a96 (patch)
treebcc3b3f8296c954690fa5ff2cd4bdf9a69467abc /arch/nds32
parent1444998230824ac9e95c14073a00e99e59b78ed8 (diff)
downloadu-boot-941338725d339c233379def75adeaa0977587a96.zip
u-boot-941338725d339c233379def75adeaa0977587a96.tar.gz
u-boot-941338725d339c233379def75adeaa0977587a96.tar.bz2
common: Move relocate_code() to init.h
This is an init function so move it out of the common header. Avoid using the typedef so that we don't have to include the global_data header file. Also tidy up the function style in comments while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/cpu/n1213/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/cpu/n1213/start.S b/arch/nds32/cpu/n1213/start.S
index 6918881..386c199 100644
--- a/arch/nds32/cpu/n1213/start.S
+++ b/arch/nds32/cpu/n1213/start.S
@@ -223,7 +223,7 @@ call_board_init_f:
j board_init_f ! jump to board_init_f() in lib/board.c
/*
- * void relocate_code (addr_sp, gd, addr_moni)
+ * void relocate_code(addr_sp, gd, addr_moni)
*
* This "function" does not return, instead it continues in RAM
* after relocating the monitor code.