mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00
feat(tc): move flash device to own node
Move the flash address to its own devicetree node in tc_spmc_manifest.dtsi. This patch also changes the device-type to ns-device-memory which is the correct type for a flash device. Change-Id: I19503ac35c433661faaaa01c0b83a16540d73810 Co-developed-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com> Signed-off-by: Davidson K <davidson.kumaresan@arm.com> Signed-off-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com> Signed-off-by: Icen Zeyada <Icen.Zeyada2@arm.com>
This commit is contained in:
parent
25a2fe3b74
commit
62269d4743
1 changed files with 8 additions and 5 deletions
|
@ -99,11 +99,7 @@
|
|||
|
||||
memory@1 {
|
||||
device_type = "ns-memory";
|
||||
reg =
|
||||
#ifdef TS_SP_FW_CONFIG
|
||||
<0x0 0x08000000 0x0 0x4000000>,
|
||||
#endif /* TS_SP_FW_CONFIG */
|
||||
<0x0 TC_NS_DRAM1_BASE 0x0 TC_NS_DRAM1_SIZE>,
|
||||
reg = <0x0 TC_NS_DRAM1_BASE 0x0 TC_NS_DRAM1_SIZE>,
|
||||
<HI(PLAT_ARM_DRAM2_BASE) LO(PLAT_ARM_DRAM2_BASE)
|
||||
HI(TC_NS_DRAM2_SIZE) LO(TC_NS_DRAM2_SIZE)>;
|
||||
};
|
||||
|
@ -117,4 +113,11 @@
|
|||
device_type = "device-memory";
|
||||
reg = <0x0 PLAT_ARM_BOOT_UART_BASE 0x0 0x01000>;
|
||||
};
|
||||
|
||||
#ifdef TS_SP_FW_CONFIG
|
||||
ns_flash {
|
||||
device_type = "ns-device-memory";
|
||||
reg = <0x0 V2M_FLASH0_BASE 0x0 V2M_FLASH0_SIZE>;
|
||||
};
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue