diff options
Diffstat (limited to 'plat/rockchip/rk3399/include/platform_def.h')
-rw-r--r-- | plat/rockchip/rk3399/include/platform_def.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/plat/rockchip/rk3399/include/platform_def.h b/plat/rockchip/rk3399/include/platform_def.h index 7139b41e90..26204a1163 100644 --- a/plat/rockchip/rk3399/include/platform_def.h +++ b/plat/rockchip/rk3399/include/platform_def.h @@ -1,16 +1,17 @@ /* - * Copyright (c) 2014-2016, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __PLATFORM_DEF_H__ -#define __PLATFORM_DEF_H__ +#ifndef PLATFORM_DEF_H +#define PLATFORM_DEF_H #include <arch.h> #include <bl31_param.h> #include <common_def.h> #include <rk3399_def.h> +#include <utils_def.h> #define DEBUG_XLAT_TABLE 0 @@ -57,13 +58,13 @@ * This macro defines the deepest retention state possible. A higher state * id will represent an invalid or a power down state. */ -#define PLAT_MAX_RET_STATE 1 +#define PLAT_MAX_RET_STATE U(1) /* * This macro defines the deepest power down states possible. Any state ID * higher than this is invalid. */ -#define PLAT_MAX_OFF_STATE 2 +#define PLAT_MAX_OFF_STATE U(2) /******************************************************************************* * Platform specific page table and MMU setup constants @@ -110,4 +111,4 @@ #define PSRAM_DO_DDR_RESUME 1 #define PSRAM_CHECK_WAKEUP_CPU 0 -#endif /* __PLATFORM_DEF_H__ */ +#endif /* PLATFORM_DEF_H */ |