diff options
author | Tom Rini <trini@konsulko.com> | 2017-02-11 10:38:21 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-02-11 10:38:21 -0500 |
commit | b16f6804b4378c6d2f6b05ece0d3ae1c36ac4308 (patch) | |
tree | 741f5604aeb9edc636cdf36f62bed3d83e004f08 /include/configs/rockchip-common.h | |
parent | f1cc97764be4383d2aeb56d5ba5415439a1d5c97 (diff) | |
parent | 6f2797645562e85c407aab3e9a757bfd61a027fe (diff) | |
download | u-boot-b16f6804b4378c6d2f6b05ece0d3ae1c36ac4308.tar.gz |
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'include/configs/rockchip-common.h')
-rw-r--r-- | include/configs/rockchip-common.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h index 9e71b3f78d..fd930c101e 100644 --- a/include/configs/rockchip-common.h +++ b/include/configs/rockchip-common.h @@ -31,4 +31,18 @@ #endif +#ifdef CONFIG_ROCKCHIP_SPL_BACK_TO_BROM +/* SPL @ 32k for 34k + * u-boot directly after @ 68k for 400k or so + * ENV @ 992k + */ +#define CONFIG_ENV_OFFSET ((1024-32) * 1024) +#else +/* SPL @ 32k for ~36k + * ENV @ 96k + * u-boot @ 128K + */ +#define CONFIG_ENV_OFFSET (96 * 1024) +#endif + #endif /* _ROCKCHIP_COMMON_H_ */ |