24 Feb, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_BOOTP_BOOTPATH
    CONFIG_BOOTP_DNS
    CONFIG_BOOTP_GATEWAY
    CONFIG_BOOTP_HOSTNAME
    CONFIG_BOOTP_PXE
    CONFIG_BOOTP_SUBNETMASK
    CONFIG_CMDLINE_EDITING
    CONFIG_AUTO_COMPLETE
    CONFIG_SYS_LONGHELP
    CONFIG_SUPPORT_RAW_INITRD
    CONFIG_ENV_VARS_UBOOT_CONFIG

    Signed-off-by: Adam Ford
    [trini: Re-run the migration]
    Signed-off-by: Tom Rini

    Adam Ford
     

11 Feb, 2018

1 commit

  • On the NIOS2 and Xtensa architectures, we do not have
    CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
    values into the defconfig and removing them from the headers.

    I did not attempt to add more default values in and for now will leave
    that to maintainers.

    Signed-off-by: Tom Rini

    Tom Rini
     

15 Sep, 2017

2 commits


04 Sep, 2017

2 commits


15 Aug, 2017

1 commit


31 Jul, 2017

1 commit


26 Jul, 2017

3 commits

  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_FAT

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_SPI_FLASH

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_MMC
    CONFIG_ENV_IS_IN_NAND
    CONFIG_ENV_IS_IN_UBI
    CONFIG_ENV_IS_NOWHERE

    In fact this already exists for sunxi as a 'choice' config. However not
    all the choices are available in Kconfig yet so we cannot use that. It
    would lead to more than one option being set.

    In addition, one purpose of this series is to allow the environment to be
    stored in more than one place. So the existing choice is converted to a
    normal config allowing each option to be set independently.

    There are not many opportunities for Kconfig updates to reduce the size of
    this patch. This was tested with

    ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC

    And then manual updates. This is because for CHAIN_OF_TRUST boards they
    can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
    now.

    Signed-off-by: Simon Glass
    Signed-off-by: Tom Rini

    Simon Glass
     

04 Jun, 2017

1 commit

  • Now that these symbols are in Kconfig, migrate all users. Use imply on
    a number of platforms that default to having this enabled. As part of
    this we must migrate some straglers for CMD_FAT and DOS_PARTITION.

    Signed-off-by: Tom Rini

    Tom Rini
     

14 Apr, 2017

1 commit


20 Mar, 2017

1 commit


26 Jan, 2017

1 commit


29 Oct, 2016

1 commit


12 Oct, 2016

1 commit


27 Aug, 2016

1 commit

  • This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all
    cases we are mirroring the values used by the Linux Kernel here. Also,
    so long as (and in this case, it is true) we implement flushes in hunks
    that are no larger than the smallest implementation (and given that we
    mirror the Linux Kernel, again we are fine) it is OK to align higher.
    The biggest changes here are that we always use 64 bytes for CPU_V7 even
    if for example the underlying core is only 32 bytes (this mirrors
    Linux). Second, we say ARM64 uses 64 bytes not 128 (as found in the
    Linux Kernel) as we do not need multi-platform support (to this degree)
    and only the Cavium ThunderX 88xx series has a use for such large
    alignment.

    Cc: Albert Aribaud
    Cc: Marek Vasut
    Cc: Stefano Babic
    Cc: Prafulla Wadaskar
    Cc: Luka Perkov
    Cc: Stefan Roese
    Cc: Nagendra T S
    Cc: Vaibhav Hiremath
    Acked-by: Lokesh Vutla
    Cc: Steve Rae
    Cc: Igor Grinberg
    Cc: Nikita Kiryanov
    Cc: Stefan Agner
    Acked-by: Heiko Schocher
    Cc: Mateusz Kulikowski
    Cc: Peter Griffin
    Acked-by: Paul Kocialkowski
    Cc: Anatolij Gustschin
    Acked-by: "Pali Rohár"
    Cc: Adam Ford
    Cc: Steve Sakoman
    Cc: Grazvydas Ignotas
    Cc: Nishanth Menon
    Cc: Stephen Warren
    Cc: Robert Baldyga
    Cc: Minkyu Kang
    Cc: Thomas Weber
    Cc: Masahiro Yamada
    Cc: David Feng
    Cc: Alison Wang
    Cc: Michal Simek
    Cc: Simon Glass
    Cc: York Sun
    Cc: Shengzhou Liu
    Cc: Mingkai Hu
    Cc: Prabhakar Kushwaha
    Cc: Aneesh Bansal
    Cc: Saksham Jain
    Cc: Qianyu Gong
    Cc: Wang Dongsheng
    Cc: Alex Porosanu
    Cc: Hongbo Zhang
    Cc: tang yuantian
    Cc: Rajesh Bhagat
    Cc: Josh Wu
    Cc: Bo Shen
    Cc: Viresh Kumar
    Cc: Hannes Schmelzer
    Cc: Thomas Chou
    Cc: Joe Hershberger
    Cc: Sam Protsenko
    Cc: Bin Meng
    Cc: Christophe Ricard
    Cc: Anand Moon
    Cc: Beniamino Galvani
    Cc: Carlo Caione
    Cc: huang lin
    Cc: Sjoerd Simons
    Cc: Xu Ziyuan
    Cc: "jk.kernel@gmail.com"
    Cc: "Ariel D'Alessandro"
    Cc: Kever Yang
    Cc: Samuel Egli
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Hans de Goede
    Cc: Ian Campbell
    Cc: Siarhei Siamashka
    Cc: Boris Brezillon
    Cc: Andre Przywara
    Cc: Bernhard Nortmann
    Cc: Wolfgang Denk
    Cc: Ben Whitten
    Cc: Tom Warren
    Cc: Alexander Graf
    Cc: Sekhar Nori
    Cc: Vitaly Andrianov
    Cc: "Andrew F. Davis"
    Cc: Murali Karicheri
    Cc: Carlos Hernandez
    Cc: Ladislav Michl
    Cc: Ash Charles
    Cc: Mugunthan V N
    Cc: Daniel Allred
    Cc: Gong Qianyu
    Signed-off-by: Tom Rini
    Acked-by: Masahiro Yamada
    Acked-by: Chin Liang See
    Tested-by: Stephen Warren
    Acked-by: Paul Kocialkowski

    Tom Rini
     

