mbox series

Please pull u-boot-x86/next to next branch

Message ID CAEUhbmWRF2++RSveeENLjA0+GsGgo17m4mk6CSuSgckf-_8ehA@mail.gmail.com
State Awaiting Upstream
Delegated to: Tom Rini
Headers show
Series Please pull u-boot-x86/next to next branch | expand

Pull-request

https://gitlab.denx.de/u-boot/custodians/u-boot-x86 next

Message

Bin Meng Dec. 15, 2019, 1:16 p.m. UTC
Hi Tom,

This PR includes the following changes for u-boot/next branch.

- Various x86 common codes updated for TPL/SPL
- I2C designware driver updated for PCI
- ICH SPI driver updated to support Apollo Lake
- Add Intel FSP2 base support
- Intel Apollo Lake platform specific drivers support
- Add a new board Google Chromebook Coral

The following changes since commit 553cb06887825314e74a9bdac337467c77d1db88:

  Merge tag 'dm-next-13dec19' of
https://gitlab.denx.de/u-boot/custodians/u-boot-dm into next
(2019-12-12 08:18:59 -0500)

are available in the git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-x86 next

for you to fetch changes up to a1d6dc3f84071f05574044f337dbdca70fae495d:

  x86: Add chromebook_coral (2019-12-15 11:44:30 +0800)

