04 Dec, 2019

1 commit


24 Nov, 2019

1 commit


23 Nov, 2019

4 commits

  • Select CONFIG_FASTBOOT_FLASH, CONFIG_FASTBOOT_FLASH_MMC_DEV
    for rockchip SoC plaforms in fastboot Kconfig file instead
    of defined it in board defconfig.

    This eventually drop the explicit configs defined in
    supporting board defconfig files.

    Tested-by: Levin Du
    Signed-off-by: Jagan Teki
    Reviewed-by: Kever Yang

    Jagan Teki
     
  • Rockchip support differnet or common gadget product number
    between Rockchip SoCs like,

    0x310a - rk3036
    0x320a - rk3229, rk3288
    0x330a - rk3328

    So, select them on Kconfig based on platform specific
    config defined.
       
    This eventually drop the explicit configs defined in
    supporting board defconfig files.

    Tested-by: Levin Du
    Signed-off-by: Jagan Teki
    Reviewed-by: Kever Yang

    Jagan Teki
     
  • Gadget vendor number, 0x2207 is common across all platfroms
    supported in Rockchip SoC.

    So, select the same number globally, if ARCH_ROCKCHIP.

    This eventually drop the explicit configs defined in supported
    board defconfig files.

    Tested-by: Levin Du
    Signed-off-by: Jagan Teki
    Reviewed-by: Kever Yang

    Jagan Teki
     
  • Select the gadget manufacturer as 'Rockchip' for
    all rockchip platform SoC's.

    This eventually drop the explicit defined added
    on supported board defconfig files.

    Tested-by: Levin Du
    Signed-off-by: Jagan Teki
    Reviewed-by: Kever Yang

    Jagan Teki
     

21 Nov, 2019

1 commit

  • Today in initr_reloc_global_data() we use some non-obvious tests to
    determine if we need to relocate the env_addr within gd or not. In
    order to facilitate migration of other symbols to Kconfig we need to
    introduce a new symbol for this particular use case.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Signed-off-by: Tom Rini

    Tom Rini
     

12 Nov, 2019

1 commit


08 Nov, 2019

1 commit


23 Sep, 2019

1 commit


19 Aug, 2019

2 commits


14 Aug, 2019

1 commit


02 Aug, 2019

1 commit

  • This converts the following to Kconfig:
    CONFIG_USE_PREBOOT
    CONFIG_PREBOOT

    Both are together in one commit, since otherwise the former causes kconfig
    to define the latter, which gives duplicate symbol errors.

    Includes a manual fixup for CONFIG_PREBOOT in ids8313_defconfig since the
    backslash lands in the wrong place. Similarly with socfpga_vining_fpga.

    Signed-off-by: Simon Glass

    Simon Glass
     

21 Jul, 2019

1 commit

  • This adds separate kconfig options for drivers/sysreset and
    drivers/firmware.

    Up to now, CONFIG_SPL_DRIVERS_MISC_SUPPORT added drivers/misc to SPL
    build but also added drivers/firmware and drivers/sysreset at the same
    time.

    Since that is confusing, this patch uses CONFIG_SPL_SYSRESET for
    drivers/sysreset and adds CONFIG_SPL_FIRMWARE for
    drivers/firmware (and accordingly for the TPL options).

    CONFIG_SPL_DRIVERS_MISC_SUPPORT stays for including drivers/misc into
    the SPL build (and accordingly for TPL) since there are boards using
    non-DM (non UCLASS_MISC) files from drivers/misc. Such boards don't
    have CONFIG_SPL_MISC enabled, so cannot use this to include
    drivers/misc into the SPL build.

    Signed-off-by: Simon Goldschmidt

    Simon Goldschmidt
     

30 Apr, 2019

2 commits


26 Mar, 2019

1 commit

  • This converts the following to Kconfig:
    CONFIG_SF_DEFAULT_BUS
    CONFIG_SF_DEFAULT_CS
    CONFIG_SF_DEFAULT_MODE
    CONFIG_SF_DEFAULT_SPEED

    I use moveconfig script and then manual check on generated u-boot.cfg
    to solve the remaining issue.

    Signed-off-by: Patrick Delaunay

    Patrick Delaunay
     

08 Feb, 2019

1 commit


07 Feb, 2019

1 commit


13 Dec, 2018

