diff options
author | Ley Foon Tan <ley.foon.tan@intel.com> | 2020-03-06 16:55:18 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2020-03-31 02:52:38 +0200 |
commit | 69f9c8bab83fff7228547f3cf01bf3c123faaaf4 (patch) | |
tree | 656d3125daabf53b3fd0bf1368d74564e52c2879 /arch/arm | |
parent | 93330d4ce416208fe202e304e5a18166c57ac569 (diff) |
arm: socfpga: Add onchip RAM size macro
Add OCRAM size macro for Gen5 and Arria 10.
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-socfpga/include/mach/base_addr_a10.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-socfpga/include/mach/base_addr_ac5.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/base_addr_a10.h b/arch/arm/mach-socfpga/include/mach/base_addr_a10.h index 929c413e03..b947cc0729 100644 --- a/arch/arm/mach-socfpga/include/mach/base_addr_a10.h +++ b/arch/arm/mach-socfpga/include/mach/base_addr_a10.h @@ -47,4 +47,6 @@ #define SOCFPGA_SDR_FIREWALL_L3_ADDRESS 0xffd13400 #define SOCFPGA_NOC_FW_H2F_SCR_OFST 0xffd13500 +#define SOCFPGA_PHYS_OCRAM_SIZE 0x40000 + #endif /* _SOCFPGA_A10_BASE_HARDWARE_H_ */ diff --git a/arch/arm/mach-socfpga/include/mach/base_addr_ac5.h b/arch/arm/mach-socfpga/include/mach/base_addr_ac5.h index 2725e9fcc3..da966fb458 100644 --- a/arch/arm/mach-socfpga/include/mach/base_addr_ac5.h +++ b/arch/arm/mach-socfpga/include/mach/base_addr_ac5.h @@ -59,4 +59,6 @@ #define SOCFPGA_DMANONSECURE_ADDRESS 0xffe00000 #define SOCFPGA_DMASECURE_ADDRESS 0xffe01000 +#define SOCFPGA_PHYS_OCRAM_SIZE 0x10000 + #endif /* _SOCFPGA_BASE_ADDRS_H_ */ |