diff options
Diffstat (limited to 'plat/rockchip/rk3399/include/platform_def.h')
-rw-r--r-- | plat/rockchip/rk3399/include/platform_def.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/plat/rockchip/rk3399/include/platform_def.h b/plat/rockchip/rk3399/include/platform_def.h index 5ccc5323..da0bb180 100644 --- a/plat/rockchip/rk3399/include/platform_def.h +++ b/plat/rockchip/rk3399/include/platform_def.h @@ -32,6 +32,7 @@ #define __PLATFORM_DEF_H__ #include <arch.h> +#include <bl31_param.h> #include <common_def.h> #include <rk3399_def.h> @@ -89,22 +90,6 @@ #define PLAT_MAX_OFF_STATE 2 /******************************************************************************* - * Platform memory map related constants - ******************************************************************************/ -/* TF txet, ro, rw, Size: 512KB */ -#define TZRAM_BASE (0x0) -#define TZRAM_SIZE (0x80000) - -/******************************************************************************* - * BL31 specific defines. - ******************************************************************************/ -/* - * Put BL3-1 at the top of the Trusted RAM - */ -#define BL31_BASE (TZRAM_BASE + 0x10000) -#define BL31_LIMIT (TZRAM_BASE + TZRAM_SIZE) - -/******************************************************************************* * Platform specific page table and MMU setup constants ******************************************************************************/ #define ADDR_SPACE_SIZE (1ull << 32) @@ -138,7 +123,7 @@ #define PLAT_RK_G1S_IRQS RK3399_G1S_IRQS #define PLAT_RK_G0_IRQS RK3399_G0_IRQS -#define PLAT_RK_UART_BASE RK3399_UART2_BASE +#define PLAT_RK_UART_BASE UART2_BASE #define PLAT_RK_UART_CLOCK RK3399_UART_CLOCK #define PLAT_RK_UART_BAUDRATE RK3399_BAUDRATE |