15 Feb, 2018

1 commit

  • Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the
    current set of options we have in Kconfig. We will need to have some
    options available for SPL and !SPL_FRAMEWORK so this is important. In a
    few cases we re-order existing options so that we have less escapes from
    the SPL_FRAMEWORK guard.

    Signed-off-by: Tom Rini

    Tom Rini
     

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
     

31 Jan, 2018

1 commit


13 Aug, 2017

1 commit


10 Aug, 2017

1 commit


08 Aug, 2017

1 commit


10 Jun, 2017

1 commit

  • Almost all users of CONFIG_AM33XX/AM43XX have been migrated. Finish
    moving the last few over to Kconfig, and put all of the boards under the
    appropriate Kconfig chocie now. This board choice is non-optional, so
    remove that keyword on am33xx.

    Signed-off-by: Tom Rini

    Tom Rini
     

22 May, 2017

1 commit


15 May, 2017

2 commits

  • This driver is used often enough such that we want to have this enabled
    by default on any ARCH_OMAP2PLUS board, and this only compiles on
    ARCH_OMAP2PLUS due to required defines, so mark that as the depends.

    Signed-off-by: Tom Rini

    Tom Rini
     
  • In the two cases in the code where we use CONFIG_OMAP as a useful test
    currently we can make use of CONFIG_ARCH_OMAP2PLUS instead. With that
    changed we can drop all defines of CONFIG_OMAP. While in here,
    CONFIG_OMAP3430 is only defined and then never used, so drop.

    Signed-off-by: Tom Rini

    Tom Rini
     

12 May, 2017

1 commit


20 Mar, 2017

1 commit


13 Feb, 2017

1 commit

  • We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
    not completed. Finish this work by the tool.

    During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
    Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
    than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will
    make the code more readable. Besides, negative meaning symbols do
    not fit in obj-$(CONFIG_...) style Makefiles.

    This commit was created as follows:

    [1] Edit "default n" to "default y" in the config entry in
    common/Kconfig.

    [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"

    [3] Rename the instances in defconfigs by the following:
    find . -path './configs/*_defconfig' | xargs sed -i \
    -e '/CONFIG_SYS_NO_FLASH=y/d' \
    -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'

    [4] Change the conditionals by the following:
    find . -name '*.[ch]' | xargs sed -i \
    -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
    -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
    -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
    -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'

    [5] Modify the following manually
    - Rename the rest of instances
    - Remove the description from README
    - Create the new Kconfig entry in drivers/mtd/Kconfig
    - Remove the old Kconfig entry from common/Kconfig
    - Remove the garbage comments from include/configs/*.h

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

22 Nov, 2016

2 commits


17 Sep, 2016

6 commits


07 Sep, 2016

1 commit

  • On all TI platforms the ROM defines a "downloaded image" area at or near
    the start of SRAM which is followed by a reserved area. As it is at
    best bad form and at worst possibly harmful in corner cases to write in
    this reserved area, we stop doing that by adding in the define
    NON_SECURE_SRAM_IMG_END to say where the end of the downloaded image
    area is and make SRAM_SCRATCH_SPACE_ADDR be one kilobyte before this.
    At current we define the end of scratch space at 0x228 bytes past the
    start of scratch space this this gives us a lot of room to grow. As
    these scratch uses are non-optional today, all targets are modified to
    respect this boundary.

    Tested on OMAP4 Pandaboard, OMAP3 Beagle xM

    Cc: Albert Aribaud
    Cc: Nagendra T S
    Cc: Vaibhav Hiremath
    Cc: Lokesh Vutla
    Cc: Felipe Balbi
    Cc: Igor Grinberg
    Cc: Nikita Kiryanov
    Cc: Paul Kocialkowski
    Cc: Enric Balletbo i Serra
    Cc: Adam Ford
    Cc: Steve Sakoman
    Cc: Stefan Roese
    Cc: Thomas Weber
    Cc: Hannes Schmelzer
    Cc: Thomas Chou
    Cc: Masahiro Yamada
    Cc: Simon Glass
    Cc: Joe Hershberger
    Cc: Sam Protsenko
    Cc: Heiko Schocher
    Cc: Samuel Egli
    Cc: Michal Simek
    Cc: Wolfgang Denk
    Cc: Mateusz Kulikowski
    Cc: Ben Whitten
    Cc: Stefano Babic
    Cc: Bin Meng
    Cc: Sekhar Nori
    Cc: Mugunthan V N
    Cc: "B, Ravi"
    Cc: "Matwey V. Kornilov"
    Cc: Ladislav Michl
    Cc: Ash Charles
    Cc: "Kipisz, Steven"
    Cc: Daniel Allred
    Signed-off-by: Tom Rini
    Tested-by: Lokesh Vutla
    Acked-by: Lokesh Vutla
    Tested-by: Ladislav Michl

    Tom Rini
     

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
     

25 Feb, 2016

3 commits


22 Nov, 2015

1 commit


19 Nov, 2015

1 commit


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
     

12 Sep, 2015

1 commit

  • To simplify and having a common default IP-setup on all B&R boards we
    introduce an environment variable "brdefaultip" which does following.

    Test if ${ipaddr} is empty, if yes it set's up some defaults:
    - ipaddr : 192.168.60.1
    - netmask : 255.255.255.0
    - gatewayip: 192.168.60.254
    - serverip : 192.168.60.254

    This environment is ran from CONFIG_PREBOOT.

    All other "tricks" are dropped.

    Signed-off-by: Hannes Schmelzer
    Reviewed-by: Tom Rini
    Acked-by: Joe Hershberger

    Hannes Petermaier
     

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


03 Jun, 2015

1 commit

  • netconsole had become defective over time and cleanups.
    Because the feature is used very rarely nobody did take notice about this
    defect.

    With this patch the resulting syntax error on call will be fixed.

    Signed-off-by: Hannes Schmelzer

    Hannes Schmelzer
     

02 Jun, 2015

1 commit


01 Jun, 2015

1 commit


28 May, 2015

1 commit


09 May, 2015

2 commits


17 Mar, 2015

2 commits