From ed3649472467275e5c9430def028d54263f73a1b Mon Sep 17 00:00:00 2001 From: Boyan Karatotev Date: Fri, 25 Oct 2024 18:18:14 +0100 Subject: arm: total_compute: depend on TF-A for hardware description On Total Compute, TF-A passes the info via DT binding for the hardware description - includes the serial, memory, and arm_ffa nodes. This commit initializes the fdt base address based on the passed the register x1. The similar implementation has already been done for the raspberry pi, so borrow a lot of it. Co-developed-by: Jackson Cooper-Driver Signed-off-by: Jackson Cooper-Driver Signed-off-by: Boyan Karatotev Signed-off-by: Leo Yan --- include/configs/total_compute.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'include') diff --git a/include/configs/total_compute.h b/include/configs/total_compute.h index a8bd8e259cc..205e6a62787 100644 --- a/include/configs/total_compute.h +++ b/include/configs/total_compute.h @@ -11,24 +11,6 @@ /* Link Definitions */ -/* AP non-secure UART base address */ -#define UART0_BASE 0x2A400000 - -/* PL011 Serial Configuration */ -#define CFG_PL011_CLOCK 7372800 - -/* Miscellaneous configurable options */ - -/* Physical Memory Map */ -#define PHYS_SDRAM_1 0x80000000 -/* Top 48MB reserved for secure world use */ -#define DRAM_SEC_SIZE 0x03000000 -#define PHYS_SDRAM_1_SIZE 0x80000000 - DRAM_SEC_SIZE -#define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 - -#define PHYS_SDRAM_2 0x8080000000 -#define PHYS_SDRAM_2_SIZE 0x180000000 - #define CFG_EXTRA_ENV_SETTINGS \ "bootm_size=0x20000000\0" \ "load_addr=0xa0000000\0" \ -- cgit v1.3.1