include/spd_bin.h: Add SPD IO layer
[coreboot2.git] / src / include / wrdd.h
blobf87e31badca534414c2a3f6afb4a3d80902d2466
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef _WRDD_H_
3 #define _WRDD_H_
5 #include <stdint.h>
7 /* WRDD Spec Revision */
8 #define WRDD_REVISION 0x0
10 /* Domain type */
11 #define WRDD_DOMAIN_TYPE_WIFI 0x7
13 /* Default regulatory domain ID */
14 #define WRDD_DEFAULT_REGULATORY_DOMAIN 0x4150
15 /* INDONESIA regulatory domain ID */
16 #define WRDD_REGULATORY_DOMAIN_INDONESIA 0x4944
18 /* Retrieve the regulatory domain information */
19 uint16_t wifi_regulatory_domain(void);
21 #endif /* _WRDD_H_ */