]> git.sur5r.net Git - u-boot/commitdiff
strider: Support cpu-dp flavor
authorDirk Eibach <dirk.eibach@gdsys.cc>
Thu, 2 Jun 2016 07:05:42 +0000 (09:05 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2016 17:39:14 +0000 (13:39 -0400)
There is new strider cpu flavor with DisplayPort video.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Reviewed-by: Tom Rini <trini@konsulko.com>
configs/strider_cpu_dp_defconfig [new file with mode: 0644]
include/configs/strider.h

diff --git a/configs/strider_cpu_dp_defconfig b/configs/strider_cpu_dp_defconfig
new file mode 100644 (file)
index 0000000..db75c0d
--- /dev/null
@@ -0,0 +1,20 @@
+CONFIG_PPC=y
+CONFIG_MPC83xx=y
+CONFIG_TARGET_STRIDER=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_OF_BOARD_SETUP=y
+CONFIG_OF_STDOUT_VIA_ALIAS=y
+CONFIG_SYS_EXTRA_OPTIONS="STRIDER_CPU,STRIDER_CPU_DP"
+CONFIG_HUSH_PARSER=y
+CONFIG_AUTOBOOT_KEYED=y
+CONFIG_AUTOBOOT_STOP_STR=" "
+CONFIG_CMD_MEMTEST=y
+CONFIG_CMD_MMC=y
+CONFIG_CMD_I2C=y
+# CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
+CONFIG_CMD_EXT2=y
+CONFIG_SYS_NS16550=y
+CONFIG_OF_LIBFDT=y
index 20ffc0c61fd787819f7505d0af4e929f160b1a19..90492f4fdb6c1b903f4b11d39abe1270de690e43 100644 (file)
@@ -20,7 +20,9 @@
 
 #define        CONFIG_SYS_TEXT_BASE    0xFE000000
 
-#ifdef CONFIG_STRIDER_CPU
+#ifdef CONFIG_STRIDER_CPU_DP
+#define CONFIG_IDENT_STRING    " strider cpu dp 0.01"
+#elif defined(CONFIG_STRIDER_CPU)
 #define CONFIG_IDENT_STRING    " strider cpu 0.01"
 #elif defined(CONFIG_STRIDER_CON_DP)
 #define CONFIG_IDENT_STRING    " strider con dp 0.01"
 #define CONFIG_SYS_DP501_I2C                   {1, 3, 5, 7, 2, 4, 6, 8}
 #define CONFIG_STRIDER_FANS                    { {10, 0x4c}, {11, 0x4c}, \
                                                  {12, 0x4c} }
+#elif defined(CONFIG_STRIDER_CPU_DP)
+#define CONFIG_SYS_CH7301_I2C                  {1, 2, 3, 4}
+#define CONFIG_SYS_ADV7611_I2C                 {1, 2, 3, 4}
+#define CONFIG_SYS_DP501_I2C                   {1, 2, 3, 4}
+#define CONFIG_STRIDER_FANS                    { {6, 0x4c}, {7, 0x4c}, \
+                                                 {8, 0x4c} }
 #else
 #define CONFIG_SYS_CH7301_I2C                  {1, 2, 3, 4}
 #define CONFIG_SYS_ADV7611_I2C                 {1, 2, 3, 4}