20 Aug, 2018

1 commit

  • Currently building U-Boot as the coreboot payload requires user
    to change the build configuration for a specific board during
    menuconfig process. This uses the board's native device tree
    to configure the hardware. For example, the device tree provides
    PCI address range for the PCI host controller and U-Boot will
    re-program all PCI devices' BAR to be within this range. In order
    to make sure we don't mess up the hardware, we should guarantee
    the range matches what coreboot programs the chipset.

    But we really should make the coreboot payload support easier.
    Just like EFI payload, we can create a generic coreboot payload
    for all x86 boards as well. The payload is configured to include
    as many generic drivers as possible. All stuff that touches low
    level initialization are not allowed as such is the coreboot's
    responsibility. Platform specific drivers (like gpio, spi, etc)
    are not included.

    Signed-off-by: Bin Meng
    Reviewed-by: Christian Gmeiner

    Bin Meng
     

07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

16 Apr, 2018

1 commit


01 Aug, 2017

2 commits


17 Mar, 2016

1 commit


04 Jun, 2015

2 commits


13 May, 2015

1 commit

  • By making the board selections optional, every defconfig will include
    the board selection when running savedefconfig so if a new board is
    added to the top of the list of choices the former top's defconfig will
    still be correct.

    Signed-off-by: Joe Hershberger
    Cc: Masahiro Yamada
    Acked-by: Stephen Warren
    Cc: Tom Rini

    Joe Hershberger
     

30 Apr, 2015

2 commits


19 Apr, 2015

1 commit


13 Jan, 2015

5 commits

  • cros_ec_board_init() should be called only when CONFIG_CROS_EC is
    enabled.

    Signed-off-by: Bin Meng
    Acked-by: Simon Glass

    Bin Meng
     
  • Change SYS_CONFIG_NAME and DEFAULT_DEVICE_TREE to chromebook_link
    which is currently the only real board officially supported to run
    U-Boot loaded by coreboot.

    Note the symbolic link file chromebook_link.dts is deleted and
    link.dts is renamed to chromebook_link.dts.

    To avoid multiple definition of video_hw_init, the CONFIG_VIDEO_X86
    define needs to be moved to arch/x86/cpu/ivybridge/Kconfig.

    Signed-off-by: Bin Meng
    Acked-by: Simon Glass

    Bin Meng
     
  • Since we already swtiched to use the new mechanism for building
    U-Boot for coreboot, coreboot.h is no longer needed so remove it.

    Signed-off-by: Bin Meng
    Acked-by: Simon Glass

    Bin Meng
     
  • Move CONFIG_SYS_CAR_ADDR and CONFIG_SYS_CAR_SIZE to Kconfig so that
    we don't need them in the board configuration file thus the same
    board configuratoin file can be used to build both coreboot version
    and bare version.

    Signed-off-by: Bin Meng
    Acked-by: Simon Glass

    Bin Meng
     
  • In theory U-Boot built for coreboot is supposed to run as a payload
    to be loaded by coreboot on every board that coreboot supports.
    The U-Boot build process uses SYS_CONFIG_NAME and DEFAULT_DEVICE_TREE
    which are hardcoded in board defconfig and Kconfig files. For better
    support of coreboot, we want to make these two options configurable
    so that we can easily change them during 'make menuconfig' so that
    the generated U-Boot image for coreboot is board configuration aware.

    Signed-off-by: Bin Meng
    Acked-by: Simon Glass

    Bin Meng
     

19 Dec, 2014

1 commit

  • Intel Tunnel Creek GPIO register block is compatible with current
    ich6-gpio driver, except the offset and content of GPIO block base
    address register in the LPC PCI configuration space are different.

    Use u16 instead of u32 to store the 16-bit I/O address of the GPIO
    registers so that it could support both Ivybridge and Tunnel Creek.

    Signed-off-by: Bin Meng
    Acked-by: Simon Glass

    Bin Meng
     

14 Dec, 2014

1 commit


21 Nov, 2014

1 commit

  • Rename this vendor since it is intended to be used on any platform where
    coreboot runs at reset and then loads U-Boot.

    So far it is only tested on link. When other boards are supported it is
    likely that we will need to move to multiple board names, all under the
    'coreboot' vendor. So while it would be possible to remove the vendor for
    now, that would be short-sighted.

    Suggested-by: Bin Meng
    Signed-off-by: Simon Glass

    Simon Glass