• Siarhei Siamashka's avatar
    fel: Add fel spl command support for Allwinner A64 · 52768471
    Siarhei Siamashka authored
    
    
    The SCTLR bits are somewhat different because the V bit is set
    to 0 on A64 (Low exception vectors, base address 0x00000000) and
    the UNK bit (Reads of this bit return an UNKNOWN value) is also not
    the same as on the other SoCs. So the SCTLR check can be relaxed.
    
    Changes in v2:
     - Because the SRAM A and SRAM C reside back-to-back in the address
       space, it is possible to use 40 KiB of SRAM by the SPL for its
       code+data+stack. So the FEL backup storage is moved from 0x18000
       to 0x1A000 to support this.
    Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
    52768471
fel.c 54.9 KB