From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Wallner Date: Tue, 10 Mar 2020 10:17:22 +0100 Subject: Antwort: [PATCH v2 16/39] acpi: Add an __ACPI__ preprocessor symbol In-Reply-To: <20200308214442.v2.16.I6e674b2388c5a74a6912deb2dcc9c8acc8875da0@changeid> References: <20200308214442.v2.16.I6e674b2388c5a74a6912deb2dcc9c8acc8875da0@changeid>, <20200309034504.149659-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, > -----"Simon Glass" schrieb: ----- > > The ASL compiler cannot handle C structures and the like so needs some > sort of header guard around these. > > We already have an __ASSEMBLY__ #define but it seems best to create a new > one for ACPI since the rules may be different. > > Add the check to a few files that ACPI always includes. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: None > > include/acpi_table.h | 4 ++++ > include/dm/acpi.h | 4 ++++ > scripts/Makefile.lib | 4 ++-- > 3 files changed, 10 insertions(+), 2 deletions(-) Reviewed-by: Wolfgang Wallner