[U-Boot] [PATCH 0/8] x86: quark: Add ACPI support

Bin Meng bmeng.cn at gmail.com
Wed May 25 10:48:50 CEST 2016


This series adds basic ACPI support to Intel Quark platform, enables
the support on the Intel Galileo board.

Testing was performed by booting Linux kernel from an SD card. All
interrupts are routed to I/O APIC based on information provided in
the ACPI tables, and typing 'reboot' from shell can successfully
reboot to U-Boot.

This series is available at u-boot-x86/quark-acpi.


Bin Meng (8):
  x86: acpi: Create a common irqlinks ASL file
  x86: acpi: Make irqroute.asl common
  acpi: Pass -D__ACPI__ when compiling ASL files
  x86: quark: Prepare device.h for inclusion by ASL
  x86: quark: Add platform ASL files
  x86: quark: Generate ACPI FADT/MADT tables
  x86: galileo: Enable ACPI table generation
  x86: baytrail: acpi: Fix I/O APIC ID in the MADT table

 arch/x86/cpu/baytrail/acpi.c                       |   2 +-
 arch/x86/cpu/quark/Makefile                        |   1 +
 arch/x86/cpu/quark/acpi.c                          | 163 ++++++++++++++++++
 .../asm/{arch-baytrail => }/acpi/irq_helper.h      |   2 +-
 .../asm/{arch-baytrail => }/acpi/irqlinks.asl      |  33 ++--
 .../asm/{arch-baytrail => }/acpi/irqroute.asl      |   0
 arch/x86/include/asm/arch-baytrail/acpi/lpc.asl    |  23 ++-
 .../asm/arch-baytrail/acpi/southcluster.asl        |   2 +-
 arch/x86/include/asm/arch-quark/acpi/irqroute.h    |  15 ++
 arch/x86/include/asm/arch-quark/acpi/lpc.asl       | 125 ++++++++++++++
 arch/x86/include/asm/arch-quark/acpi/platform.asl  |  33 ++++
 .../include/asm/arch-quark/acpi/sleepstates.asl    |  10 ++
 .../include/asm/arch-quark/acpi/southcluster.asl   | 184 +++++++++++++++++++++
 arch/x86/include/asm/arch-quark/device.h           |  21 ++-
 arch/x86/include/asm/arch-quark/iomap.h            |  47 ++++++
 arch/x86/include/asm/arch-quark/irq.h              |  19 +++
 board/intel/galileo/.gitignore                     |   3 +
 board/intel/galileo/Makefile                       |   1 +
 board/intel/galileo/acpi/mainboard.asl             |  11 ++
 board/intel/galileo/dsdt.asl                       |  14 ++
 configs/galileo_defconfig                          |   1 +
 doc/README.x86                                     |   5 +-
 scripts/Makefile.lib                               |   2 +-
 23 files changed, 685 insertions(+), 32 deletions(-)
 create mode 100644 arch/x86/cpu/quark/acpi.c
 rename arch/x86/include/asm/{arch-baytrail => }/acpi/irq_helper.h (98%)
 rename arch/x86/include/asm/{arch-baytrail => }/acpi/irqlinks.asl (92%)
 rename arch/x86/include/asm/{arch-baytrail => }/acpi/irqroute.asl (100%)
 create mode 100644 arch/x86/include/asm/arch-quark/acpi/irqroute.h
 create mode 100644 arch/x86/include/asm/arch-quark/acpi/lpc.asl
 create mode 100644 arch/x86/include/asm/arch-quark/acpi/platform.asl
 create mode 100644 arch/x86/include/asm/arch-quark/acpi/sleepstates.asl
 create mode 100644 arch/x86/include/asm/arch-quark/acpi/southcluster.asl
 create mode 100644 arch/x86/include/asm/arch-quark/iomap.h
 create mode 100644 arch/x86/include/asm/arch-quark/irq.h
 create mode 100644 board/intel/galileo/.gitignore
 create mode 100644 board/intel/galileo/acpi/mainboard.asl
 create mode 100644 board/intel/galileo/dsdt.asl

-- 
1.8.2.1



More information about the U-Boot mailing list