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
     

14 Feb, 2018

1 commit


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
     

16 Jan, 2018

1 commit


10 Jan, 2018

1 commit

  • The following config symbols are only defined once and never referenced
    anywhere else:

    CONFIG_AP325RXA
    CONFIG_AP_SH4A_4A
    CONFIG_CPU_SH_TYPE_R
    CONFIG_ECOVEC
    CONFIG_ESPT
    CONFIG_MIGO_R
    CONFIG_MPR2
    CONFIG_MS7720SE
    CONFIG_MS7722SE
    CONFIG_MS7750SE
    CONFIG_R0P7734
    CONFIG_R2DPLUS
    CONFIG_RSK7203
    CONFIG_RSK7264
    CONFIG_RSK7269
    CONFIG_SH7752EVB
    CONFIG_SH7753EVB
    CONFIG_SH7757LCR
    CONFIG_SH7763RDP
    CONFIG_SH7785LCR

    Most of them are config symbols named after the respective boards which
    seems to have been a standard practice at some point.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

04 Sep, 2017

3 commits


15 Aug, 2017

1 commit


12 Aug, 2017

1 commit


08 Aug, 2017

1 commit


03 Aug, 2017

1 commit

  • Convert the SH Serial to Kconfig using tools/moveconfig.py tool
    and a bit of manual adjustment to cater for failed conversions.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu
    Signed-off-by: Nobuhiro Iwamatsu

    Marek Vasut
     

26 Jul, 2017

1 commit


20 Mar, 2017

1 commit


18 Mar, 2017

1 commit

  • Boards with an apparent need for the md5sum command had the connected
    config symbol defined in their board header file.
    Move this over to the respective defconfig files now that md5sum is
    configured via Kconfig.
    (This is a manual effort, which differs from moveconfig.py, not sure
    who is right here. Boards except sandbox loose the md5sum command with
    moveconfig.py, though it was explicitly mentioned in their config.h's)

    Signed-off-by: Andre Przywara
    Reviewed-by: Simon Glass
    [trini: migrate stih410-b2260]
    Signed-off-by: Tom Rini

    Andre Przywara
     

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
     

31 Jan, 2017

1 commit

  • Now, CONFIG_GENERIC_MMC seems equivalent to CONFIG_MMC.

    Let's create an entry for "config GENERIC_MMC" with "default MMC",
    then convert all macro defines in headers to Kconfig. Almost all
    of the defines will go away.

    I see only two exceptions:
    configs/blanche_defconfig
    configs/sandbox_noblk_defconfig

    They define CONFIG_GENERIC_MMC, but not CONFIG_MMC. Something
    might be wrong with these two boards, so should be checked later.

    Anyway, this is the output of the moveconfig tool.

    This commit was created as follows:

    [1] create a config entry in drivers/mmc/Kconfig

    [2] tools/moveconfig.py -r HEAD GENERIC_MMC

    [3] manual clean-up of garbage comments in doc/README.* and
    include/configs/*.h

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Tom Rini

    Masahiro Yamada
     

28 Jan, 2017

2 commits


22 Jan, 2017

1 commit


30 Dec, 2016

1 commit

  • Commit 7a777f6d6f35 ("mmc: Add generic Kconfig option") created
    a Kconfig entry for this option without any actual moves, then
    commit 44c798799f66 ("sunxi: Use Kconfig CONFIG_MMC") moved
    instances only for SUNXI.

    We generally do not like such partial moves. This kind of work
    is automated by tools/moveconfig.py, so it is pretty easy to
    complete this move.

    I am adding "default ARM || PPC || SANDBOX" (suggested by Tom).
    This shortens the configs and will ease new board porting.

    This commit was created as follows:

    [1] Edit Kconfig (remove the "depends on", add the "default",
    copy the prompt and help message from Linux)

    [2] Run 'tools/moveconfig.py -y -s -r HEAD MMC'

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Jaehoon Chung

    Masahiro Yamada
     

03 Dec, 2016

3 commits

  • All SH boards define a checkboard() function which outputs basic board
    information on boot, however generic board support requires to define
    CONFIG_DISPLAY_BOARDINFO to do that, so define it for the boards.

    Signed-off-by: Vladimir Zapolskiy
    Reviewed-by: Simon Glass

    Vladimir Zapolskiy
     
  • By default this undef is a noop, moreover at this point when the
    platform support is broken is prevents debugging of U-boot by manual
    insertion of #define DEBUG into common files, so it makes sense to
    remove the option from all SH boards as a harmful one.

    Signed-off-by: Vladimir Zapolskiy
    Reviewed-by: Simon Glass

    Vladimir Zapolskiy
     
  • Three supported SH4/SH4A boards with the bootloader image stored on
    SPI flash have own flavour of a linker script, in turn they are equal
    among each other. The only difference is that the text from
    lowlevel_init.o is placed right after start.o, which makes sense.

    Note that .bss section is not marked as NOLOAD, because for about
    10 years this is a default option of a GNU linker, either the
    attribute is found or not the resulting image file is the same.

    Signed-off-by: Vladimir Zapolskiy
    Reviewed-by: Simon Glass

    Vladimir Zapolskiy
     

24 Oct, 2016

3 commits


10 Sep, 2016

1 commit


10 Jun, 2016

1 commit


26 Apr, 2016

2 commits


25 Nov, 2015

1 commit


26 Jun, 2015

2 commits

  • This sets the default commands Kconfig to match
    include/config_cmd_default.h commands in the common/Kconfig and removes
    them from include/configs.

    Signed-off-by: Joe Hershberger
    [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates]
    Signed-off-by: Tom Rini

    Joe Hershberger
     
  • Some archs/boards specify their own default by pre-defining the config
    which causes the Kconfig system to mix up the order of the configs in
    the defconfigs... This will cause merge pain if allowed to proliferate.

    Remove the configs that behave this way from the archs.

    A few configs still remain, but that is because they only exist as
    defaults and do not have a proper Kconfig entry. Those appear to be:

    SPIFLASH
    DISPLAY_BOARDINFO

    Signed-off-by: Joe Hershberger
    [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates,
    drop DM_USB from MSI_Primo81 as USB_MUSB_SUNXI isn't converted yet to DM]
    Signed-off-by: Tom Rini

    Joe Hershberger
     

01 Jun, 2015

1 commit


17 Nov, 2014

1 commit


09 Jan, 2014

1 commit

  • SH4 and SH4A are compatible. But some instructions are different from these.
    In Linux kernel, It is treated as a separate CPU, but for now, I think that
    there is no need to divide especially in the U-Boot.

    This removes CONFIG_SH4A definition from source code, SH4A is treated as SH4.
    And this fix white space.

    Signed-off-by: Nobuhiro Iwamatsu

    Nobuhiro Iwamatsu
     

08 Jan, 2014

1 commit


05 Nov, 2013

2 commits