----------------------------------------------------------------
Simon Glass (100):
      binman: Add a library to access binman entries
      dm: gpio: Allow control of GPIO uclass in SPL
      dm: core: Fix offset_to_ofnode() with invalid offset
      dm: pci: Allow delaying auto-config until after relocation
      dm: pci: Move pci_get_devfn() into a common file
      net: Move the checksum functions to lib/
      i2c: designware: Tidy up PCI support
      i2c: designware: Avoid using static data
      i2c: designware: Support use in SPL
      x86: spi: Add helper functions for Intel Fast SPI
      fdt: Show the preprocessed .dts file on error
      dm: pinctrl: Allow enabling full pinctrl in SPL/TPL
      board_r: Move early-timer init later
      x86: timer: use a timer base of 0
      x86: timer: Reduce timer code size in TPL on Intel CPUs
      x86: Drop unnecessary cpu code for TPL
      x86: Drop unnecessary interrupt code for TPL
      x86: power: Add an ACPI PMC uclass
      x86: sandbox: Add a PMC emulator and test
      pci: Add support for p2sb uclass
      sandbox: Disable mmio by default in tests
      sandbox: Add PCI driver and test for p2sb
      x86: Move UCLASS_IRQ into a separate file
      sandbox: Add a test for IRQ
      x86: Define the SPL image start
      x86: Reduce mrccache record alignment size
      x86: Correct mrccache find_next_mrc_cache() calculation
      x86: Adjust mrccache_get_region() to use livetree
      x86: Adjust mrccache_get_region() to support get_mmap()
      x86: Add a new global_data member for the cache record
      x86: Tidy up error handling in mrccache_save()
      x86: Update mrccache to support multiple caches
      x86: Add mrccache support for a 'variable' cache
      x86: Don't export mrccache_update()
      x86: Move fsp_prepare_mrc_cache() to fsp1 directory
      x86: Set the DRAM banks to reflect real location
      x86: Set up the MTRR for SDRAM
      x86: Don't imply libfdt or SPI flash in TPL
      x86: Allow removal of standard PCH drivers
      x86: Allow interrupt to happen once
      x86: fsp: Make graphics support common to FSP1/2
      x86: fsp: Correct wrong header inlude in fsp_support.c
      x86: fsp: Add FSP2 base support
      x86: fsp: Set up an MTRR for the graphics frame buffer
      x86: fsp: Add a new arch_fsp_init_r() hook
      x86: fsp: Allow remembering the location of FSP-S
      x86: fsp: Make the notify API call common
      x86: Don't include the BIOS emulator in TPL
      x86: Add an option to include a FIT
      x86: Add support for newer CAR schemes
      x86: Disable microcode section for FSP2
      x86: Update the fsp command for FSP2
      x86: Update .dtsi file for FSP2
      x86: Add an option to control the position of U-Boot
      x86: Add an option to control the position of SPL
      x86: Add an fdtmap and image-header
      x86: Don't repeat microcode in U-Boot if not needed
      x86: Separate out U-Boot and device tree in ROM image
      x86: Make MSR_PKG_POWER_SKU common
      spi: Correct operations check in dm_spi_xfer()
      x86: spi: Don't enable SPI_FLASH_BAR by default
      spi: ich: Move init function just above probe()
      spi: ich: Move the protection/lockdown code into a function
      spi: ich: Convert to livetree
      spi: ich: Fix header order
      spi: ich: Various small tidy-ups
      spi: ich: Add mmio_base to struct ich_spi_platdata
      dm: doc: Add a note about of-platdata and header files
      spi: ich: Correct max-size bug in ich_spi_adjust_size()
      spi: ich: Support of-platdata for fast-spi
      spi: ich: Support hardware sequencing
      spi: ich: Add support for get_mmap() method
      spi: ich: Add TPL support
      spi: ich: Add Apollo Lake support
      mtd: spi: Export spi_flash_std_probe()
      x86: Enable pinctrl in SPL and TPL
      x86: Add low-power subsystem (lpss) support
      x86: Add a generic Intel pinctrl driver
      x86: Add a generic Intel GPIO driver
      x86: Move qemu CPU fixup function into its own file
      x86: apl: Add basic IO addresses
      x86: apl: Add PMC driver
      x86: apl: Add UART driver
      x86: apl: Add pinctrl driver
      i2c: designware: Add Apollo Lake support
      x86: apl: Add systemagent driver
      x86: apl: Add hostbridge driver
      x86: apl: Add ITSS driver
      x86: apl: Add LPC driver
      x86: apl: Add PCH driver
      x86: apl: Add PUNIT driver
      spl: Add methods to find the position/size of next phase
      x86: apl: Add SPL loaders
      x86: apl: Add a CPU driver
      x86: apl: Add SPL/TPL init
      x86: apl: Add P2SB driver
      x86: apl: Add Kconfig and Makefile
      x86: apl: Add FSP structures
      x86: apl: Add FSP support
      x86: Add chromebook_coral

 Kconfig                                                |   9 +-
 arch/Kconfig                                           |   9 +-
 arch/arm/include/asm/omap_gpio.h                       |   2 +-
 arch/arm/mach-at91/include/mach/at91sam9260.h          |   2 +-
 arch/arm/mach-davinci/include/mach/gpio.h              |   2 +-
 arch/arm/mach-omap2/am33xx/board.c                     |   4 +-
 arch/arm/mach-omap2/omap3/board.c                      |   2 +-
 arch/arm/mach-omap2/omap5/hwinit.c                     |   2 +-
 arch/sandbox/cpu/state.c                               |   1 +
 arch/sandbox/dts/sandbox.dtsi                          |  14 ++
 arch/sandbox/dts/test.dts                              |  31 ++++
 arch/sandbox/include/asm/test.h                        |   2 +
 arch/x86/Kconfig                                       |  91 +++++++++++-
 arch/x86/cpu/Makefile                                  |   4 +-
 arch/x86/cpu/apollolake/Kconfig                        |  96 +++++++++++++
 arch/x86/cpu/apollolake/Makefile                       |  27 ++++
 arch/x86/cpu/apollolake/cpu.c                          |  41 ++++++
 arch/x86/cpu/apollolake/cpu_common.c                   |  17 +++
 arch/x86/cpu/apollolake/cpu_spl.c                      | 271
+++++++++++++++++++++++++++++++++++
 arch/x86/cpu/apollolake/fsp_m.c                        | 210
+++++++++++++++++++++++++++
 arch/x86/cpu/apollolake/fsp_s.c                        | 661
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/x86/cpu/apollolake/hostbridge.c                   | 179
+++++++++++++++++++++++
 arch/x86/cpu/apollolake/itss.c                         | 214
++++++++++++++++++++++++++++
 arch/x86/cpu/apollolake/lpc.c                          | 122 ++++++++++++++++
 arch/x86/cpu/apollolake/p2sb.c                         | 166
+++++++++++++++++++++
 arch/x86/cpu/apollolake/pch.c                          |  36 +++++
 arch/x86/cpu/apollolake/pmc.c                          | 216
++++++++++++++++++++++++++++
 arch/x86/cpu/apollolake/punit.c                        |  94 ++++++++++++
 arch/x86/cpu/apollolake/spl.c                          | 178
