26 Feb, 2018

1 commit

  • Migrate the users of CONFIG_SYS_BOOTCOUNT_ADDR to Kconfig. We can
    provide a default for BOOTCOUNT_AM33XX as that's a specific part of the
    RTC in use. We can also provide a default for ARCH_LS1043A and
    ARCH_LS1021A as they had been previously calculated and their symbols
    are in Kconfig. In the case of other QE-enabled platforms, they are not
    so we must update the relevant defconfig files. The previous default
    only applied in some cases, even on a specific SoC family.

    Reviewed-by: Lukasz Majewski
    Reviewed-by: Alex Kiernan
    Signed-off-by: Tom Rini

    Tom Rini
     

24 Feb, 2018

1 commit


15 Feb, 2018

2 commits


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
     

29 Jan, 2018

1 commit


13 Dec, 2017

2 commits


04 Sep, 2017

2 commits


26 Jul, 2017

1 commit


12 Jul, 2017

1 commit


20 Mar, 2017

1 commit


19 Mar, 2017

1 commit

  • Today, we have cases where we wish to build all of U-Boot in Thumb2 mode for
    various reasons. We also have cases where we only build SPL in Thumb2 mode due
    to size constraints and wish to build the rest of the system in ARM mode. So
    in this migration we introduce a new symbol as well, SPL_SYS_THUMB_BUILD to
    control if we build everything or just SPL (or in theory, just U-Boot) in
    Thumb2 mode.

    Signed-off-by: Tom Rini
    Acked-by: Siarhei Siamashka

    Tom Rini
     

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
     

17 May, 2016

1 commit


26 Apr, 2016

1 commit


15 Mar, 2016

1 commit

  • There are already two FIT options in Kconfig but the CONFIG options are
    still in the header files. We need to do a proper move to fix this.

    Move these options to Kconfig and tidy up board configuration:

    CONFIG_FIT
    CONFIG_OF_BOARD_SETUP
    CONFIG_OF_SYSTEM_SETUP
    CONFIG_FIT_SIGNATURE
    CONFIG_FIT_BEST_MATCH
    CONFIG_FIT_VERBOSE
    CONFIG_OF_STDOUT_VIA_ALIAS
    CONFIG_RSA

    Unfortunately the first one is a little complicated. We need to make sure
    this option is not enabled in SPL by this change. Also this option is
    enabled automatically in the host builds by defining CONFIG_FIT in the
    image.h file. To solve this, add a new IMAGE_USE_FIT #define which can
    be used in files that are built on the host but must also build for U-Boot
    and SPL.

    Note: Masahiro's moveconfig.py script is amazing.

    Signed-off-by: Simon Glass
    [trini: Add microblaze change, various configs/ re-applies]
    Signed-off-by: Tom Rini

    Simon Glass
     

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
     

13 Aug, 2015

1 commit

  • On the highbank platform the SoC's management controller firmware
    will probe the DRAM modules and populates the initial device tree with
    the correct values. Therefore the memory sizes in the DT are already
    correct, so remove U-Boot's DRAM bank setup so the memory node is not
    "fixed up" by u-boot.

    Signed-off-by: Rob Herring
    Signed-off-by: Andre Przywara

    Rob Herring
     

26 Jun, 2015

1 commit


09 Jun, 2015

1 commit

  • This patch moves the following config options to Kconfig:

    CONFIG_AUTOBOOT_KEYED
    CONFIG_AUTOBOOT_PROMPT
    CONFIG_AUTOBOOT_DELAY_STR
    CONFIG_AUTOBOOT_STOP_STR
    AUTOBOOT_KEYED_CTRLC

    Signed-off-by: Stefan Roese
    Reviewed-by: Simon Glass
    [trini: Drop ip04 and pm9263 configs/ additions, those boards previously
    set CONFIG_AUTOBOOT_PROMPT but never used it, re-run savedefconfig over
    all boards that did change. Make digsy_mtc_* string include seconds to
    match others and not warn. ]
    Signed-off-by: Tom Rini
    Cc: Masahiro Yamada

    Stefan Roese
     

25 May, 2014

1 commit


02 May, 2014

2 commits


16 Nov, 2013

1 commit


09 Nov, 2013

1 commit


05 Nov, 2013

2 commits


07 Sep, 2013

1 commit

  • libata already has similar functions as implemented in the ahci code.
    Refactor the code to use the libata variants and remove the dependency on
    ata.h. Convert some defines to use the version from libata.h. Also, remove
    some unnecessary memset's of bss data.

    This is a step toward hopefully merging ahci.c and dw_ahsata.c which are
    essentially the same driver.

    Signed-off-by: Rob Herring
    Reviewed-by: Tom Rini

    Rob Herring
     

25 Jul, 2013

5 commits


24 Jul, 2013

1 commit


01 Sep, 2012

2 commits

  • CONFIG_STACKSIZE is not referenced anywhere except on AVR32, but present
    in most ARM board config files.

    IRQs are only enabled for 1 config, so remove the unused config options
    for IRQ and FIQ stack size as well.

    Cc: Albert ARIBAUD
    Signed-off-by: Rob Herring

    Rob Herring
     
  • This patch moves all bootcount implementations into a common
    directory: drivers/bootcount. The generic bootcount driver
    is now usable not only by powerpc platforms, but others as well.

    Signed-off-by: Stefan Roese
    Cc: Heiko Schocher
    Cc: Valentin Longchamp
    Cc: Christian Riesch
    Cc: Manfred Rudigier
    Cc: Mike Frysinger
    Cc: Rob Herring
    Cc: Reinhard Meyer
    Tested-by: Valentin Longchamp
    Tested-by: Christian Riesch
    Acked-by: Rob Herring
    Acked-by: Mike Frysinger

    Stefan Roese
     

21 Jun, 2012

1 commit


29 Mar, 2012

1 commit