10 Mar, 2018

1 commit


28 Feb, 2018

1 commit


11 Oct, 2017

1 commit

  • Having this as a 'default y' is rather annoying because it doesn't
    actually compile unless other options are defined in the board header:

    ../cmd/bootm.c: In function 'do_imls_nor':
    ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
    i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {

    Make it 'default n' so people who develop new boards that start from a
    blank defconfig have one less compilation failure to debug.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

28 Aug, 2017

1 commit


24 Aug, 2017

1 commit


15 Aug, 2017

2 commits


12 Aug, 2017

2 commits


01 Aug, 2017

7 commits

  • Like other peripheral drivers, move USB related drivers to platform
    Kconfig as well.

    Signed-off-by: Bin Meng
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Simon Glass

    Bin Meng
     
  • Now that all x86 boards have been converted to use DM, we can imply
    these uclass drivers (DM_ETH, DM_RTC, DM_USB, DM_VIDEO) from the
    top level.

    Previously DM_GPIO, DM_KEYBOARD, DM_SERIAL, DM_SPI, DM_SPI_FLASH
    are selected. Change to use 'imply' to allow them to be removed.

    Note with this change, chromebook_link64 build fails:

    common/built-in.o:(.data.env_htab+0xc): undefined reference to 'env_flags_validate'
    lib/built-in.o: In function `hsearch_r':
    lib/hashtable.c:380: undefined reference to 'env_callback_init'
    lib/hashtable.c:382: undefined reference to 'env_flags_init'
    make[1]: *** [spl/u-boot-spl] Error 1

    CONFIG_SPL_ENV_SUPPORT is required for chromebook_link64 to build
    again. This is just a workaround as it is not needed at all. See
    commit bda40d5 "x86: qemu: Add a config for 64-bit U-Boot" for
    the same issue seen on QEMU 64-bit target.

    Signed-off-by: Bin Meng
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Simon Glass

    Bin Meng
     
  • This is a must have for all x86 boards.

    Signed-off-by: Bin Meng
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Simon Glass

    Bin Meng
     
  • This is architecture-dependent early initialization hence should
    be put in the platform Kconfig.

    Signed-off-by: Bin Meng
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Simon Glass

    Bin Meng
     
  • CONFIG_BOARD_EARLY_INIT_F literally indicates board-specific codes
    and should be not 'default y' for all x86 boards.

    Signed-off-by: Bin Meng
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Simon Glass

    Bin Meng
     
  • PCI is the de facto interconnect bus in an x86 system.

    Signed-off-by: Bin Meng
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Simon Glass

    Bin Meng
     
  • Without a timer, U-Boot just doesn't boot. This is not something
    we can turn off.

    Signed-off-by: Bin Meng
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Simon Glass

    Bin Meng
     

30 Jul, 2017

1 commit

  • Kbuild complains if USB is not selected before any of host driver.

    warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB)
    warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB)

    Select it for X86.

    Fixes: 64d6ac5bc4a9 ("Kconfig: USB: Migrate CONFIG_USB_EHCI_HCD users to Kconfig")
    Signed-off-by: Andy Shevchenko
    [bmeng: Update all x86 boards' defconfig files to remove CONFIG_USB]
    Signed-off-by: Bin Meng

    Andy Shevchenko
     

26 Jul, 2017

1 commit

  • 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
     

19 Jun, 2017

1 commit


01 May, 2017

1 commit


28 Jan, 2017

4 commits


26 Jan, 2017

2 commits


15 Nov, 2016

1 commit

  • Enable this so that EFI applications (notably grub) can be run under U-Boot
    on x86 platforms.

    At present the 'hello world' EFI application is not supported for the
    qemu-x86_efi_payload64 board. That board builds a payload consisting of a
    64-bit header and a 32-bit U-Boot, which is incompatible with the way the
    EFI loader builds its EFI application. The following error is obtained:

    x86_64-linux-ld.bfd: i386 architecture of input file
    `lib/efi_loader/helloworld.o' is incompatible with i386:x86-64 output

    This could be corrected with additional Makefile rules. For now, this
    feature is disabled for that board.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    [agraf: drop hello kconfig bits]
    Signed-off-by: Alexander Graf

    Simon Glass
     

24 Oct, 2016

3 commits


10 Sep, 2016

1 commit


26 Apr, 2016

3 commits


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
     

05 Feb, 2016

1 commit


01 Dec, 2015

2 commits


25 Nov, 2015

1 commit


22 Nov, 2015

1 commit