+++++++++++++++++++++++
 arch/x86/cpu/apollolake/systemagent.c                  |  23 +++
 arch/x86/cpu/apollolake/uart.c                         | 133 +++++++++++++++++
 arch/x86/cpu/broadwell/sdram.c                         |   8 +-
 arch/x86/cpu/coreboot/Kconfig                          |   1 +
 arch/x86/cpu/cpu.c                                     |   4 +
 arch/x86/cpu/i386/Makefile                             |   2 +
 arch/x86/cpu/i386/cpu.c                                |  41 +++++-
 arch/x86/cpu/intel_common/Makefile                     |  10 ++
 arch/x86/cpu/intel_common/car2.S                       | 448
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/x86/cpu/intel_common/car2_uninit.S                |  87 +++++++++++
 arch/x86/cpu/intel_common/fast_spi.c                   |  73 ++++++++++
 arch/x86/cpu/intel_common/lpss.c                       |  44 ++++++
 arch/x86/cpu/irq.c                                     |  13 --
 arch/x86/cpu/ivybridge/sdram.c                         |   8 +-
 arch/x86/cpu/mp_init.c                                 |  73 +---------
 arch/x86/cpu/qfw_cpu.c                                 |  73 ++++++++++
 arch/x86/cpu/quark/dram.c                              |   8 +-
 arch/x86/cpu/slimbootloader/Kconfig                    |   1 +
 arch/x86/cpu/u-boot-spl.lds                            |   5 +-
 arch/x86/dts/Makefile                                  |   1 +
 arch/x86/dts/chromebook_coral.dts                      | 831
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/x86/dts/u-boot.dtsi                               |  91 +++++++++---
 arch/x86/include/asm/arch-apollolake/cpu.h             |  20 +++
 arch/x86/include/asm/arch-apollolake/fsp/fsp_configs.h |  14 ++
 arch/x86/include/asm/arch-apollolake/fsp/fsp_m_upd.h   | 123 ++++++++++++++++
 arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h   | 292
+++++++++++++++++++++++++++++++++++++
 arch/x86/include/asm/arch-apollolake/fsp/fsp_vpd.h     |  11 ++
 arch/x86/include/asm/arch-apollolake/gpio.h            | 485
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/x86/include/asm/arch-apollolake/iomap.h           |  29 ++++
 arch/x86/include/asm/arch-apollolake/itss.h            |  43 ++++++
 arch/x86/include/asm/arch-apollolake/lpc.h             |  82 +++++++++++
 arch/x86/include/asm/arch-apollolake/pch.h             |   9 ++
 arch/x86/include/asm/arch-apollolake/pm.h              |  19 +++
 arch/x86/include/asm/arch-apollolake/systemagent.h     |  37 +++++
 arch/x86/include/asm/arch-apollolake/uart.h            |  20 +++
 arch/x86/include/asm/arch-broadwell/cpu.h              |   1 -
 arch/x86/include/asm/arch-ivybridge/model_206ax.h      |   1 -
 arch/x86/include/asm/fast_spi.h                        |  68 +++++++++
 arch/x86/include/asm/fsp/fsp_api.h                     |  24 ++++
 arch/x86/include/asm/fsp/fsp_support.h                 |   7 -
 arch/x86/include/asm/fsp1/fsp_api.h                    |  21 +--
 arch/x86/include/asm/fsp2/fsp_api.h                    |  63 ++++++++
 arch/x86/include/asm/fsp2/fsp_internal.h               |  97 +++++++++++++
 arch/x86/include/asm/global_data.h                     |  25 +++-
 arch/x86/include/asm/intel_pinctrl.h                   | 306
+++++++++++++++++++++++++++++++++++++++
 arch/x86/include/asm/intel_pinctrl_defs.h              | 373
++++++++++++++++++++++++++++++++++++++++++++++++
 arch/x86/include/asm/lpss.h                            |  36 +++++
 arch/x86/include/asm/mrccache.h                        |  29 ++--
 arch/x86/include/asm/msr-index.h                       |  10 +-
 arch/x86/include/asm/processor.h                       |  12 +-
 arch/x86/include/asm/spl.h                             |   1 +
 arch/x86/lib/Makefile                                  |   2 +
 arch/x86/lib/fsp/Makefile                              |   3 +
 arch/x86/lib/fsp/fsp_common.c                          |  20 ---
 arch/x86/lib/fsp/fsp_dram.c                            |  35 ++++-
 arch/x86/lib/{fsp1 => fsp}/fsp_graphics.c              |   6 +-
 arch/x86/lib/fsp/fsp_support.c                         |   2 +-
 arch/x86/lib/fsp1/Makefile                             |   1 -
 arch/x86/lib/fsp1/fsp_common.c                         |  20 +++
 arch/x86/lib/fsp1/fsp_dram.c                           |   8 +-
 arch/x86/lib/fsp2/Makefile                             |  10 ++
 arch/x86/lib/fsp2/fsp_common.c                         |  13 ++
 arch/x86/lib/fsp2/fsp_dram.c                           |  78 ++++++++++
 arch/x86/lib/fsp2/fsp_init.c                           | 191
+++++++++++++++++++++++++
 arch/x86/lib/fsp2/fsp_meminit.c                        |  97 +++++++++++++
 arch/x86/lib/fsp2/fsp_silicon_init.c                   |  54 +++++++
 arch/x86/lib/fsp2/fsp_support.c                        | 131 +++++++++++++++++
 arch/x86/lib/mrccache.c                                | 204
++++++++++++++++----------
 arch/x86/lib/pirq_routing.c                            |  10 ++
 board/freescale/imx8qm_mek/imx8qm_mek.c                |   2 +-
 board/freescale/imx8qxp_mek/imx8qxp_mek.c              |   2 +-
 board/gateworks/gw_ventana/Kconfig                     |   3 +
 board/google/Kconfig                                   |  15 ++
 board/google/chromebook_coral/Kconfig                  |  43 ++++++
 board/google/chromebook_coral/MAINTAINERS              |   6 +
 board/google/chromebook_coral/Makefile                 |   5 +
 board/google/chromebook_coral/coral.c                  |  19 +++
 board/toradex/apalis-imx8/apalis-imx8.c                |   2 +-
 cmd/Kconfig                                            |   8 ++
 cmd/Makefile                                           |   1 +
 cmd/pmc.c                                              |  81 +++++++++++
 cmd/x86/fsp.c                                          |  65 ++++++---
 common/board_r.c                                       |  32 ++++-
 common/spl/spl.c                                       |  20 +++
 configs/chromebook_coral_defconfig                     | 102 +++++++++++++
 configs/chromebook_samus_tpl_defconfig                 |   3 +
 configs/omap35_logic_defconfig                         |   1 +
 configs/qemu-x86_64_defconfig                          |   1 +
 configs/sandbox64_defconfig                            |   4 +
 configs/sandbox_defconfig                              |   2 +
 configs/sandbox_flattree_defconfig                     |   4 +
 configs/sandbox_spl_defconfig                          |   4 +
 configs/tools-only_defconfig                           |   2 +
 doc/board/google/chromebook_coral.rst                  | 241
+++++++++++++++++++++++++++++++
 doc/board/google/index.rst                             |   1 +
 doc/device-tree-bindings/gpio/intel,apl-gpio.txt       |  55 +++++++
 doc/device-tree-bindings/pci/x86-pci.txt               |  24 ++++
 doc/device-tree-bindings/pinctrl/intel,apl-pinctrl.txt |  39 +++++
 doc/driver-model/of-plat.rst                           |   6 +
 drivers/Makefile                                       |   1 +
 drivers/core/util.c                                    |  20 +++
 drivers/gpio/Kconfig                                   |  31 ++++
 drivers/gpio/Makefile                                  |   5 +-
 drivers/gpio/at91_gpio.c                               |   6 +-
 drivers/gpio/atmel_pio4.c                              |   2 +-
 drivers/gpio/da8xx_gpio.c                              |   7 +-
 drivers/gpio/da8xx_gpio.h                              |   2 +-
 drivers/gpio/intel_gpio.c                              | 161
+++++++++++++++++++++
 drivers/gpio/mxc_gpio.c                                |   4 +-
 drivers/gpio/mxs_gpio.c                                |   4 +-
 drivers/gpio/omap_gpio.c                               |   6 +-
 drivers/gpio/sunxi_gpio.c                              |   8 +-
 drivers/i2c/Makefile                                   |   3 +
 drivers/i2c/designware_i2c.c                           | 106 +++-----------
 drivers/i2c/designware_i2c.h                           |  35 +++++
 drivers/i2c/designware_i2c_pci.c                       | 144
