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
     

13 Dec, 2017

2 commits


27 Oct, 2017

3 commits


09 Oct, 2017

2 commits

  • Due to a conflict with recent Primary Protected Application (PPA),
    PPA cannot be loaded for SPL stage, falcon boot is not enabled by
    default. With compatible PPA image, to enable falcon boot, activate
    these Kconfig options in defconfig
    CONFIG_SPL_FIT=y
    CONFIG_SPL_FSL_LS_PPA=y
    CONFIG_SPL_GZIP=y
    CONFIG_SPL_LOAD_FIT=y
    CONFIG_SPL_OS_BOOT=y
    CONFIG_SPL_OF_LIBFDT=y

    Because environment variables are not avaiable during SPL stage for
    SD boot, set "boot_os=y" as default.

    Signed-off-by: York Sun
    Reviewed-by: Simon Glass

    York Sun
     
  • This board has soldered DDR chips. To reduce the SPL image size,
    use static DDR setting instead of dynamic DDR driver.

    Signed-off-by: York Sun

    York Sun
     

12 Aug, 2017

1 commit

  • This converts the following to Kconfig:
    CONFIG_CMD_SCSI

    Also update the Makefile to use CONFIG_CMD_SCSI instead of CONFIG_SCSI to
    enable the command, fixing an earlier error.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    Reviewed-by: Philipp Tomsich
    [trini: Rework to default y if SCSI, drop cl-som-am57x which did not use
    CMD_SCSI for real]
    Signed-off-by: Tom Rini

    Simon Glass
     

09 Aug, 2017

1 commit


08 Aug, 2017

1 commit


01 Aug, 2017

1 commit

  • Migrate all remaining instances of CMD_NAND, CMD_NAND_TRIMFFS
    CMD_NAND_LOCK_UNLOCK and CMD_NAND_TORTURE from the headers into the
    defconfig files.

    Tested-by: Adam Ford
    Signed-off-by: Tom Rini
    Reviewed-by: Bin Meng

    Tom Rini
     

29 Jul, 2017

1 commit


26 Jul, 2017

2 commits

  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_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
     

04 Jun, 2017

2 commits


02 Jun, 2017

1 commit


24 May, 2017

2 commits


18 Apr, 2017

2 commits

  • Add NAND secure boot target for ls1043ardb.

    - Change the u-boot size defined by a macro for copying the main
    U-Boot by SPL to also include the u-boot Secure Boot header size as
    header is appended to u-boot image. So header will also be copied
    from SD to DDR.
    - MACRO for CONFIG_BOOTSCRIPT_COPY_RAM is enabled to copy Bootscript
    from NAND to DDR. Offsets for Bootscript on NAND and DDR have been
    also defined.

    Signed-off-by: Vinitha Pillai
    Signed-off-by: Sumit Garg
    Signed-off-by: Ruchika Gupta
    Reviewed-by: York Sun

    Ruchika Gupta
     
  • Using changes in this patch we were able to reduce approx 10k
    size of u-boot-spl.bin image. Following is breif description of
    changes to reduce SPL size:
    1. Changes in board/freescale/ls1043ardb/Makefile to remove
    compilation of eth.c and cpld.c in case of SPL build.
    2. Changes in board/freescale/ls1043ardb/ls1043ardb.c to keep
    only ddr_init and board_early_init_f funcations in case of SPL
    build.
    3. Changes in ls1043a_common.h & ls1043ardb.h to remove driver
    specific macros due to which static data was being compiled in
    case of SPL build.
    4. Disable MMC driver from bieng compiled in case of SPL NAND
    build and NAND driver from bieng compiled in case of SPL MMC build.
    5. Remove I2C driver support from SPL in case of LS1043ARDB.

    Signed-off-by: Vinitha Pillai
    Signed-off-by: Sumit Garg
    Reviewed-by: York Sun

    Sumit Garg
     

14 Mar, 2017

1 commit


28 Jan, 2017

3 commits


22 Jan, 2017

1 commit


19 Jan, 2017

3 commits


16 Dec, 2016

1 commit

  • NXP/Freescale uses macro CONFIG_ARMV8_PSCI to enable their private PSCI
    implementation in PPA firmware, but this macro naming too generic, so this
    patch replaces it with a specic one CONFIG_FSL_PPA_ARMV8_PSCI.
    And this macro CONFIG_ARMV8_PSCI will be used for a generic PSCI for ARMv8
    which will be added in following patchs.

    Signed-off-by: Hongbo Zhang
    Reviewed-by: Tom Rini
    Reviewed-by: York Sun

    macro.wave.z@gmail.com
     

28 Oct, 2016

1 commit


12 Oct, 2016

2 commits


10 Sep, 2016

1 commit


03 Aug, 2016

1 commit


20 Jul, 2016

1 commit


04 Jun, 2016

2 commits

  • Create an entry for "config USB_XHCI_DWC3" in Kconfig and
    switch over to it for all boards.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • Move CONFIG_USB_XHCI to defconfig files for all boards, renaming it
    into CONFIG_USB_XHCI_HCD.

    As commented in the help of "config USB_XHCI" entry, this has been
    a TODO for a long time; now CONFIG_USB_XHCI_HCD and CONFIG_USB_XHCI
    have been unified in favor of the former.

    Note:
    Some boards define CONFIG_USB_XHCI in their headers without
    CONFIG_USB, which does not meet the "depends on" in Kconfig.
    I added CONFIG_USB=y for those boards when converting.
    Otherwise, they would fail to build.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

18 May, 2016

1 commit