diff options
author | Wolfgang Wallner <wolfgang.wallner@br-automation.com> | 2020-09-16 16:57:52 +0200 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-09-21 16:41:35 +0800 |
commit | 3f6966ab2b9a2264c05d699353e61b276b1a85bd (patch) | |
tree | 4f01f845d4bb576c2804095acde4ae8c2f1163c8 /include/configs/syzygy_hub.h | |
parent | 674c58c7b73db3a1e1297b87397c61e09915e7d7 (diff) |
x86: acpi: Fix calculation of DSDT length
Currently, the calculation for the length of the DSDT table includes any
bytes that are added for alignment, but those bytes are not initialized.
This is because the DSDT length is calculated after a call to
acpi_inc_align(). Split this up into the following sequence:
* acpi_inc()
* Calculate DSDT length
* acpi_align()
Signed-off-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/configs/syzygy_hub.h')
0 files changed, 0 insertions, 0 deletions