1 commit

  • The function part_init() will only be built when we have both
    CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE set. Protect the call to
    this function with both of these tests now.

    Cc: Simon Glass
    Cc: Philipp Tomsich
    Cc: Michal Simek
    Cc: York Sun
    Cc: Prabhakar Kushwaha
    Cc: Mingkai Hu
    Cc: Stefan Roese
    Cc: Marek Behún
    Cc: Vanessa Maegima
    Cc: Eugen Hristev
    Cc: Adam Ford
    Cc: Jagan Teki
    Cc: Tom Warren
    Cc: Stephen Warren
    Cc: Vitaly Andrianov
    Signed-off-by: Tom Rini
    Reviewed-by: Simon Glass

    Tom Rini
     

04 Sep, 2018

1 commit


17 Aug, 2018

1 commit

  • We have the following cases:
    - CONFIG_NR_DRAM_BANKS was defined, migrate normally
    - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
    CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
    - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
    2), set this to 8.

    Signed-off-by: Tom Rini

    Tom Rini
     

21 Jul, 2018

1 commit

  • Currently the fdtfile environment variable is set to
    CONFIG_DEFAULT_DEVICE_TREE which is іnternally used as U-Boot devicetree
    source. The OS can use a different filename and Kconfig gives us the
    ability to select a default devicetree via CONFIG_DEFAULT_FDT_FILE.
    This also gives user configuring U-Boot via menuconfig the behaviour
    someone would expect.

    Signed-off-by: Klaus Goger
    Tested-By: Vagrant Cascadian
    Reviewed-by: Philipp Tomsich
    Acked-by: Philipp Tomsich

    Klaus Goger
     

04 Jun, 2018

1 commit


30 May, 2018

1 commit


17 Apr, 2018

1 commit

  • We enabled CONFIG_ISO_PARTITION by default for distro boot, so that U-Boot
    could load distro images that usually get shipped as iso images. These images
    usually come with a board agnostic boot environment.

    However, there is very little point in having ISO support enabled (for anyone
    really) in SPL, as the whole idea of SPL is to load U-Boot proper which again
    is board specific. So the fact that we enable ISO support in U-Boot proper does
    not mean at all that we want ISO support in U-Boot SPL.

    Hence, let's remove the Kconfig dependency. Along the way, let's also clean up
    all those default configs that disabled SPL ISO support.

    Signed-off-by: Alexander Graf

    Alexander Graf
     

09 Apr, 2018

1 commit


15 Feb, 2018

1 commit

  • Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the
    current set of options we have in Kconfig. We will need to have some
    options available for SPL and !SPL_FRAMEWORK so this is important. In a
    few cases we re-order existing options so that we have less escapes from
    the SPL_FRAMEWORK guard.

    Signed-off-by: Tom Rini

    Tom Rini
     

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
     

02 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
     

04 Oct, 2017

2 commits

  • Fastboot need a bunch of options to be operating properly, such as the
    g_dnl gadget, the fastboot command, and some options that make sense. Since
    fastboot is now part of Kconfig, make sure we have them right.

    That will also reduce the boilerplate in the defconfigs.

    Reviewed-by: Łukasz Majewski
    Reviewed-by: Simon Glass
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     
  • 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
     

02 Sep, 2017

2 commits

  • - Move ANDROID_IMAGE_SUPPORT to top level Kconfig under images as it's
    not strictly part of fastboot.
    - Add some defaults for the fastboot buffer location and size
    - Migrate all options listed in cmd/fastboot/Kconfig
    - Cleanup the README

    Signed-off-by: Tom Rini

    Tom Rini
     
  • This syncs all of the currently Kconfig'd symbols out of the headers and
    into the defconfig files. This has two exceptions, first am335x_evm
    needs to be converted to DM in SPL and then it can stop undef'ing
    CONFIG_DM_USB. Leaving this as-is results in a build failure, and
    without work, run time failure. The other case is am43xx_evm.h and in
    turn am43xx_evm_usbhost_boot. The problem here is that we need DWC3 USB
    host mode in SPL, but still desire to have gadget mode in U-Boot proper.

    Signed-off-by: Tom Rini

    Tom Rini
     

28 Aug, 2017

1 commit


15 Aug, 2017

1 commit


01 Aug, 2017

1 commit


27 Jul, 2017

1 commit

  • function board_init_f_init_reserve will call memset, which
    is implemented in lib, and enabled by CONFIG_SPL_LIBGENERIC_SUPPORT
    in spl stage.
    To reduce the code size, also enable SPL_TINY_MEMSET.
    As rk3036 will return to bootrom immediately after dram
    initialization, there is no need to run DM, so disable
    SPL_DM_SERIAL.

    Signed-off-by: Andy Yan
    Reviewed-by: Simon Glass
    Acked-by: Philipp Tomsich
    Reviewed-by: Philipp Tomsich

    Andy Yan