summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-07-01 09:44:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-07-02 08:19:15 +0200
commit41360d55591812c7e916c960aab071e70739867d (patch)
tree54fb40f16a05996d9b5d1d755eed8fc7337e7873
parent5c0e43c3e81b5326a146725933212ec82018fdce (diff)
downloadbarebox-41360d55591812c7e916c960aab071e70739867d.tar.gz
barebox-41360d55591812c7e916c960aab071e70739867d.tar.xz
mips: reloc: remove outdated comment
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/mips/lib/reloc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/mips/lib/reloc.c b/arch/mips/lib/reloc.c
index 14ba6167dd..9a9e404f7e 100644
--- a/arch/mips/lib/reloc.c
+++ b/arch/mips/lib/reloc.c
@@ -106,17 +106,6 @@ static void apply_reloc(unsigned int type, void *addr, long off)
}
}
-/**
- * relocate_code() - Relocate Barebox, generally from flash to DDR
- * @start_addr_sp: new stack pointer
- * @new_gd: pointer to relocated global data
- * @relocaddr: the address to relocate to
- *
- * Relocate Barebox from its current location (generally in flash) to a new one
- * (generally in DDR). This function will copy the Barebox binary & apply
- * relocations as necessary, then jump to board_init_r in the new build of
- * Barebox. As such, this function does not return.
- */
void relocate_code(void *fdt, u32 fdt_size, u32 ram_size)
{
unsigned long addr, length, bss_len;