+++++++++++++++++++
 drivers/i2c/i2c-uclass.c                               |   6 +-
 drivers/i2c/muxes/pca954x.c                            |   4 +-
 drivers/misc/Kconfig                                   |  42 ++++++
 drivers/misc/Makefile                                  |   5 +
 drivers/misc/irq-uclass.c                              |  53 +++++++
 drivers/misc/irq_sandbox.c                             |  55 +++++++
 drivers/misc/p2sb-uclass.c                             | 216
++++++++++++++++++++++++++++
 drivers/misc/p2sb_emul.c                               | 272
+++++++++++++++++++++++++++++++++++
 drivers/misc/p2sb_sandbox.c                            |  39 +++++
 drivers/misc/sandbox_adder.c                           |  60 ++++++++
 drivers/mmc/fsl_esdhc_imx.c                            |  13 +-
 drivers/mmc/omap_hsmmc.c                               |   2 +-
 drivers/mtd/spi/sf_probe.c                             |   2 +-
 drivers/net/designware.c                               |  10 +-
 drivers/net/designware.h                               |   4 +-
 drivers/net/fec_mxc.c                                  |   6 +-
 drivers/net/fec_mxc.h                                  |   2 +-
 drivers/net/mvneta.c                                   |   4 +-
 drivers/net/mvpp2.c                                    |   9 +-
 drivers/net/sun8i_emac.c                               |  12 +-
 drivers/pch/Kconfig                                    |  18 +++
 drivers/pch/Makefile                                   |   4 +-
 drivers/pci/pci-aardvark.c                             |   4 +-
 drivers/pci/pci-uclass.c                               |  31 ++--
 drivers/pci/pcie_dw_mvebu.c                            |   4 +-
 drivers/pinctrl/Kconfig                                |  23 +++
 drivers/pinctrl/Makefile                               |   1 +
 drivers/pinctrl/intel/Kconfig                          |  26 ++++
 drivers/pinctrl/intel/Makefile                         |   6 +
 drivers/pinctrl/intel/pinctrl.c                        | 636
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/pinctrl/intel/pinctrl_apl.c                    | 192
+++++++++++++++++++++++++
 drivers/power/Kconfig                                  |   2 +
 drivers/power/acpi_pmc/Kconfig                         |  34 +++++
 drivers/power/acpi_pmc/Makefile                        |   6 +
 drivers/power/acpi_pmc/acpi-pmc-uclass.c               | 244
+++++++++++++++++++++++++++++++
 drivers/power/acpi_pmc/pmc_emul.c                      | 246
++++++++++++++++++++++++++++++++
 drivers/power/acpi_pmc/sandbox.c                       |  97 +++++++++++++
 drivers/spi/Kconfig                                    |   1 -
 drivers/spi/atmel_spi.c                                |  10 +-
 drivers/spi/designware_spi.c                           |   4 +-
 drivers/spi/ich.c                                      | 534
+++++++++++++++++++++++++++++++++++++++++++++++++++++---------------
 drivers/spi/ich.h                                      |  46 +++++-
 drivers/spi/spi-uclass.c                               |   5 +-
 drivers/timer/Kconfig                                  |  23 +++
 drivers/timer/tsc_timer.c                              |  10 +-
 drivers/tpm/tpm2_tis_spi.c                             |   2 +-
 include/binman.h                                       |  45 ++++++
 include/bootstage.h                                    |   3 +
 include/config_uncmd_spl.h                             |   1 -
 include/configs/at91-sama5_common.h                    |   5 +-
 include/configs/chromebook_coral.h                     |  32 +++++
 include/configs/gw_ventana.h                           |   1 -
 include/configs/mx6ul_14x14_evk.h                      |   1 +
 include/dm/ofnode.h                                    |   2 +-
 include/dm/pci.h                                       |  43 ++++++
 include/dm/uclass-id.h                                 |   2 +
 include/init.h                                         |  11 ++
 include/irq.h                                          |  88 ++++++++++++
 include/p2sb.h                                         | 135 ++++++++++++++++++
 include/pci.h                                          |  21 ++-
 include/power/acpi_pmc.h                               | 185
