mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
x86: acpi: Slightly reduce binary size of ACPI tables for Tangier
Using ACPI predefined macros, such as Zero or One, will reduce a binary size of resulting ACPI tables. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> [bmeng: manually fixed the conflicts when applying] Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
committed by
Bin Meng
parent
08afd714d0
commit
03f78868ae
@@ -18,7 +18,7 @@ Method(_PTS, 1)
|
||||
/* The _WAK method is called on system wakeup */
|
||||
Method(_WAK, 1)
|
||||
{
|
||||
Return (Package() {0, 0})
|
||||
Return (Package() { Zero, Zero })
|
||||
}
|
||||
|
||||
Scope (_SB)
|
||||
|
@@ -10,8 +10,8 @@ Device (PCI0)
|
||||
Name (_HID, EISAID("PNP0A08")) /* PCIe */
|
||||
Name (_CID, EISAID("PNP0A03")) /* PCI */
|
||||
|
||||
Name (_ADR, 0)
|
||||
Name (_BBN, 0)
|
||||
Name (_ADR, Zero)
|
||||
Name (_BBN, Zero)
|
||||
|
||||
Name (MCRS, ResourceTemplate()
|
||||
{
|
||||
|
Reference in New Issue
Block a user