]> git.sur5r.net Git - u-boot/commit
x86: acpi: Change fill_header()
authorBin Meng <bmeng.cn@gmail.com>
Sat, 7 May 2016 14:46:24 +0000 (07:46 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:18:00 +0000 (15:18 +0800)
commitdfbb18bcf6bf36c96b4e51d05b285a2d50ab61a9
treebb8834c892a0d223b977533fa94960349e7edc98
parentcea91319c25a044c50be8da980d9abd00727d121
x86: acpi: Change fill_header()

Rename fill_header() to acpi_fill_header() for consistency.
Change its signature to remove the 'length' parameter and
make it a public API.

Also remove the unnecessary include files, and improve the
AmlCode[] comment a little bit.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/acpi_table.h
arch/x86/lib/acpi_table.c