24 Feb, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_BOOTP_BOOTPATH
    CONFIG_BOOTP_DNS
    CONFIG_BOOTP_GATEWAY
    CONFIG_BOOTP_HOSTNAME
    CONFIG_BOOTP_PXE
    CONFIG_BOOTP_SUBNETMASK
    CONFIG_CMDLINE_EDITING
    CONFIG_AUTO_COMPLETE
    CONFIG_SYS_LONGHELP
    CONFIG_SUPPORT_RAW_INITRD
    CONFIG_ENV_VARS_UBOOT_CONFIG

    Signed-off-by: Adam Ford
    [trini: Re-run the migration]
    Signed-off-by: Tom Rini

    Adam Ford
     

23 Jan, 2018

1 commit


27 Oct, 2017

1 commit


21 Oct, 2017

1 commit

  • This converts the following to Kconfig:
    CONFIG_NAND_MXC
    CONFIG_NAND_OMAP_GPMC
    CONFIG_NAND_OMAP_GPMC_PREFETCH
    CONFIG_NAND_OMAP_ELM
    CONFIG_SPL_NAND_AM33XX_BCH
    CONFIG_SPL_NAND_SIMPLE
    CONFIG_SYS_NAND_BUSWIDTH_16BIT

    Signed-off-by: Adam Ford
    Reviewed-by: Heiko Schocher
    [trini: Finish migration of CONFIG_SPL_NAND_SIMPLE, fix some build issues,
    add CONFIG_NAND_MXC so we can do CONFIG_SYS_NAND_BUSWIDTH_16BIT]
    Signed-off-by: Tom Rini

    Adam Ford
     

13 Aug, 2017

1 commit


12 Aug, 2017

1 commit


09 Aug, 2017

1 commit


08 Aug, 2017

1 commit


29 Jul, 2017

1 commit


26 Jul, 2017

1 commit


10 Jun, 2017

1 commit

  • Almost all users of CONFIG_AM33XX/AM43XX have been migrated. Finish
    moving the last few over to Kconfig, and put all of the boards under the
    appropriate Kconfig chocie now. This board choice is non-optional, so
    remove that keyword on am33xx.

    Signed-off-by: Tom Rini

    Tom Rini
     

22 May, 2017

1 commit

  • This converts the following to Kconfig:
    CONFIG_CMD_EEPROM
    CONFIG_CMD_EEPROM_LAYOUT
    CONFIG_EEPROM_LAYOUT_HELP_STRING

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini
    [trini: Rework Kconfig logic slightly, define EEPROM location on TI eval
    platforms]
    Signed-off-by: Tom Rini

    Simon Glass
     

28 Jan, 2017

2 commits


22 Nov, 2016

1 commit

  • This moves what was in arch/arm/cpu/armv7/omap-common in to
    arch/arm/mach-omap2 and moves
    arch/arm/cpu/armv7/{am33xx,omap3,omap4,omap5} in to arch/arm/mach-omap2
    as subdirectories. All refernces to the former locations are updated to
    the current locations. For the logic to decide what our outputs are,
    consolidate the tests into a single config.mk rather than including 4.

    Signed-off-by: Tom Rini

    Tom Rini
     

19 Nov, 2016

1 commit


15 Oct, 2016

1 commit


17 Sep, 2016

6 commits


10 Sep, 2016

1 commit


07 Sep, 2016

1 commit

  • On all TI platforms the ROM defines a "downloaded image" area at or near
    the start of SRAM which is followed by a reserved area. As it is at
    best bad form and at worst possibly harmful in corner cases to write in
    this reserved area, we stop doing that by adding in the define
    NON_SECURE_SRAM_IMG_END to say where the end of the downloaded image
    area is and make SRAM_SCRATCH_SPACE_ADDR be one kilobyte before this.
    At current we define the end of scratch space at 0x228 bytes past the
    start of scratch space this this gives us a lot of room to grow. As
    these scratch uses are non-optional today, all targets are modified to
    respect this boundary.

    Tested on OMAP4 Pandaboard, OMAP3 Beagle xM

    Cc: Albert Aribaud
    Cc: Nagendra T S
    Cc: Vaibhav Hiremath
    Cc: Lokesh Vutla
    Cc: Felipe Balbi
    Cc: Igor Grinberg
    Cc: Nikita Kiryanov
    Cc: Paul Kocialkowski
    Cc: Enric Balletbo i Serra
    Cc: Adam Ford
    Cc: Steve Sakoman
    Cc: Stefan Roese
    Cc: Thomas Weber
    Cc: Hannes Schmelzer
    Cc: Thomas Chou
    Cc: Masahiro Yamada
    Cc: Simon Glass
    Cc: Joe Hershberger
    Cc: Sam Protsenko
    Cc: Heiko Schocher
    Cc: Samuel Egli
    Cc: Michal Simek
    Cc: Wolfgang Denk
    Cc: Mateusz Kulikowski
    Cc: Ben Whitten
    Cc: Stefano Babic
    Cc: Bin Meng
    Cc: Sekhar Nori
    Cc: Mugunthan V N
    Cc: "B, Ravi"
    Cc: "Matwey V. Kornilov"
    Cc: Ladislav Michl
    Cc: Ash Charles
    Cc: "Kipisz, Steven"
    Cc: Daniel Allred
    Signed-off-by: Tom Rini
    Tested-by: Lokesh Vutla
    Acked-by: Lokesh Vutla
    Tested-by: Ladislav Michl

    Tom Rini
     

