c3: aw409 nand partition confirmation [3/3]

PD#SWPL-133758

Problem:
1. Reduce bootloader area

Solution:
1. get partition from cmdline
2. get rsv from cmdline.

Verify:
C3

Change-Id: I70aabac44080a6afea804f2aba8261e3be99f1fa
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
This commit is contained in:
Bichao Zheng
2023-08-30 10:21:47 +08:00
committed by gerrit autosubmit
parent 7314475a3c
commit f8cc34c697
2 changed files with 2 additions and 100 deletions
@@ -1159,56 +1159,7 @@
spi-max-frequency = <83000000>;
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;
bl_mode = <2>; /* advance mode */
fip_copies = <4>;
info_p_mode = <1>; /* Info page on page 0 */
partition = <&snand_partitions>;
snand_partitions: snand_partitions{
bootloader{
offset=<0x0 0x0>;
size=<0x0 0x0>;
};
bl2e{
offset=<0x0 0x0>;
size=<0x0 0x0>;
};
bl2x{
offset=<0x0 0x0>;
size=<0x0 0x0>;
};
ddrfip{
offset=<0x0 0x0>;
size=<0x0 0x0>;
};
devfip{
offset=<0x0 0x0>;
size=<0x0 0x0>;
};
logo{
offset=<0x0 0x0>;
size=<0x0 0x200000>;
};
misc{
offset=<0x0 0x0>;
size=<0x0 0x200000>;
};
recovery{
offset=<0x0 0x0>;
size=<0x0 0x1000000>;
};
boot{
offset=<0x0 0x0>;
size=<0x0 0x1000000>;
};
system{
offset=<0x0 0x0>;
size=<0x0 0x6000000>;
};
data{
offset=<0xffffffff 0xffffffff>;
size=<0x0 0x0>;
};
};
rsv_env_config;
};
};
@@ -1158,56 +1158,7 @@
spi-max-frequency = <83000000>;
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;
bl_mode = <2>; /* advance mode */
fip_copies = <4>;
info_p_mode = <1>; /* Info page on page 0 */
partition = <&snand_partitions>;
snand_partitions: snand_partitions{
bootloader{
offset=<0x0 0x0>;
size=<0x0 0x0>;
};
bl2e{
offset=<0x0 0x0>;
size=<0x0 0x0>;
};
bl2x{
offset=<0x0 0x0>;
size=<0x0 0x0>;
};
ddrfip{
offset=<0x0 0x0>;
size=<0x0 0x0>;
};
devfip{
offset=<0x0 0x0>;
size=<0x0 0x0>;
};
logo{
offset=<0x0 0x0>;
size=<0x0 0x200000>;
};
misc{
offset=<0x0 0x0>;
size=<0x0 0x200000>;
};
recovery{
offset=<0x0 0x0>;
size=<0x0 0x1000000>;
};
boot{
offset=<0x0 0x0>;
size=<0x0 0x1000000>;
};
system{
offset=<0x0 0x0>;
size=<0x0 0x6000000>;
};
data{
offset=<0xffffffff 0xffffffff>;
size=<0x0 0x0>;
};
};
rsv_env_config;
};
};