UPSTREAM: rockchip: mkimage: use spl_boot0 for all Rockchip SoCs

Enable the spl_boot0 in SPL and use the pre-padding TAG memory,
the mkimage do not need to pad it but only need to replace the value
with correct TAG value.

Change-Id: I5ae7b402c9958774acd9eac95e9417c48854c035
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
This commit is contained in:
Kever Yang 2017-10-10 16:21:04 +02:00 committed by Andy Yan
parent 947101c3a4
commit 6bd5a2c444
1 changed files with 7 additions and 7 deletions

View File

@ -45,7 +45,7 @@ struct header0_info {
};
/**
* struct header1_info
* struct header1 info
*/
struct header1_info {
uint32_t magic;
@ -72,16 +72,16 @@ struct spl_info {
};
static struct spl_info spl_infos[] = {
{ "rk3036", "RK30", 0x1000, false, false },
{ "rk3036", "RK30", 0x1000, false, true },
{ "rk3066", "RK30", 0x8000, true, false },
{ "rk3128", "RK31", 0x1800, false, false },
{ "rk3188", "RK31", 0x8000 - 0x800, true, false },
{ "rk322x", "RK32", 0x8000 - 0x1000, false, false },
{ "rk3288", "RK32", 0x8000, false, false },
{ "rk3128", "RK31", 0x1800, false, true },
{ "rk3188", "RK31", 0x8000 - 0x800, true, true },
{ "rk322x", "RK32", 0x8000 - 0x1000, false, true },
{ "rk3288", "RK32", 0x8000, false, true },
{ "rk3328", "RK32", 0x8000 - 0x1000, false, true },
{ "rk3368", "RK33", 0x8000 - 0x1000, false, true },
{ "rk3399", "RK33", 0x30000 - 0x2000, false, true },
{ "rv1108", "RK11", 0x1800, false, false},
{ "rv1108", "RK11", 0x1800, false, true },
};
static unsigned char rc4_key[16] = {