X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cpu%2Fmcf52x2%2Fstart.S;h=7c9a7d2d2bd786939eb6b7db127e1481f54fd897;hb=f2b07ebd32e42a5b1126c98efc768ddb8908de62;hp=8a83ca5ef7dd933b0ec0e8185892eabb86fcd558;hpb=f1f33de3321f6e6cf882ad7be0f5569234199aef;p=oweals%2Fu-boot.git diff --git a/cpu/mcf52x2/start.S b/cpu/mcf52x2/start.S index 8a83ca5ef7..7c9a7d2d2b 100644 --- a/cpu/mcf52x2/start.S +++ b/cpu/mcf52x2/start.S @@ -144,6 +144,7 @@ _start: move.l #(CFG_INIT_RAM_ADDR + 0x21), %d0 movec %d0, %RAMBAR1 +#if defined(CONFIG_M5282) #if (TEXT_BASE == CFG_INT_FLASH_BASE) /* Setup code in SRAM to initialize FLASHBAR, if start from internal Flash */ @@ -170,6 +171,7 @@ _after_flashbar_copy: movec %d0, %RAMBAR0 #endif /* (TEXT_BASE == CFG_INT_FLASH_BASE) */ +#endif #endif /* if we come from a pre-loader we have no exception table and * therefore no VBR to set