summaryrefslogtreecommitdiff
path: root/include/configs/evb_rk3399.h
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2016-07-19 13:16:59 (GMT)
committerSimon Glass <sjg@chromium.org>2016-07-26 02:46:45 (GMT)
commita381bcf529ff8c33867500cc9a68a100cfe6d22e (patch)
tree92e57a709fcd527c5e2977c3f43086a47c0fe311 /include/configs/evb_rk3399.h
parent777c834fd476af37340a1e4b15597669e8a0ca31 (diff)
downloadu-boot-a381bcf529ff8c33867500cc9a68a100cfe6d22e.tar.xz
ARM64: rockchip: add support for rk3399 SoC based evb
RK3399 is a SoC from Rockchip with dual-core Cortex-A72 and quad-core Cortex-A53 CPU. It supports two USB3.0 type-C ports and two USB2.0 EHCI ports. Other interfaces are very much like RK3288, the DRAM are 32bit width address and support address from 0 to 4GB-128MB range. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/evb_rk3399.h')
-rw-r--r--include/configs/evb_rk3399.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/configs/evb_rk3399.h b/include/configs/evb_rk3399.h
new file mode 100644
index 0000000..047850a
--- /dev/null
+++ b/include/configs/evb_rk3399.h
@@ -0,0 +1,26 @@
+/*
+ * (C) Copyright 2016 Rockchip Electronics Co., Ltd
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __EVB_RK3399_H
+#define __EVB_RK3399_H
+
+#include <configs/rk3399_common.h>
+
+#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_SYS_MMC_ENV_DEV 0
+/*
+ * SPL @ 32k for ~36k
+ * ENV @ 96k
+ * u-boot @ 128K
+ */
+#define CONFIG_ENV_OFFSET (96 * 1024)
+
+#define SDRAM_BANK_SIZE (2UL << 30)
+
+#define CONFIG_SYS_WHITE_ON_BLACK
+#define CONFIG_CONSOLE_SCROLL_LINES 10
+
+#endif