summaryrefslogtreecommitdiff
path: root/tools/rkcommon.c
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2017-10-10 16:21:04 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-11-21 23:57:21 +0100
commitd962e5dadc2cbc21bffd375f29665e5042879e66 (patch)
treea996d1b282ac411acf31aa3c73d9dadb0de1f4f3 /tools/rkcommon.c
parent14ad6eb264f80975ace3d2cd5420d1a9f8a15468 (diff)
downloadu-boot-d962e5dadc2cbc21bffd375f29665e5042879e66.tar.gz
u-boot-d962e5dadc2cbc21bffd375f29665e5042879e66.tar.bz2
u-boot-d962e5dadc2cbc21bffd375f29665e5042879e66.zip
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. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> [Updated:] Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'tools/rkcommon.c')
-rw-r--r--tools/rkcommon.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/rkcommon.c b/tools/rkcommon.c
index 1a24e16589..c83260a7af 100644
--- a/tools/rkcommon.c
+++ b/tools/rkcommon.c
@@ -72,15 +72,15 @@ struct spl_info {
};
static struct spl_info spl_infos[] = {
- { "rk3036", "RK30", 0x1000, false, false },
- { "rk3128", "RK31", 0x1800, false, false },
- { "rk3188", "RK31", 0x8000 - 0x800, true, false },
- { "rk322x", "RK32", 0x8000 - 0x1000, false, false },
- { "rk3288", "RK32", 0x8000, false, false },
- { "rk3328", "RK32", 0x8000 - 0x1000, false, false },
+ { "rk3036", "RK30", 0x1000, false, true },
+ { "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] = {