10 Jun, 2016

1 commit


26 Apr, 2016

3 commits


15 Mar, 2016

1 commit


31 Jan, 2016

1 commit

  • Some armv7 targets are missing a cache line size declaration.
    In preparation for "arm: cache: Implement cache range check for v7"
    patch, add these declarations with the appropriate value for
    the target's SoC or CPU.

    Signed-off-by: Albert ARIBAUD
    Reviewed-by: Tom Rini

    Albert ARIBAUD
     

02 Nov, 2015

1 commit

  • As sama5 board has 32k sram size, so the at91bootstrap and spl for sama5
    boards is bigger than 16k (0x4000). That will overlap the U-Boot
    environment. So I move environment to 0x6000. And reduce its size as
    well.

    Following shows the size of the spl binaries (v2015.04 vs v2015.07):

    % ls v2015.04/*spi*spl.bin -l | awk '{print $5,$(NF)}'
    15540 v2015.04/at91sam9n12ek_spiflash_defconfig_u-boot-spl.bin
    15704 v2015.04/at91sam9x5ek_spiflash_defconfig_u-boot-spl.bin
    16064 v2015.04/sama5d3xek_spiflash_defconfig_u-boot-spl.bin
    16304 v2015.04/sama5d4ek_spiflash_defconfig_u-boot-spl.bin
    16304 v2015.04/sama5d4_xplained_spiflash_defconfig_u-boot-spl.bin

    % ls v2015.07/*spi*spl.bin -l | awk '{print $5,$(NF)}'
    16136 v2015.07/at91sam9n12ek_spiflash_defconfig_u-boot-spl.bin
    16300 v2015.07/at91sam9x5ek_spiflash_defconfig_u-boot-spl.bin
    16664 v2015.07/sama5d3xek_spiflash_defconfig_u-boot-spl.bin
    16904 v2015.07/sama5d4ek_spiflash_defconfig_u-boot-spl.bin
    16904 v2015.07/sama5d4_xplained_spiflash_defconfig_u-boot-spl.bin

    The gcc version is: gcc 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1)

    Signed-off-by: Josh Wu
    Reviewed-by: Andreas Bießmann
    Acked-by: Bo Shen

    Josh Wu
     

25 Oct, 2015

1 commit

  • We have finished Generic Board conversion for ARM and PowerPC, i.e.
    all the boards have been converted except OpenRISC, SuperH, SPARC,
    which have not supported Generic Board framework yet.

    Select SYS_GENERIC_BOARD in arch/Kconfig and delete all the macro
    defines in include/configs/*.h.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

01 Oct, 2015

1 commit


11 Sep, 2015

1 commit

  • Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE
    into the console and hitting enter afterwards, causes a hang in the
    system because CONFIG_SYS_PBSIZE is not capable of storing the extra
    characters of the error message:
    "Unknown command '' - try 'help'".

    Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h
    to solve this problem.

    Signed-off-by: Bo Shen
    Signed-off-by: Josh Wu

    Bo Shen
     

21 Aug, 2015

4 commits

  • Also move the spi flash configurations to the at91-sama5_common.h.

    Current at91 zImage size is about 3.3M, the old mapping is not
    suitable. So update the spi flash map as following:
    0x0 ~ 0x004000: at91bootstrap(16k)
    0x04000 ~ 0x008000: u-boot env(16k)
    0x08000 ~ 0x060000: u-boot(352k)
    0x60000 ~ 0x06c000: dtb (48k)
    0x6c000 ~ 0x400000: kernel (3M+592k)

    In AT91Bootstrap, the U-Boot in spi flash also update to 0x8000, refer
    to following commit in AT91Bootstrap:
    3e91e54 Kconfig: fix spi flash address

    So also update SPL's u-boot load address to 0x8000 in spi flash.

    Signed-off-by: Josh Wu
    Reviewed-by: Jagan Teki

    Wu, Josh
     
  • As all sama5 nandflash env configurations are same, so move them to
    at91-sama5_common.h.

    Signed-off-by: Josh Wu

    Wu, Josh
     
  • Since sama5d3xek boards has different type of dtb blobs, so we need to detect
    the cpu type in runtime.

    So we add a new variable $dtb_name. if $dtb_name is not defined, we just use
    at91-${board_name}.dtb

    as the $dtb_name. Otherwise, we will just load the dtb with
    $dtb_name.

    For sama5d3xek, we will detect cpu type and make up $dtb_name in
    runtime.

    Signed-off-by: Josh Wu

    Wu, Josh
     
  • As almost all sama5 sd/mmc env configurations are same, so move them to
    at91-sama5_common.h.

    Also define CONFIG_ENV_VARS_UBOOT_CONFIG to have the varaible: $board_name.
    Then we can use 'at91-${board_name}.dtb' as the dtb name.

    TODO: since sama5d3xek has different dtb name, we need to some extra
    stuff to make it work on sama5d3xek boards.

    Signed-off-by: Josh Wu

    Wu, Josh
     

13 Aug, 2015

1 commit

  • Add option to set shell prompt string from menuconfig and migrate
    boards globally.

    The migration is done as follows:
    - Boards that explicitly and unconditionally set CONFIG_SYS_PROMPT had the
    entry moved to their defconfig files.
    - Boards that defined some kind of #ifdef logic which selects the
    CONFIG_SYS_PROMPT (for example qemu-mips) got an #undef CONFIG_SYS_PROMPT
    right before the #ifdef logic and were left alone.
    - This change forces CONFIG_SYS_PROMPT to be a per board decision, and thus
    CONFIG_SYS_PROMPT was removed from all _common.h and _common.h
    files. This results in a streamlined default value across platforms, and
    includes the following files: spear-common, sunxi-common, mv-common,
    ti_armv7_common, tegra-common, at91-sama5_common, and zynq-common.
    - Boards that relied on _common.h values of CONFIG_SYS_PROMPT were
    not updated in their respective defconfig files under the assumption that
    since they did not explicitly define a value, they're fine with whatever
    the default is.
    - On the other hand, boards that relied on a value defined in some
    _common.h file such as woodburn_common, rpi-common,
    bur_am335x_common, ls2085a_common, siemens_am33x_common, and
    omap3_evm_common, had their values moved to the respective defconfig files.
    - The define V_PROMPT was removed, since it is not used anywhere except for
    assigning a value for CONFIG_SYS_PROMPT.

    Cc: Tom Rini
    Cc: Masahiro Yamada
    Cc: Stefano Babic
    Cc: Igor Grinberg
    Signed-off-by: Nikita Kiryanov
    [trini: Add spring, sniper, smartweb to conversion]
    Signed-off-by: Tom Rini

    Nikita Kiryanov
     

26 Jun, 2015

1 commit


01 Jun, 2015

1 commit


13 May, 2015

1 commit


01 Apr, 2015

1 commit

  • Create a new configuration file: at91-sama5_common.h. Which includes the
    configurations that reused by all SAMA5 chips.

    at91-sama5_common.h includes:
    - hw macros (clock, text_base and etc.)
    - default commands.
    - BOOTARGS
    - U-Boot common configs.
    NOTE: NOR flash definition should be put before including the common header.

    For sama5d3-xplained:
    - add CMD_SETEXPR

    For sama5d3xek:
    - add CMD_SETEXPR
    - change CONFIG_SYS_MALLOC_LEN to (4*1024*1024)

    Signed-off-by: Josh Wu

    Wu, Josh