summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjk.kernel@gmail.com <jk.kernel@gmail.com>2016-07-26 10:28:29 (GMT)
committerSimon Glass <sjg@chromium.org>2016-07-31 13:24:20 (GMT)
commitd7ca67b7cdd67f79637a8a0097277a68294fa3d8 (patch)
tree87077a1e3fd84a2ba73427b54f414b6a106c0cb2 /include
parentcba6bb1b74133060207192fba55e650d5744ed39 (diff)
downloadu-boot-d7ca67b7cdd67f79637a8a0097277a68294fa3d8.tar.xz
rockchip: add basic support for fennec-rk3288 board
Fennec is a RK3288-based development board with 2 USB ports, HDMI, micro-SD card, audio and WiFi and Gigabit Ethernet. It also includes on-board 8GB eMMC and 2GB of SDRAM. Expansion connectors provides access to display pins, I2C, SPI, UART and GPIOs. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/fennec_rk3288.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/configs/fennec_rk3288.h b/include/configs/fennec_rk3288.h
new file mode 100644
index 0000000..342557f
--- /dev/null
+++ b/include/configs/fennec_rk3288.h
@@ -0,0 +1,26 @@
+/*
+ * (C) Copyright 2016 Rockchip Electronics Co., Ltd
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#define ROCKCHIP_DEVICE_SETTINGS
+#include <configs/rk3288_common.h>
+
+#define CONFIG_SPL_MMC_SUPPORT
+
+#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_SYS_MMC_ENV_DEV 1
+/* SPL @ 32k for ~36k
+ * ENV @ 96k
+ * u-boot @ 128K
+ */
+#define CONFIG_ENV_OFFSET (96 * 1024)
+
+#define CONFIG_SYS_WHITE_ON_BLACK
+#define CONFIG_CONSOLE_SCROLL_LINES 10
+
+#endif