Skip to content
Commit 86e1778d authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

acpi: Convert part of acpi_table to use acpi_ctx



The current code uses an address but a pointer would result in fewer
casts. Also it repeats the alignment code in a lot of places so this would
be better done in a helper function.

Update write_acpi_tables() to make use of the new acpi_ctx structure,
adding a few helpers to clean things up.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarWolfgang Wallner <wolfgang.wallner@br-automation.com>
parent 93f7f827
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment