02 Feb, 2018

2 commits


17 Nov, 2017

1 commit

  • Since CONFIG_DEFAULT_CONSOLE is already started with "console=",
    the console argument in CONFIG_EXTRA_ENV_SETTINGS is expanded to
    "console=console=ttySAC1,115200n8" and this causes the wrong
    console device.

    #define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"
    ...
    #define CONFIG_EXTRA_ENV_SETTINGS \
    "console=" CONFIG_DEFAULT_CONSOLE

    Signed-off-by: Dongjin Kim
    Reviewed-by: Simon Glass

    Dongjin Kim
     

04 Oct, 2017

1 commit

  • The g_dnl USB settings for the vendor ID, product ID and manufacturer are
    actually common settings that can and should be shared by all the gadgets.

    Make them common by renaming them, and convert all the users.

    Reviewed-by: Simon Glass
    Reviewed-by: Lukasz Majewski
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     

12 Aug, 2017

1 commit


26 Jul, 2017

2 commits

  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_SPI_FLASH

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_MMC
    CONFIG_ENV_IS_IN_NAND
    CONFIG_ENV_IS_IN_UBI
    CONFIG_ENV_IS_NOWHERE

    In fact this already exists for sunxi as a 'choice' config. However not
    all the choices are available in Kconfig yet so we cannot use that. It
    would lead to more than one option being set.

    In addition, one purpose of this series is to allow the environment to be
    stored in more than one place. So the existing choice is converted to a
    normal config allowing each option to be set independently.

    There are not many opportunities for Kconfig updates to reduce the size of
    this patch. This was tested with

    ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC

    And then manual updates. This is because for CHAIN_OF_TRUST boards they
    can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
    now.

    Signed-off-by: Simon Glass
    Signed-off-by: Tom Rini

    Simon Glass
     

22 May, 2017

1 commit


16 May, 2017

1 commit


15 May, 2017

1 commit


27 Sep, 2016

1 commit

  • Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for
    CMD_DFU (as we must have the DFU command enabled to do anything DFU).
    Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add
    options for all of the back end choices that DFU can make use of.

    Cc: Lukasz Majewski
    Signed-off-by: Tom Rini
    Acked-by: Lukasz Majewski

    Tom Rini
     

20 Sep, 2016

1 commit


26 Apr, 2016

1 commit


20 Apr, 2016

6 commits


26 Mar, 2016

1 commit

  • The description was borrowed from kernel. "tristate" type was changed
    to "bool" (I believe we don't support modules for u-boot yet, right?).
    CONFIG_USB_GADGET requires CONFIG_USB to be defined too, so add it along
    as well.

    Definitions were added to defconfig files in a way that
    "make savedefconfig" generates exactly the same file as used defconfig.

    Signed-off-by: Sam Protsenko
    [trini: Add zynq_zc702 conversion]
    Signed-off-by: Tom Rini

    Sam Protsenko
     

25 Feb, 2016

1 commit


02 Nov, 2015

1 commit

  • This commit adds additional file with implementation of board
    detection code for Odroid-XU3/XU4.

    The detection depends on compatible found in fdt:
    - "samsung,exynos5" - uses Exynos5 generic code
    - "samsung,odroidxu3" - try detect XU3 revision

    There are few revisions of Odroid XU3/XU4, each can be detected
    by checking the value of channel 9 of built-in ADC:
    Rev ADC Board
    0.1 0 XU3 0.1
    0.2 372 XU3 0.2 | XU3L - no DISPLAYPORT
    0.3 1280 XU4 0.1

    The detection code depends on the ADC+10% value.

    Implementation of functions:
    - set_board_type() - read ADC and set type
    - get_board_rev() - returns board revision: 1..3
    - get_board_type() - returns board type string

    Additional functions with return values of bool:
    - board_is_generic() - true if found compatible "samsung,exynos5"
    but not "samsung,odroidxu3"
    - board_is_odroidxu3() - true if found compatible "samsung,odroidxu3"
    and one of XU3 revision.
    - board_is_odroidxu4() - true if found compatible "samsung,odroidxu3"
    and XU4 revision.

    After I2C controller init, the get_board_type() can check
    if the XU3 board is a "Lite" variant, by probing chip
    0x40 on I2C0 (INA231 - exists only on non-lite).
    This is useful for setting fdt file name at misc_init_r().

    Enabled configs:
    - CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
    - CONFIG_ODROID_REV_AIN
    - CONFIG_REVISION_TAG
    - CONFIG_BOARD_TYPES

    Signed-off-by: Przemyslaw Marczak
    Cc: Minkyu Kang
    Cc: Simon Glass
    Tested-by: Anand Moon
    Signed-off-by: Minkyu Kang

    Przemyslaw Marczak
     

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
     

06 Aug, 2015

1 commit


22 Jul, 2015

1 commit

  • This introduces a coherent scheme for naming USB download gadget and functions
    config options. The download USB gadget config option is moved to
    CONFIG_USB_GADGET_DOWNLOAD for better consistency with other gadgets and each
    function's config option is moved to a CONFIG_USB_FUNCTION_ prefix.

    Signed-off-by: Paul Kocialkowski
    Tested-by: Lukasz Majewski

    Test HW: Odroid_XU3 (Exynos5422), trats (Exynos4210)

    Paul Kocialkowski
     

08 Jun, 2015

1 commit

  • This patch enables all functions required to use DFU/THOR and UMS:
    - DWC3: core, gadget, Samsung DWC3 PHY
    - USB gadget: endpoint autoconf, downloader, DFU, THOR, UMS

    The CONFIG_EXTRA_ENV_SETINGS from exynos5-common.h is redefined
    and appended by dfu environment setting and some system settings.

    The boot is still using $distro_boot as previous.

    Signed-off-by: Inha Song
    Signed-off-by: Lukasz Majewski
    Signed-off-by: Joonyoung Shim
    Signed-off-by: Przemyslaw Marczak
    Cc: Minkyu Kang

    Przemyslaw Marczak
     

04 Mar, 2015

1 commit


22 Dec, 2014

2 commits