acpi: Add a table start
authorSimon Glass <sjg@chromium.org>
Wed, 1 Dec 2021 16:02:46 +0000 (09:02 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Jan 2022 18:44:36 +0000 (11:44 -0700)
commitfb746fdec6d58eacd7d9323eda7ccbde9419a41e
tree840af67c895fc5116de3e1568b03141c85408151
parent383bf1bc9ee21c649d04a03a19eedbffa84b7237
acpi: Add a table start

It is useful to record the start of an ACPI table so that offsets from
that point can be easily calculated.

Add this to the context and set it before calling the writer method.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/acpi.c
include/dm/acpi.h