Skip to content
Snippets Groups Projects
  • Philipp Tomsich's avatar
    b529993e
    spl: add hierarchical defaults for SPL_LDSCRIPT · b529993e
    Philipp Tomsich authored
    
    With SPL_LDSCRIPT moved to Kconfig (and this being a 'string' config
    node), all the lingering definitions in header files will cause
    warnings/errors due to the redefinition of the configuration item.
    
    As we don't want to pollute the defconfig files (and values should
    usually be identical for entire architectures), the defaults are moved
    into Kconfig.  Kconfig will always pick the first default that
    matches, so please keep these values at the end of each file (to allow
    any board-specific Kconfig, which will be included earlier) to
    override with an unconditional default setting.
    
    Signed-off-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
    Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
    b529993e
    History
    spl: add hierarchical defaults for SPL_LDSCRIPT
    Philipp Tomsich authored
    
    With SPL_LDSCRIPT moved to Kconfig (and this being a 'string' config
    node), all the lingering definitions in header files will cause
    warnings/errors due to the redefinition of the configuration item.
    
    As we don't want to pollute the defconfig files (and values should
    usually be identical for entire architectures), the defaults are moved
    into Kconfig.  Kconfig will always pick the first default that
    matches, so please keep these values at the end of each file (to allow
    any board-specific Kconfig, which will be included earlier) to
    override with an unconditional default setting.
    
    Signed-off-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
    Reviewed-by: default avatarSimon Glass <sjg@chromium.org>