summaryrefslogtreecommitdiff
path: root/include/configs/phycore_rk3288.h
diff options
context:
space:
mode:
authorWadim Egorov <w.egorov@phytec.de>2017-06-19 13:36:40 +0300
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-07-11 16:23:38 +0300
commitbafcf2db4176940953a96339025d7b06e96cb22e (patch)
treed9c5419abd83ab32ba7123ddb8d439f5989e0995 /include/configs/phycore_rk3288.h
parentad98f882e86d3b7231b8c02bbdf8f7eee735aee6 (diff)
downloadu-boot-bafcf2db4176940953a96339025d7b06e96cb22e.tar.xz
rockchip: Add basic support for phyCORE-RK3288 SoM based carrier board
The phyCORE-RK3288 is a SoM (System on Module) containing a RK3288 SoC. The module can be connected to different carrier boards. It can be also equipped with different RAM, SPI flash and eMMC variants. The Rapid Development Kit option is using the following setup: - 1 GB DDR3 RAM (2 Banks) - 1x 4 KB EEPROM - DP83867 Gigabit Ethernet PHY - 16 MB SPI Flash - 4 GB eMMC Flash Add basic support for the PCM-947 carrier board, a RK3288 based development board made by PHYTEC. This board works in a combination with the phyCORE-RK3288 System on Module. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'include/configs/phycore_rk3288.h')
-rw-r--r--include/configs/phycore_rk3288.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/configs/phycore_rk3288.h b/include/configs/phycore_rk3288.h
new file mode 100644
index 0000000000..aab43ed594
--- /dev/null
+++ b/include/configs/phycore_rk3288.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2017 PHYTEC Messtechnik GmbH
+ * Author: Wadim Egorov <w.egorov@phytec.de>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#define ROCKCHIP_DEVICE_SETTINGS
+#include <configs/rk3288_common.h>
+
+#undef BOOT_TARGET_DEVICES
+
+#define BOOT_TARGET_DEVICES(func) \
+ func(MMC, mmc, 0) \
+ func(MMC, mmc, 1)
+
+#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_SYS_MMC_ENV_DEV 1
+
+#endif