[U-Boot] [PATCH 17/39] x86: Add chromebook_link board
Simon Glass
sjg at chromium.org
Fri Nov 7 17:27:25 CET 2014
Hi Bin,
On 7 November 2014 03:18, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> Hi Simon,
>
> On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass <sjg at chromium.org> wrote:
> > This board is a 'bare' version of the existing 'link 'board. It does not
> > require coreboot to run, but is intended to start directly from the reset
> > vector.
> >
> > This initial commit has place holders for a wide range of features. These
> > will be added in follow-on patches and series. So far it cannot be booted
> > as there is no ROM image produced, but it does build without errors.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > arch/x86/Kconfig | 23 +++++
> > arch/x86/cpu/coreboot/coreboot.c | 8 ++
> > arch/x86/cpu/cpu.c | 32 ++++--
> > arch/x86/cpu/ivybridge/Kconfig | 157 +++++++++++++++++++++++++++++
> > arch/x86/cpu/ivybridge/Makefile | 9 ++
> > arch/x86/cpu/ivybridge/car.S | 20 ++++
> > arch/x86/cpu/ivybridge/cpu.c | 41 ++++++++
> > arch/x86/cpu/ivybridge/sdram.c | 20 ++++
> > arch/x86/dts/Makefile | 1 +
> > arch/x86/dts/chromebook_link.dts | 1 +
> > arch/x86/include/asm/arch-ivybridge/gpio.h | 10 ++
> > arch/x86/include/asm/processor.h | 12 +++
> > board/google/chromebook_link/Kconfig | 15 +++
> > board/google/chromebook_link/MAINTAINERS | 6 ++
> > board/google/chromebook_link/Makefile | 15 +++
> > board/google/chromebook_link/link.c | 17 ++++
> > configs/chromebook_link_defconfig | 10 ++
> > include/configs/chromebook_link.h | 53 ++++++++++
> > 18 files changed, 443 insertions(+), 7 deletions(-)
> > create mode 100644 arch/x86/cpu/ivybridge/Kconfig
> > create mode 100644 arch/x86/cpu/ivybridge/Makefile
> > create mode 100644 arch/x86/cpu/ivybridge/car.S
> > create mode 100644 arch/x86/cpu/ivybridge/cpu.c
> > create mode 100644 arch/x86/cpu/ivybridge/sdram.c
> > create mode 120000 arch/x86/dts/chromebook_link.dts
> > create mode 100644 arch/x86/include/asm/arch-ivybridge/gpio.h
> > create mode 100644 board/google/chromebook_link/Kconfig
> > create mode 100644 board/google/chromebook_link/MAINTAINERS
> > create mode 100644 board/google/chromebook_link/Makefile
> > create mode 100644 board/google/chromebook_link/link.c
> > create mode 100644 configs/chromebook_link_defconfig
> > create mode 100644 include/configs/chromebook_link.h
> >
> > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> > index 0dba8ac..07ff149 100644
> > --- a/arch/x86/Kconfig
> > +++ b/arch/x86/Kconfig
> > @@ -12,9 +12,32 @@ choice
> >
> > config TARGET_COREBOOT
> > bool "Support coreboot"
> > + help
> > + This target is used for running U-Boot on top of Coreboot. In
> > + this case Coreboot does the early inititalisation, and U-Boot
> > + takes over once the RAM, video and CPU are fully running.
> > + U-Boot is loaded as a fallback payload from Coreboot, in
> > + Coreboot terminology. This method was used for the Chromebook
> > + Pixel when launched.
> > +
> > +config TARGET_CHROMEBOOK_LINK
> > + bool "Support Chromebook link"
> > + help
> > + This is the Chromebook Pixel released in 2013. It uses an Intel
> > + i5 Ivybridge which is a die-shrink of Sandybridge, with 4GB of
> > + SDRAM. It has a Panther Point peripheral controller hub, PCIe
>
> Intel official name is 'platform controller hub'.
OK I'll update this.
>
>
> > + WiFi and Bluetooth. It also includes a 720p webcam, USB SD
> > + reader, microphone and speakers, display port and 32GB SATA
> > + solid state drive. There is a Chrome OS EC connected on LPC,
> > + and it provides a 2560x1700 high resolution touch-enabled LCD
> > + display.
> >
> > endchoice
> >
> > +source "arch/x86/cpu/ivybridge/Kconfig"
> > +
> > source "board/chromebook-x86/coreboot/Kconfig"
>
> Not related to this patch, but do you consider renaming
> 'board/chromebook-x86/' to something like 'board/generic-x86/' since
> this build of U-Boot is supposed to run as a payload from coreboot on
> every board that coreboot supports in theory.
Possibly, although it isn't really generic. Probably we should just
use the name coreboot consistently. Actually I think I had this
discussion with the original author but he wasn't having it...
[snip]
Regards,
Simon
More information about the U-Boot
mailing list