aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSuniel Mahesh <sunil@amarulasolutions.com>2020-02-03 19:20:04 +0530
committerKever Yang <kever.yang@rock-chips.com>2020-02-19 16:45:38 +0800
commit01892d230dd456278cd28c3b8de109202f910238 (patch)
tree4c7985c5baec09fd815b08fa56bd2f6ba4d62012 /include
parent80b9882a6e666fe7edd7fe3e821ae6e8188fb126 (diff)
downloadu-boot-01892d230dd456278cd28c3b8de109202f910238.zip
u-boot-01892d230dd456278cd28c3b8de109202f910238.tar.gz
u-boot-01892d230dd456278cd28c3b8de109202f910238.tar.bz2
rockchip: rk3399: split roc-pc-rk3399 out of evb_rk3399
roc-pc-rk3399 board has one user button & three user LED's. Currently we don't have any code support for these devices. Since button and LED's are specific to roc-pc-rk3399 board, split it into its own board file and add code support here. Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/roc-pc-rk3399.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/configs/roc-pc-rk3399.h b/include/configs/roc-pc-rk3399.h
new file mode 100644
index 0000000..3fd1062
--- /dev/null
+++ b/include/configs/roc-pc-rk3399.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * (C) Copyright 2016 Rockchip Electronics Co., Ltd
+ */
+
+#ifndef __ROC_PC_RK3399_H
+#define __ROC_PC_RK3399_H
+
+#define ROCKCHIP_DEVICE_SETTINGS \
+ "stdin=serial,cros-ec-keyb\0" \
+ "stdout=serial,vidconsole\0" \
+ "stderr=serial,vidconsole\0"
+
+#include <configs/rk3399_common.h>
+
+#if defined(CONFIG_ENV_IS_IN_MMC)
+# define CONFIG_SYS_MMC_ENV_DEV 0
+#endif
+
+#define SDRAM_BANK_SIZE (2UL << 30)
+
+#endif