All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/8] acpi: Pass -D__ACPI__ when compiling ASL files
Date: Thu, 26 May 2016 08:08:10 +0800	[thread overview]
Message-ID: <CAEUhbmUb4CAmUt-usWoQR7STfRsaUAdSWFvBLrwWn22zpXDvHQ@mail.gmail.com> (raw)
In-Reply-To: <CAPnjgZ2HuPuuBavS-eq9J3RT0iKQ4CMPoBUFG9YLPG7z=7GudQ@mail.gmail.com>

Hi Simon,

On Thu, May 26, 2016 at 7:17 AM, Simon Glass <sjg@chromium.org> wrote:
> On 25 May 2016 at 02:48, Bin Meng <bmeng.cn@gmail.com> wrote:
>> ASL files may include various U-Boot header files, but IASL compiler
>> does not understand any C language embedded in these header files.
>> To reuse those header files for ASL compiling, use __ACPI__ in the
>> header files to exclude everything that is not liked by IASL.
>>
>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>> ---
>>
>>  scripts/Makefile.lib | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Reviewed-by: Simon Glass <sjg@chromium.org>
>
> Can we reuse the __ASSEMBLY__ define?

I think so. I will respin a v2.

Regards,
Bin

  reply	other threads:[~2016-05-26  0:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25  8:48 [U-Boot] [PATCH 0/8] x86: quark: Add ACPI support Bin Meng
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 [this message]
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=CAEUhbmUb4CAmUt-usWoQR7STfRsaUAdSWFvBLrwWn22zpXDvHQ@mail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.