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
     

24 Oct, 2016

1 commit

  • Move these option to Kconfig and tidy up existing uses.

    The Power PC boards don't have a suitable common element: the common header
    files don't appear to line up with the Kconfig files as far as I can tell.
    This results in a lot of defconfig changes.

    Signed-off-by: Simon Glass
    Reviewed-by: Jagan Teki
    [trini: Re-migrate, update common/console.c logic]
    Signed-off-by: Tom Rini

    Simon Glass
     

17 Jun, 2016

1 commit


26 Apr, 2016

3 commits


19 Nov, 2015

1 commit


04 Nov, 2015

1 commit


26 Jun, 2015

1 commit


01 Jun, 2015

2 commits

  • This also selects CONFIG_NET for any CONFIG_CMD_NET board.

    Remove the imx default for CONFIG_NET.

    This moves the config that was defined by 60296a8 (commands: add more
    command entries in Kconfig).

    Signed-off-by: Joe Hershberger

    Joe Hershberger
     
  • Commit 76ec988b062e (net: Remove all calls to net_random_ethaddr())
    accidentally deleted CONFIG_TARGET_BCT_BRETTL2=y, and since then
    bct-brettl2 would not build.

    Since commit a26cd04920dc (arch: Make board selection choices
    optional), Kconfig actually allows such a .config file in which no
    board is selected, but the build never succeeds.

    Signed-off-by: Masahiro Yamada
    Acked-by: Joe Hershberger

    Masahiro Yamada
     

21 May, 2015

1 commit

  • Remove the calls to net_random_ethaddr() that some boards and some
    drivers are calling. This is now implemented inside of net/eth.c

    Enable the feature for all boards that previously enabled it.

    Signed-off-by: Joe Hershberger
    Acked-By: Michael Walle (for the lsxl board part)

    Series-changes: 2
    -Fixed bfin build errors

    Joe Hershberger
     

25 Sep, 2014

1 commit


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