Skip to content
  • André Przywara's avatar
    sunxi: refactor serial base addresses to avoid asm/arch/cpu.h · beeace9b
    André Przywara authored
    
    
    At the moment we have each SoC's memory map defined in its own cpu.h,
    which is included in include/configs/sunxi_common.h. This will be a
    problem with the introduction of Allwinner RISC-V support.
    
    Remove the inclusion of that header file from the common config header,
    instead move the required serial base addresses (for the SPL) into a
    separate header file. Then include the original cpu.h file only where
    we really need it, which is only under arch/arm now.
    
    This disentangles the architecture specific header files from the
    generic code.
    
    Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
    beeace9b