coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
soc.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_SOC_H
4 #define __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_SOC_H
5 
6 #include <symbols.h>
7 
8 #define RK_CLRSETBITS(clr, set) ((((clr) | (set)) << 16) | set)
9 #define RK_SETBITS(set) RK_CLRSETBITS(0, set)
10 #define RK_CLRBITS(clr) RK_CLRSETBITS(clr, 0)
11 
12 #endif /* ! __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_SOC_H */