Done with sed and God Lines. Only done for C-like code for now. Change-Id: Ic5a920bfe1059534566ceab85a97219dd56f069e Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40213 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
28 lines
475 B
Plaintext
28 lines
475 B
Plaintext
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* This file is part of the coreboot project. */
|
|
|
|
Device (WIFI)
|
|
{
|
|
Name (_ADR, Zero)
|
|
OperationRegion(WIXX, PCI_Config, 0x00, 0x10)
|
|
Name (WRDX, Package()
|
|
{
|
|
// Revision
|
|
0,
|
|
Package()
|
|
{
|
|
// DomainType, 0x7:WiFi
|
|
0x00000007,
|
|
// Default Regulatory Domain Country identifier
|
|
0x4150,
|
|
}
|
|
})
|
|
Method(WRDD,0,Serialized)
|
|
{
|
|
Store(\CID1,Index (DeRefOf (Index (WRDX, 1)), 1)) // Country identifier
|
|
|
|
Return(WRDX)
|
|
}
|
|
|
|
}
|