SDRAM Configuration ¶
Here is the DTS format for the SDRAM configuration:
/{
sdram {
mem_cfg_: mem-cfg@ {
= ;
};
};
};
&mem_cfg_ {
#include "\"
};
where
is number starting from 0 representing different memory configurations
is the SDRAM parameter. Usually, this corresponds to the MC/EMC register.
is the 32-bit value of the corresponding register.
is override file for SDRAM parameters which will be applied to all the configurations.
The format of the override dts will be:
= ; // example McVideoProtectBom = <0x00000000>;
The Memory/MSS HW team will use a tool provided by SW to convert the legacy configuration format to the new DTS format.
Carveouts ¶
The following types of hardware carveouts:
-
GSC carveouts
-
Non-GSC carveouts
The following table lists the important carveout fields in BCT cfg.
Field |
Description |
---|---|
McGeneralizedCarveout |
Preferred base address of the GSC carveout. The recommended value is 0, and this field allows MB1 to allocate on its own. |
McGeneralizedCarveout |
|
McGeneralizedCarveout |
Client Access Register for Generalized Carveout. For the bit description details refer to TRM. |
McVideoProtectBom and McVideoProtectBomHi |
Preferred base address of VPR carveout. The recommended value is 0, and this field allows MB1 to allocate on its own. |
McVideoProtectSizeMb |
Specifies VPR carveout size (in MB). Refer to
|
GSC Carveouts ¶
The following list gives a mapping between Carveout names and its corresponding GSC numbers:
Carveout # |
Carveout Name |
---|---|
1 |
NVDEC |
2 |
WPR1 |
3 |
WPR2 |
4 |
TSECA |
5 |
TSECB |
6 |
BPMP |
7 |
APE |
8 |
SPE |
9 |
SCE |
10 |
APR |
11 |
TZRAM |
12 |
IPC_SE_TSEC |
13 |
BPMP_RCE |
14 |
BPMP_DMCE |
15 |
SE_SC7 |
16 |
BPMP_SPE |
17 |
RCE |
18 |
CPUTZ_BPMP |
19 |
VM_ENCRYPT1 |
20 |
CPU_NS_BPMP |
21 |
OEM_SC7 |
22 |
IPC_SE_SPE_SCE_BPMP |
23 |
SC7_RF |
24 |
CAMERA_TASK |
25 |
SCE_BPMP |
26 |
CV |
27 |
VM_ENCRYPT2 |
28 |
HYPERVISOR |
29 |
SMMU |
30 |
PFSD |
31 |
Unused |
Non-GSC Carveouts ¶
32 |
MTS |
---|---|
33 |
VPR |