1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (C) 2017, Fuzhou Rockchip Electronics Co., Ltd. 4 */ 5 6 #ifndef PLAT_ROCKCHIP_GRF_H 7 #define PLAT_ROCKCHIP_GRF_H 8 9 #if defined(PLATFORM_FLAVOR_rk322x) 10 #define GRF_CPU_STATUS1 0x524 11 12 #define CORE_WFE_MASK(core) SHIFT_U32(0x02, (core)) 13 #define CORE_WFI_MASK(core) SHIFT_U32(0x20, (core)) 14 #define CORE_WFE_I_MASK(core) (CORE_WFI_MASK(core) | CORE_WFE_MASK(core)) 15 #endif 16 17 #endif 18