27 Aug, 2016

1 commit

  • This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all
    cases we are mirroring the values used by the Linux Kernel here. Also,
    so long as (and in this case, it is true) we implement flushes in hunks
    that are no larger than the smallest implementation (and given that we
    mirror the Linux Kernel, again we are fine) it is OK to align higher.
    The biggest changes here are that we always use 64 bytes for CPU_V7 even
    if for example the underlying core is only 32 bytes (this mirrors
    Linux). Second, we say ARM64 uses 64 bytes not 128 (as found in the
    Linux Kernel) as we do not need multi-platform support (to this degree)
    and only the Cavium ThunderX 88xx series has a use for such large
    alignment.

    Cc: Albert Aribaud
    Cc: Marek Vasut
    Cc: Stefano Babic
    Cc: Prafulla Wadaskar
    Cc: Luka Perkov
    Cc: Stefan Roese
    Cc: Nagendra T S
    Cc: Vaibhav Hiremath
    Acked-by: Lokesh Vutla
    Cc: Steve Rae
    Cc: Igor Grinberg
    Cc: Nikita Kiryanov
    Cc: Stefan Agner
    Acked-by: Heiko Schocher
    Cc: Mateusz Kulikowski
    Cc: Peter Griffin
    Acked-by: Paul Kocialkowski
    Cc: Anatolij Gustschin
    Acked-by: "Pali Rohár"
    Cc: Adam Ford
    Cc: Steve Sakoman
    Cc: Grazvydas Ignotas
    Cc: Nishanth Menon
    Cc: Stephen Warren
    Cc: Robert Baldyga
    Cc: Minkyu Kang
    Cc: Thomas Weber
    Cc: Masahiro Yamada
    Cc: David Feng
    Cc: Alison Wang
    Cc: Michal Simek
    Cc: Simon Glass
    Cc: York Sun
    Cc: Shengzhou Liu
    Cc: Mingkai Hu
    Cc: Prabhakar Kushwaha
    Cc: Aneesh Bansal
    Cc: Saksham Jain
    Cc: Qianyu Gong
    Cc: Wang Dongsheng
    Cc: Alex Porosanu
    Cc: Hongbo Zhang
    Cc: tang yuantian
    Cc: Rajesh Bhagat
    Cc: Josh Wu
    Cc: Bo Shen
    Cc: Viresh Kumar
    Cc: Hannes Schmelzer
    Cc: Thomas Chou
    Cc: Joe Hershberger
    Cc: Sam Protsenko
    Cc: Bin Meng
    Cc: Christophe Ricard
    Cc: Anand Moon
    Cc: Beniamino Galvani
    Cc: Carlo Caione
    Cc: huang lin
    Cc: Sjoerd Simons
    Cc: Xu Ziyuan
    Cc: "jk.kernel@gmail.com"
    Cc: "Ariel D'Alessandro"
    Cc: Kever Yang
    Cc: Samuel Egli
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Hans de Goede
    Cc: Ian Campbell
    Cc: Siarhei Siamashka
    Cc: Boris Brezillon
    Cc: Andre Przywara
    Cc: Bernhard Nortmann
    Cc: Wolfgang Denk
    Cc: Ben Whitten
    Cc: Tom Warren
    Cc: Alexander Graf
    Cc: Sekhar Nori
    Cc: Vitaly Andrianov
    Cc: "Andrew F. Davis"
    Cc: Murali Karicheri
    Cc: Carlos Hernandez
    Cc: Ladislav Michl
    Cc: Ash Charles
    Cc: Mugunthan V N
    Cc: Daniel Allred
    Cc: Gong Qianyu
    Signed-off-by: Tom Rini
    Acked-by: Masahiro Yamada
    Acked-by: Chin Liang See
    Tested-by: Stephen Warren
    Acked-by: Paul Kocialkowski

    Tom Rini
     

08 Aug, 2016

