X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fboard_f.c;h=7ef20f204231335088c0c8ec7f191987d7416b09;hb=3ee8d913283f724dbf9401088decee806246b6db;hp=149a7229e8fa982d53ce003c67ddb2db7d45e2e1;hpb=d94604d558cda9f89722c967d6f8d6269a2db21c;p=oweals%2Fu-boot.git diff --git a/common/board_f.c b/common/board_f.c index 149a7229e8..7ef20f2042 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -714,7 +714,7 @@ static int setup_reloc(void) * just after the default vector table location, so at 0x400 */ gd->reloc_off = gd->relocaddr - (CONFIG_SYS_TEXT_BASE + 0x400); -#else +#elif !defined(CONFIG_SANDBOX) gd->reloc_off = gd->relocaddr - CONFIG_SYS_TEXT_BASE; #endif #endif