++++++++++++++++++++++++
 include/qfw.h                                          |   8 ++
 include/spi.h                                          |   2 +-
 include/spi_flash.h                                    |  12 ++
 include/spl.h                                          |  21 ++-
 lib/Kconfig                                            |  10 ++
 lib/Makefile                                           |   3 +-
 lib/binman.c                                           |  48 +++++++
 lib/efi/Kconfig                                        |   1 +
 lib/net_utils.c                                        |  48 +++++++
 net/Makefile                                           |   1 -
 net/checksum.c                                         |  59 --------
 scripts/Makefile.lib                                   |   4 +-
 scripts/Makefile.uncmd_spl                             |   1 -
 test/dm/Makefile                                       |   3 +
 test/dm/irq.c                                          |  32 +++++
 test/dm/p2sb.c                                         |  28 ++++
 test/dm/pmc.c                                          |  33 +++++
 223 files changed, 12370 insertions(+), 706 deletions(-)
 create mode 100644 arch/x86/cpu/apollolake/Kconfig
 create mode 100644 arch/x86/cpu/apollolake/Makefile
 create mode 100644 arch/x86/cpu/apollolake/cpu.c
 create mode 100644 arch/x86/cpu/apollolake/cpu_common.c
 create mode 100644 arch/x86/cpu/apollolake/cpu_spl.c
 create mode 100644 arch/x86/cpu/apollolake/fsp_m.c
 create mode 100644 arch/x86/cpu/apollolake/fsp_s.c
 create mode 100644 arch/x86/cpu/apollolake/hostbridge.c
 create mode 100644 arch/x86/cpu/apollolake/itss.c
 create mode 100644 arch/x86/cpu/apollolake/lpc.c
 create mode 100644 arch/x86/cpu/apollolake/p2sb.c
 create mode 100644 arch/x86/cpu/apollolake/pch.c
 create mode 100644 arch/x86/cpu/apollolake/pmc.c
 create mode 100644 arch/x86/cpu/apollolake/punit.c
 create mode 100644 arch/x86/cpu/apollolake/spl.c
 create mode 100644 arch/x86/cpu/apollolake/systemagent.c
 create mode 100644 arch/x86/cpu/apollolake/uart.c
 create mode 100644 arch/x86/cpu/intel_common/car2.S
 create mode 100644 arch/x86/cpu/intel_common/car2_uninit.S
 create mode 100644 arch/x86/cpu/intel_common/fast_spi.c
 create mode 100644 arch/x86/cpu/intel_common/lpss.c
 create mode 100644 arch/x86/cpu/qfw_cpu.c
 create mode 100644 arch/x86/dts/chromebook_coral.dts
 create mode 100644 arch/x86/include/asm/arch-apollolake/cpu.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/fsp/fsp_configs.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/fsp/fsp_m_upd.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/fsp/fsp_vpd.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/gpio.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/iomap.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/itss.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/lpc.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/pch.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/pm.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/systemagent.h
 create mode 100644 arch/x86/include/asm/arch-apollolake/uart.h
 create mode 100644 arch/x86/include/asm/fast_spi.h
 create mode 100644 arch/x86/include/asm/fsp/fsp_api.h
 create mode 100644 arch/x86/include/asm/fsp2/fsp_api.h
 create mode 100644 arch/x86/include/asm/fsp2/fsp_internal.h
 create mode 100644 arch/x86/include/asm/intel_pinctrl.h
 create mode 100644 arch/x86/include/asm/intel_pinctrl_defs.h
 create mode 100644 arch/x86/include/asm/lpss.h
 rename arch/x86/lib/{fsp1 => fsp}/fsp_graphics.c (95%)
 create mode 100644 arch/x86/lib/fsp2/Makefile
 create mode 100644 arch/x86/lib/fsp2/fsp_common.c
 create mode 100644 arch/x86/lib/fsp2/fsp_dram.c
 create mode 100644 arch/x86/lib/fsp2/fsp_init.c
 create mode 100644 arch/x86/lib/fsp2/fsp_meminit.c
 create mode 100644 arch/x86/lib/fsp2/fsp_silicon_init.c
 create mode 100644 arch/x86/lib/fsp2/fsp_support.c
 create mode 100644 board/google/chromebook_coral/Kconfig
 create mode 100644 board/google/chromebook_coral/MAINTAINERS
 create mode 100644 board/google/chromebook_coral/Makefile
 create mode 100644 board/google/chromebook_coral/coral.c
 create mode 100644 cmd/pmc.c
 create mode 100644 configs/chromebook_coral_defconfig
 create mode 100644 doc/board/google/chromebook_coral.rst
 create mode 100644 doc/device-tree-bindings/gpio/intel,apl-gpio.txt
 create mode 100644 doc/device-tree-bindings/pci/x86-pci.txt
 create mode 100644 doc/device-tree-bindings/pinctrl/intel,apl-pinctrl.txt
 create mode 100644 drivers/gpio/intel_gpio.c
 create mode 100644 drivers/i2c/designware_i2c_pci.c
 create mode 100644 drivers/misc/irq-uclass.c
 create mode 100644 drivers/misc/irq_sandbox.c
 create mode 100644 drivers/misc/p2sb-uclass.c
 create mode 100644 drivers/misc/p2sb_emul.c
 create mode 100644 drivers/misc/p2sb_sandbox.c
 create mode 100644 drivers/misc/sandbox_adder.c
 create mode 100644 drivers/pinctrl/intel/Kconfig
 create mode 100644 drivers/pinctrl/intel/Makefile
 create mode 100644 drivers/pinctrl/intel/pinctrl.c
 create mode 100644 drivers/pinctrl/intel/pinctrl_apl.c
 create mode 100644 drivers/power/acpi_pmc/Kconfig
 create mode 100644 drivers/power/acpi_pmc/Makefile
 create mode 100644 drivers/power/acpi_pmc/acpi-pmc-uclass.c
 create mode 100644 drivers/power/acpi_pmc/pmc_emul.c
 create mode 100644 drivers/power/acpi_pmc/sandbox.c
 create mode 100644 include/binman.h
 create mode 100644 include/configs/chromebook_coral.h
 create mode 100644 include/dm/pci.h
 create mode 100644 include/irq.h
 create mode 100644 include/p2sb.h
 create mode 100644 include/power/acpi_pmc.h
 create mode 100644 lib/binman.c
 delete mode 100644 net/checksum.c
 create mode 100644 test/dm/irq.c
 create mode 100644 test/dm/p2sb.c
 create mode 100644 test/dm/pmc.c

Regards,
Bin

Comments

Tom Rini Dec. 17, 2019, 12:52 p.m. UTC | #1
On Sun, Dec 15, 2019 at 09:16:29PM +0800, Bin Meng wrote:

> Hi Tom,
> 
> This PR includes the following changes for u-boot/next branch.
> 
> - Various x86 common codes updated for TPL/SPL
> - I2C designware driver updated for PCI
> - ICH SPI driver updated to support Apollo Lake
> - Add Intel FSP2 base support
> - Intel Apollo Lake platform specific drivers support
> - Add a new board Google Chromebook Coral
> 
> The following changes since commit 553cb06887825314e74a9bdac337467c77d1db88:
> 
>   Merge tag 'dm-next-13dec19' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-dm into next
> (2019-12-12 08:18:59 -0500)
> 
> are available in the git repository at:
> 
>   https://gitlab.denx.de/u-boot/custodians/u-boot-x86 next
> 
> for you to fetch changes up to a1d6dc3f84071f05574044f337dbdca70fae495d:
> 
>   x86: Add chromebook_coral (2019-12-15 11:44:30 +0800)
> 

+(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) ../drivers/misc/p2sb_emul.c: In function 'sandbox_p2sb_emul_map_physmem':
+(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) ../drivers/misc/p2sb_emul.c:236:6: error: 'child' may be used uninitialized in this function [-Werror=maybe-uninitialized]
+(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only)   ret = axi_read(child, offset, priv->regs, AXI_SIZE_32);
+(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only)       ^
+(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) cc1: all warnings being treated as errors
+(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) make[3]: *** [drivers/misc/p2sb_emul.o] Error 1
+(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) make[2]: *** [drivers/misc] Error 2
+(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) make[1]: *** [drivers] Error 2

Is what I see with this applied, please address, thanks!
Bin Meng Dec. 17, 2019, 1:24 p.m. UTC | #2
Hi Tom,

On Tue, Dec 17, 2019 at 8:52 PM Tom Rini <trini@konsulko.com> wrote:
>
> On Sun, Dec 15, 2019 at 09:16:29PM +0800, Bin Meng wrote:
>
> > Hi Tom,
> >
> > This PR includes the following changes for u-boot/next branch.
> >
> > - Various x86 common codes updated for TPL/SPL
> > - I2C designware driver updated for PCI
> > - ICH SPI driver updated to support Apollo Lake
> > - Add Intel FSP2 base support
> > - Intel Apollo Lake platform specific drivers support
> > - Add a new board Google Chromebook Coral
> >
> > The following changes since commit 553cb06887825314e74a9bdac337467c77d1db88:
> >
> >   Merge tag 'dm-next-13dec19' of
> > https://gitlab.denx.de/u-boot/custodians/u-boot-dm into next
> > (2019-12-12 08:18:59 -0500)
> >
> > are available in the git repository at:
> >
> >   https://gitlab.denx.de/u-boot/custodians/u-boot-x86 next
> >
> > for you to fetch changes up to a1d6dc3f84071f05574044f337dbdca70fae495d:
> >
> >   x86: Add chromebook_coral (2019-12-15 11:44:30 +0800)
> >
>
> +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) ../drivers/misc/p2sb_emul.c: In function 'sandbox_p2sb_emul_map_physmem':
> +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) ../drivers/misc/p2sb_emul.c:236:6: error: 'child' may be used uninitialized in this function [-Werror=maybe-uninitialized]
> +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only)   ret = axi_read(child, offset, priv->regs, AXI_SIZE_32);
> +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only)       ^
> +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) cc1: all warnings being treated as errors
> +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) make[3]: *** [drivers/misc/p2sb_emul.o] Error 1
> +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) make[2]: *** [drivers/misc] Error 2
> +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) make[1]: *** [drivers] Error 2
>
> Is what I see with this applied, please address, thanks!
>

That's weird. As both GitLab and Azure did not complain anything. See:

https://gitlab.denx.de/u-boot/custodians/u-boot-x86/pipelines/1647
https://dev.azure.com/bmeng/GitHub/_build/results?buildId=146&view=results

Regards,
Bin
Tom Rini Dec. 23, 2019, 12:09 a.m. UTC | #3
On Tue, Dec 17, 2019 at 09:24:14PM +0800, Bin Meng wrote:

> Hi Tom,
> 
> On Tue, Dec 17, 2019 at 8:52 PM Tom Rini <trini@konsulko.com> wrote:
> >
> > On Sun, Dec 15, 2019 at 09:16:29PM +0800, Bin Meng wrote:
> >
> > > Hi Tom,
> > >
> > > This PR includes the following changes for u-boot/next branch.
> > >
> > > - Various x86 common codes updated for TPL/SPL
> > > - I2C designware driver updated for PCI
> > > - ICH SPI driver updated to support Apollo Lake
> > > - Add Intel FSP2 base support
> > > - Intel Apollo Lake platform specific drivers support
> > > - Add a new board Google Chromebook Coral
> > >
> > > The following changes since commit 553cb06887825314e74a9bdac337467c77d1db88:
> > >
> > >   Merge tag 'dm-next-13dec19' of
> > > https://gitlab.denx.de/u-boot/custodians/u-boot-dm into next
> > > (2019-12-12 08:18:59 -0500)
> > >
> > > are available in the git repository at:
> > >
> > >   https://gitlab.denx.de/u-boot/custodians/u-boot-x86 next
> > >
> > > for you to fetch changes up to a1d6dc3f84071f05574044f337dbdca70fae495d:
> > >
> > >   x86: Add chromebook_coral (2019-12-15 11:44:30 +0800)
> > >
> >
> > +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) ../drivers/misc/p2sb_emul.c: In function 'sandbox_p2sb_emul_map_physmem':
> > +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) ../drivers/misc/p2sb_emul.c:236:6: error: 'child' may be used uninitialized in this function [-Werror=maybe-uninitialized]
> > +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only)   ret = axi_read(child, offset, priv->regs, AXI_SIZE_32);
> > +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only)       ^
> > +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) cc1: all warnings being treated as errors
> > +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) make[3]: *** [drivers/misc/p2sb_emul.o] Error 1
> > +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) make[2]: *** [drivers/misc] Error 2
> > +(sandbox,sandbox64,sandbox_flattree,sandbox_spl,tools-only) make[1]: *** [drivers] Error 2
> >
> > Is what I see with this applied, please address, thanks!
> >
> 
> That's weird. As both GitLab and Azure did not complain anything. See:
> 
> https://gitlab.denx.de/u-boot/custodians/u-boot-x86/pipelines/1647
> https://dev.azure.com/bmeng/GitHub/_build/results?buildId=146&view=results

I'm pretty sure it's a local merge problem, so, sorry about that.

Applied to u-boot/next, thanks!