aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-06-23 11:02:21 -0400
committerTom Rini <trini@konsulko.com>2017-06-23 11:02:21 -0400
commit7df4ff2c2689a6d3c16eb0c3cce098fcac622b0c (patch)
treed24a7f840548d90d159fce2dba61738997ab518d /tools
parent72fa58931e1e7feef7801b92671c545c7aca32f1 (diff)
parent6a464d9cab63f5317bc914e2de52a4de98377743 (diff)
downloadu-boot-7df4ff2c2689a6d3c16eb0c3cce098fcac622b0c.zip
u-boot-7df4ff2c2689a6d3c16eb0c3cce098fcac622b0c.tar.gz
u-boot-7df4ff2c2689a6d3c16eb0c3cce098fcac622b0c.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'tools')
-rw-r--r--tools/rkcommon.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/rkcommon.c b/tools/rkcommon.c
index a583c0c..1056ffa 100644
--- a/tools/rkcommon.c
+++ b/tools/rkcommon.c
@@ -76,7 +76,7 @@ static struct spl_info spl_infos[] = {
{ "rk3188", "RK31", 0x8000 - 0x800, true, false },
{ "rk3288", "RK32", 0x8000, false, false },
{ "rk3328", "RK32", 0x8000 - 0x1000, false, false },
- { "rk3399", "RK33", 0x20000, false, true },
+ { "rk3399", "RK33", 0x30000 - 0x2000, false, true },
{ "rv1108", "RK11", 0x1800, false, false},
};
@@ -226,11 +226,6 @@ static inline unsigned rkcommon_offset_to_spi(unsigned offset)
return ((offset & ~0x7ff) << 1) + (offset & 0x7ff);
}
-static inline unsigned rkcommon_spi_to_offset(unsigned offset)
-{
- return ((offset & ~0x7ff) >> 1) + (offset & 0x7ff);
-}
-
static int rkcommon_parse_header(const void *buf, struct header0_info *header0,
struct spl_info **spl_info)
{