1 commit

  • The meaning of CONFIG_USB in U-Boot is different from that in Linux.

    As you see in drivers/usb/Kconfig of Linux, CONFIG_USB enables the
    USB host controller support, while CONFIG_USB_SUPPORT is used to
    enable the whole of the USB sub-system.

    When I added CONFIG_USB into Kconfig by commit 6e7e9294d321 ("usb:
    add basic USB configs in Kconfig"), I planned to follow the Linux's
    convention, i.e. CONFIG_USB to enable/disable the USB host support.

    Then, commit 68f7c5db2d1e ("usb: Generic USB Kconfig option, that
    fits both host and gadget and comments") changed the logic of the
    CONFIG_USB to point to the whole of the USB sub-system. As a result,
    currently we do not have an option for USB host.

    This commit adds CONFIG_USB_HOST, which will be useful to compile
    in the USB host support code.

    CONFIG_USB_HOST is not referenced at all, but strangely some boards
    define it in board headers. I removed them because USB_HOST will be
    selected in Kconfig going forward.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

02 Jul, 2016

1 commit

  • As the help message of CONFIG_BOOTDELAY says, CONFIG_BOOTDELAY=-2
    means the autoboot with no delay, with no abort check even if
    CONFIG_ZERO_BOOTDELAY_CHECK is defined.

    To sum up, the autoboot behaves as follows:

    [1] CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=y
    autoboot with no delay, but you can abort it by key input

    [2] CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=n
    autoboot with no delay, with no check for abort

    [3] CONFIG_BOOTDELAY=-1
    disable autoboot

    [4] CONFIG_BOOTDELAY=-2
    autoboot with no delay, with no check for abort

    As you notice, [2] and [4] come to the same result, which means we
    do not need CONFIG_ZERO_BOOTDELAY_CHECK. We can control all the
    cases only by CONFIG_BOOTDELAY, like this:

    [1] CONFIG_BOOTDELAY=0
    autoboot with no delay, but you can abort it by key input

    [2] CONFIG_BOOTDELAY=-1
    disable autoboot

    [3] CONFIG_BOOTDELAY=-2
    autoboot with no delay, with no check for abort

    This commit converts the logic as follow:
    CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=n
    --> CONFIG_BOOTDELAY=-2

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Stefan Roese
    Acked-by: Igor Grinberg
    Reviewed-by: Simon Glass
    Acked-by: Vladimir Zapolskiy
    Reviewed-by: Heiko Schocher
    Acked-by: Christian Riesch
    Acked-by: Hannes Schmelzer

    Masahiro Yamada
     

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
     

21 May, 2016

1 commit


26 Apr, 2016

2 commits


25 Feb, 2016

6 commits

  • Commit 755324 (configs: Use config_distro_defaults.h in ti_armv7_common.h)
    made ti_armv7_common.h include config_distro_defaults.h. This breaks the
    bootdelay feature in cm_t43 because now the
    - #include ti_armv7_common.h (#define CONFIG_BOOTDELAY 1)
    - #undef CONFIG_BOOTDELAY
    - #include config_distro_defaults.h (#define CONFIG_BOOTDELAY 2)
    dance in cm_t43.h is no longer valid and in fact leads to CONFIG_BOOTDELAY
    not being defined.

    Adapt the config file to the new inclusion hierarchy.

    Cc: Tom Rini
    Cc: Albert Aribaud
    Cc: Igor Grinberg
    Signed-off-by: Nikita Kiryanov
    Reviewed-by: Tom Rini

    Nikita Kiryanov
     
  • Update U-Boot offset and size for raw mmc boot.

    Cc: Tom Rini
    Cc: Albert Aribaud
    Cc: Igor Grinberg
    Signed-off-by: Nikita Kiryanov
    Reviewed-by: Tom Rini

    Nikita Kiryanov
     
  • During boot, U-Boot raises the CPU frequency but the CORE and MPU regulators
    are not updated. This is not a problem in cold boot since the default values
    that the pmic outputs are correct, but if Linux were to switch the module to a
    low power OPP, the new voltage values will be retained after a reboot and the
    module will likely hang once U-Boot raises the CPU frequency back up.

    Set both CORE and MPU regulators to to 1.1V on boot.

    Cc: Tom Rini
    Cc: Albert Aribaud
    Cc: Igor Grinberg
    Signed-off-by: Nikita Kiryanov
    Reviewed-by: Tom Rini

    Nikita Kiryanov
     
  • Add full support for SPI flash chips to future-proof U-Boot for cm-t43.

    Cc: Tom Rini
    Cc: Albert Aribaud
    Cc: Igor Grinberg
    Signed-off-by: Nikita Kiryanov
    Reviewed-by: Tom Rini

    Nikita Kiryanov
     
  • Move CONFIG_DM_SERIAL to cm_t43_defconfig. This forces us to update the
    CONFIG_SYS_NS16550_REG_SIZE value for SPL.

    Cc: Tom Rini
    Cc: Albert Aribaud
    Cc: Igor Grinberg
    Signed-off-by: Nikita Kiryanov
    Reviewed-by: Tom Rini

    Nikita Kiryanov
     
  • spl_board_init() is necessary for boot. Remove the #undef that keeps
    it out of the boot sequence.

    Cc: Tom Rini
    Cc: Albert Aribaud
    Cc: Igor Grinberg
    Signed-off-by: Nikita Kiryanov
    Reviewed-by: Tom Rini

    Nikita Kiryanov
     

25 Nov, 2015

1 commit