public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/8] x86: quark: Add ACPI support
Date: Wed, 25 May 2016 01:48:50 -0700	[thread overview]
Message-ID: <1464166138-14975-1-git-send-email-bmeng.cn@gmail.com> (raw)

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

             reply	other threads:[~2016-05-25  8:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25  8:48 Bin Meng [this message]
2016-05-25  8:48 ` [U-Boot] [PATCH 1/8] x86: acpi: Create a common irqlinks ASL file Bin Meng
2016-05-25 23:17   ` Simon Glass
2016-05-25  8:48 ` [U-Boot] [PATCH 2/8] x86: acpi: Make irqroute.asl common Bin Meng
2016-05-25 23:17   ` Simon Glass
2016-05-25  8:48 ` [U-Boot] [PATCH 3/8] acpi: Pass -D__ACPI__ when compiling ASL files Bin Meng
2016-05-25 23:17   ` Simon Glass
2016-05-26  0:08     ` Bin Meng
2016-05-25  8:48 ` [U-Boot] [PATCH 4/8] x86: quark: Prepare device.h for inclusion by ASL Bin Meng
2016-05-25 23:17   ` Simon Glass
2016-05-25  8:48 ` [U-Boot] [PATCH 5/8] x86: quark: Add platform ASL files Bin Meng
2016-05-25 23:17   ` Simon Glass
2016-05-26  0:10     ` Bin Meng
2016-05-25  8:48 ` [U-Boot] [PATCH 6/8] x86: quark: Generate ACPI FADT/MADT tables Bin Meng
2016-05-25 23:17   ` Simon Glass
2016-05-25  8:48 ` [U-Boot] [PATCH 7/8] x86: galileo: Enable ACPI table generation Bin Meng
2016-05-25 23:17   ` Simon Glass
2016-05-25  8:48 ` [U-Boot] [PATCH 8/8] x86: baytrail: acpi: Fix I/O APIC ID in the MADT table Bin Meng
2016-05-25 23:17   ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464166138-14975-1-git-send-email-bmeng.cn@gmail.com \
    --to=bmeng.cn@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox