summaryrefslogtreecommitdiff
path: root/include/configs/rock2.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-10-03 09:09:29 -0400
committerTom Rini <trini@konsulko.com>2016-10-03 09:09:29 -0400
commit51b4a639e45bfb592d7019b4e2a8cc72ad206c9b (patch)
tree4014fa73958f7ad2b9281c60a8e2253f32099239 /include/configs/rock2.h
parente95b9b4437bcc31107bdc3b7625bd7c11ad24ef7 (diff)
parent67171e13a3e0665b18c657a6704a22ca7900f4c3 (diff)
downloadu-boot-imx-51b4a639e45bfb592d7019b4e2a8cc72ad206c9b.zip
u-boot-imx-51b4a639e45bfb592d7019b4e2a8cc72ad206c9b.tar.gz
u-boot-imx-51b4a639e45bfb592d7019b4e2a8cc72ad206c9b.tar.bz2
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'include/configs/rock2.h')
-rw-r--r--include/configs/rock2.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/rock2.h b/include/configs/rock2.h
index ee924c3..99d6915 100644
--- a/include/configs/rock2.h
+++ b/include/configs/rock2.h
@@ -16,11 +16,20 @@
#define CONFIG_ENV_IS_IN_MMC
#define CONFIG_SYS_MMC_ENV_DEV 0
+
+#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
#define CONFIG_SYS_WHITE_ON_BLACK
#define CONFIG_CONSOLE_SCROLL_LINES 10