31 May, 2016

2 commits

  • Allow L1 Icache & L1 Dcache line size to be specified separately, since
    there's no architectural mandate that they be the same. The
    [id]cache_line_size functions are tidied up to take advantage of the
    fact that the Kconfig entries are always present to simply check them
    for zero rather than needing to #ifdef on their presence.

    Signed-off-by: Paul Burton
    [removed CONFIG_SYS_CACHELINE_SIZE in include/configs/pic32mzdask.h]
    Signed-off-by: Daniel Schwierzeck

    Paul Burton
     
  • Move details of the L1 cache line sizes & total sizes into Kconfig,
    defaulting to 0. A new CONFIG_SYS_CACHE_SIZE_AUTO Kconfig entry is
    introduced to allow platforms to select auto-detection of cache sizes,
    and it defaults to being enabled if none of the cache sizes are set by
    the configuration (ie. sizes are all the default 0), and code is
    adjusted to #ifdef on that rather than on the definition of the sizes
    (which will always be defined even if 0).

    Signed-off-by: Paul Burton

    Paul Burton
     

26 May, 2016

1 commit

  • Move CONFIG_SYS_TEXT_BASE to Kconfig, and add default values in board
    Kconfig files matching what was present in their config headers. This
    will make it cleaner to conditionalise the value for Malta based on 32
    vs 64 bit builds.

    Signed-off-by: Paul Burton

    Paul Burton
     

02 Nov, 2014

2 commits


14 Sep, 2014

1 commit

  • Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}
    are specified in arch/Kconfig.

    We can delete the ones in arch and board Kconfig files.

    This commit can be easily reproduced by the following command:

    find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '
    /config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ {
    N
    s/\n[[:space:]]*string//
    }
    '

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

30 Jul, 2014

1 commit

  • This commit adds:
    - arch/${ARCH}/Kconfig
    provide a menu to select target boards
    - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
    set CONFIG macros to the appropriate values for each board
    - configs/${TARGET_BOARD}_defconfig
    default setting of each board

    (This commit was automatically generated by a conversion script
    based on boards.cfg)

    In Linux Kernel, defconfig files are located under
    arch/${ARCH}/configs/ directory.
    It works in Linux Kernel since ARCH is always given from the
    command line for cross compile.

    But in U-Boot, ARCH is not given from the command line.
    Which means we cannot know ARCH until the board configuration is done.
    That is why all the "*_defconfig" files should be gathered into a
    single directory ./configs/.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada