]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - nand_spl/nand_boot.c
Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE
[karo-tx-uboot.git] / nand_spl / nand_boot.c
index 0580dbf47c24289de2aee9bea0b851858550c6a4..4d6db14abe562bb369a7a44c2aae0c2329f3533c 100644 (file)
@@ -224,7 +224,7 @@ static int nand_load(struct mtd_info *mtd, unsigned int offs,
 #if defined(CONFIG_ARM) && !defined(CONFIG_SYS_ARM_WITHOUT_RELOC)
 void board_init_f (ulong bootflag)
 {
-       relocate_code (TEXT_BASE - TOTAL_MALLOC_LEN, NULL, TEXT_BASE);
+       relocate_code (CONFIG_SYS_TEXT_BASE - TOTAL_MALLOC_LEN, NULL, TEXT_BASE);
 }
 #endif