[U-Boot] [PATCH v2] sunxi: Add support for Mele M5.

Ian Campbell ijc+uboot at hellion.org.uk
Thu Jan 22 12:56:50 CET 2015


From: Ian Campbell <ijc at hellion.org.uk>

HDMI, SATA, USB and Ethernet appear functional, I've not done extensive tests
of all peripherals though.

Signed-off-by: Ian Campbell <ijc at hellion.org.uk>
---
Applies on "sunxi: Convert sun7i boards to use auto dram configuration"

v2: Enable AHCI.
---
 board/sunxi/MAINTAINERS   |  5 +++++
 configs/Mele_M5_defconfig | 13 +++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 configs/Mele_M5_defconfig

diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
index cc04e6c..fea23b8 100644
--- a/board/sunxi/MAINTAINERS
+++ b/board/sunxi/MAINTAINERS
@@ -93,3 +93,8 @@ MARSBOARD-A10 BOARD
 M:	Aleksei Mamlin <mamlinav at gmail.com>
 S:	Maintained
 F:	configs/Marsboard_A10_defconfig
+
+MELE M5 BOARD
+M:	Ian Campbell <ijc at hellion.org.uk>
+S:	Maintained
+F:	configs/Mele_M5_defconfig
diff --git a/configs/Mele_M5_defconfig b/configs/Mele_M5_defconfig
new file mode 100644
index 0000000..2e1f80d
--- /dev/null
+++ b/configs/Mele_M5_defconfig
@@ -0,0 +1,13 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,AHCI,USB_EHCI,STATUSLED=234"
+CONFIG_FDTFILE="sun7i-a20-m5.dtb"
+CONFIG_VIDEO_HDMI=y
++S:CONFIG_MMC0_CD_PIN="PH1"
++S:CONFIG_USB1_VBUS_PIN="PH6"
++S:CONFIG_USB2_VBUS_PIN="PH3"
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_SUNXI=y
++S:CONFIG_MACH_SUN7I=y
++S:CONFIG_DRAM_CLK=432
++S:CONFIG_DRAM_ZQ=122
++S:CONFIG_DRAM_EMR1=4
-- 
2.1.4



More information about the U-Boot mailing list