# HG changeset patch # User Mychaela Falconia # Date 1560920958 0 # Node ID cb0f52ffd94f2d1821747122cf877d2ebbbc83af # Parent a0f935d683777bcd7adf66236328058833518e26 gcc bootentry.S: same MEMIF change as in TMS470 version diff -r a0f935d68377 -r cb0f52ffd94f src/cs/system/main/gcc/bootentry.S --- a/src/cs/system/main/gcc/bootentry.S Wed Jun 19 04:38:43 2019 +0000 +++ b/src/cs/system/main/gcc/bootentry.S Wed Jun 19 05:09:18 2019 +0000 @@ -5,6 +5,7 @@ #include "asm_defs.h" #include "fc-target.h" +#include "rf.cfg" #if defined(FLASH) && !defined(CONFIG_TARGET_COMPAL) /* @@ -106,9 +107,18 @@ ENABLE_DU_MASK: .short 0xF7FF @ Mask to Enable the DU module MPU_CTL_RST: .short 0x0000 @ Reset value of MPU_CTL register - All protections disabled +@ FreeCalypso change, please see MEMIF-wait-states document +@ in the freecalypso-docs repository for the explanation. + +#if (RF_FAM == 12) +CS0_MEM_REG: .short 0x2a2 @ 1 Dummy Cycle 16 bit 2 WS SW BP enable +CS1_MEM_REG: .short 0x2a2 @ 1 Dummy Cycle 16 bit 2 WS SW BP enable +CS2_MEM_REG: .short 0x2a2 @ 1 Dummy Cycle 16 bit 2 WS SW BP enable +#else CS0_MEM_REG: .short 0x2a1 @ 1 Dummy Cycle 16 bit 1 WS SW BP enable CS1_MEM_REG: .short 0x2a1 @ 1 Dummy Cycle 16 bit 1 WS SW BP enable CS2_MEM_REG: .short 0x2a1 @ 1 Dummy Cycle 16 bit 1 WS SW BP enable +#endif CS3_MEM_REG: .short 0x283 @ 1 Dummy Cycle 8 bit 3 WS SW BP enable CS4_MEM_REG: .short 0xe85 @ default reset value CS6_MEM_REG: .short 0x2c0 @ Internal RAM init : 0 WS, 32 bits, little, write enable