diff options
author | Tom Rini <trini@konsulko.com> | 2017-06-23 11:02:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-23 11:02:21 -0400 |
commit | 7df4ff2c2689a6d3c16eb0c3cce098fcac622b0c (patch) | |
tree | d24a7f840548d90d159fce2dba61738997ab518d /tools/rkcommon.c | |
parent | 72fa58931e1e7feef7801b92671c545c7aca32f1 (diff) | |
parent | 6a464d9cab63f5317bc914e2de52a4de98377743 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'tools/rkcommon.c')
-rw-r--r-- | tools/rkcommon.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/rkcommon.c b/tools/rkcommon.c index a583c0caa0..1056ffa2be 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) { |