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
     

09 Sep, 2016

1 commit


05 Aug, 2016

1 commit

  • As of now we have 2 flavors of ARC SDP boards:
    1) AXS101 - with ARC770 in ASIC
    2) AXS103 - with ARC HS38 in FPGA

    Both options share exactly the same base-board and only differ with
    CPU-tiles in use. That means all peripherals are the same (they are
    implemented in FPGA on the base-board) and so generic board could be
    used for both.

    While at it:
    * Recreated defconfigs with savedefconfig
    * In include/configs/axs10x.h numerical sizes replaced with
    defines from linux/sizes.h for better readability.

    Signed-off-by: Alexey Brodkin
    Reviewed-by: Tom Rini

    Alexey Brodkin
     

10 Jun, 2016

1 commit


17 May, 2016

1 commit


26 Apr, 2016

1 commit


20 Feb, 2016

1 commit

  • ARC core could be configured with different L1 and L2 (AKA SLC) cache
    line lengths. At least these values are possible and were really used:
    32, 64 or 128 bytes.

    Current implementation requires cache line to be selected upon U-Boot
    configuration and then it will only work on matching hardware. Indeed
    this is quite efficient because cache line length gets hardcoded during
    code compilation. But OTOH it makes binary less portable.

    With this commit we allow U-Boot to determine real L1 cache line length
    early in runtime and use this value later on. This extends portability
    of U-Boot binary a lot.

    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     

08 Dec, 2015

1 commit


22 Nov, 2015

1 commit


18 Nov, 2015

1 commit

  • With this change Synopsys DesignWare SDP board is switched to driver
    model for both serial port (serial_dw) and Ethernet (Designware GMAC).

    This simplifies include/configs/axs101.h and allows for reuse of Linux's
    Device Tree description.

    For simplicity Linux's .dts files are not blindly copied but only very
    few extracts of them are really used (those that are supported in U-Boot
    at the moment).

    Signed-off-by: Alexey Brodkin
    Reviewed-by: Simon Glass
    Cc: Masahiro Yamada

    Alexey Brodkin
     

07 Sep, 2015

1 commit

  • This fixes building in automated flow that doesn't use defconfigs.

    See discussion on that topic here:
    http://patchwork.ozlabs.org/patch/502558/

    See similar patches for other architectures/platforms here:
    [1] http://git.denx.de/?p=u-boot.git;a=commit;h=ff560a13056a565a4e9ce1761bd04276a3cace88
    [2] http://git.denx.de/?p=u-boot.git;a=commit;h=589907e2c187ec69b351c38ccda36730d25ab5d6

    And while at it add missing shell prompt to axs103.

    Cc: Tom Rini
    Cc: Joe Hershberger
    Cc: Masahiro Yamada
    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     

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

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


13 May, 2015

1 commit

  • In order to reduce merge conflicts and to maintain the simplest possible
    defconfig files, we should be using the savedefconfig feature of Kconfig
    every time a new feature is added. This keeps the defconfig settings to
    a minimum (only those things not default) and keeps them in the same
    order as the Kconfig options.

    Signed-off-by: Joe Hershberger
    Cc: Masahiro Yamada
    Acked-by: Stephen Warren
    Cc: Tom Rini

    Joe Hershberger
     

19 Apr, 2015

1 commit


03 Apr, 2015

1 commit

  • Before that moment our defconfigs were manually modified with addition
    of new options. That means once anybody wants to add another option and
    re-genarate defconfig with "make defconfig" there will be lots of
    differences. So to make future modifications more clean we'll do bulk
    re-generation right away.

    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     

09 Feb, 2015

2 commits


15 Jan, 2015

1 commit

  • It makes sense to specify CONFIG_SYS_CLK_FREQ in "configs/xx_defconfig"
    instead of "include/configs/xxx.h" because then header will be reusable
    across boards with different CPU clocks.

    Also this nice to have an ability for end user to tune this value
    himself via "menuconfig".

    For now I'm only applying this change to all ARC configs because
    otherwise scope of change will be huge.

    Signed-off-by: Alexey Brodkin
    Cc: Tom Rini
    Cc: Masahiro Yamada
    Cc: Hans de Goede
    cc: Simon Glass
    Reviewed-by: Tom Rini

    Alexey Brodkin
     

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