armbian-build/patch/u-boot/u-boot-sunxi/add-nanopi-m1plus.patch
zador-blood-stained e84d47fc3d Split missing H3 boards u-boot patch
Use NanoPi M1 u-boot config from upstream
This will require patching kernel to add M1 DT file
2016-12-01 22:18:51 +03:00

22 lines
595 B
Diff

diff --git a/configs/nanopi_m1plus_defconfig b/configs/nanopi_m1plus_defconfig
new file mode 100644
index 0000000..22a833d
--- /dev/null
+++ b/configs/nanopi_m1plus_defconfig
@@ -0,0 +1,15 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN8I_H3=y
+CONFIG_DRAM_CLK=576
+CONFIG_DRAM_ZQ=3881979
+CONFIG_DRAM_ODT_EN=y
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-pc"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_SUN8I_EMAC=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2