07 Feb, 2020

1 commit

  • This partially reverts changes by commit 2cc393f32fd9
    ("video: make BPP and ANSI configs optional") since it
    caused issues with other boards (missing LCD console
    output on pinebook, x86 platform or sandbox). Enable
    all disabled options again and opt out of not supported
    color depth in board defconfigs.

    Signed-off-by: Anatolij Gustschin
    Reported-by: Vagrant Cascadian

    Anatolij Gustschin
     

23 Jan, 2020

1 commit


06 Dec, 2019

1 commit

  • Many boards do not use all selected framebuffer depth
    configurations, for such boards there is some unused
    code in video and console uclass routines. Make depth
    specific code optional to avoid dead code and slightly
    reduce binary size. Also make ANSI code optional for
    the same reason. When i.e. using only VIDEO_BPP16 the
    code size shrinks (below values when using gcc-7.3.0):

    $ ./tools/buildman/buildman -b video-wip -sS wandboard
    ...
    01: Merge git://git.denx.de/u-boot-sh
    02: video: add guards around 16bpp/32bbp code
    03: video: make BPP and ANSI configs optional
    arm: (for 1/1 boards) all -776.0 bss -8.0 text -768.0

    Signed-off-by: Anatolij Gustschin
    Tested-by: Eugen Hristev
    Tested-by: Patrice Chotard
    Tested-by: Steffen Dirkwinkel

    Anatolij Gustschin
     

21 Nov, 2019

2 commits

  • - In ARMv8 NXP Layerscape platforms we also need to make use of
    CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
    - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
    to 0.
    - Add Kconfig entry for ENV_ADDR.
    - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
    - Add ENV_xxx_REDUND options that depend on their primary option and
    SYS_REDUNDAND_ENVIRONMENT
    - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
    for the pre-main-U-Boot environment location.
    - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
    rather it being non-zero, as it will now be zero by default.
    - Rework the env_offset absolute in env/embedded.o to not use
    CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
    ENV_IS_IN_FLASH.
    - Migrate all platforms.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Cc: Patrick Delaunay
    Cc: uboot-stm32@st-md-mailman.stormreply.com
    Signed-off-by: Tom Rini
    Acked-by: Joe Hershberger
    Reviewed-by: Simon Goldschmidt

    Tom Rini
     
  • 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
     

08 Nov, 2019

1 commit


24 Oct, 2019

1 commit

  • The mode selection for the DWC3 is kind of obsolete. The driver does not
    have to be host only or gadget only. This choice is confusing.
    All the remaining callers of dwc3_uboot_init() explicitly set dr_mode
    before calling the function, so none rely on a default behavior.

    Remove the choice menu and keep only the USB_DWC3_GADGET option. Enable it
    by default if USB_GADGET and USB_DWC3 are enabled.
    It must be disabled for the evb-rk3328 as it uses DWC2 for the gadget and
    DWC3 for the host.

    Signed-off-by: Jean-Jacques Hiblot

    Jean-Jacques Hiblot
     

18 Oct, 2019

2 commits


14 Aug, 2019

1 commit


12 Aug, 2019

2 commits

  • Disable the PSCI_RESET reboot handler to permit handling the reboot
    flag and calling the PSCI handler with the flag in parameter.

    Signed-off-by: Neil Armstrong

    Neil Armstrong
     
  • The SEI510 board is based on the Amlogic S905X2 SoC
    from the Amlogic G12A SoC family.

    The board has the following specifications :
    - Amlogic S905X2 ARM Cortex-A53 quad-core SoC
    - XGB DDR4 SDRAM
    - 10/100 Ethernet (Internal PHY)
    - 1 x USB 3.0 Host
    - eMMC
    - SDcard
    - Infrared receiver
    - SDIO WiFi Module

    The board default behaviour is for booting Android and triggers
    fastboot on recovery or reboot mode.

    USB vendor ID (used by fastboot) is 0x18d1 (Google) for
    default udev rules for existing android users work out of the box.

    Signed-off-by: Kevin Hilman
    Signed-off-by: Jerome Brunet
    Signed-off-by: Guillaume La Roque
    Signed-off-by: Neil Armstrong

    Jerome Brunet