diff mbox

[U-Boot,2/2] sunxi: add orangepi zero defconfig

Message ID 20161216143502.41046-2-icenowy@aosc.xyz
State Accepted
Commit 485329a578edc768cdaa4081f1b8aeb29c5f44af
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Icenowy Zheng Dec. 16, 2016, 2:35 p.m. UTC
Orange Pi Zero is a board designed by Xunlong. It has an Allwinner H2+
SoC (similar to H3, which shares the same SoC ID), 256MB/512MB RAM,
Allwinner XR819 SDIO Wi-Fi, a MicroUSB port which is used to power the
board (also capable of OTG), a USB Type-A socket and a MicroSD slot.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
---
 board/sunxi/MAINTAINERS         |  5 +++++
 configs/orangepi_zero_defconfig | 15 +++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 configs/orangepi_zero_defconfig

Comments

Jagan Teki Dec. 16, 2016, 2:52 p.m. UTC | #1
On Fri, Dec 16, 2016 at 3:35 PM, Icenowy Zheng <icenowy@aosc.xyz> wrote:
> Orange Pi Zero is a board designed by Xunlong. It has an Allwinner H2+
> SoC (similar to H3, which shares the same SoC ID), 256MB/512MB RAM,
> Allwinner XR819 SDIO Wi-Fi, a MicroUSB port which is used to power the
> board (also capable of OTG), a USB Type-A socket and a MicroSD slot.
>
> Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>

Reviewed-by: Jagan Teki <jagan@openedev.com>

thanks!
Jagan Teki Dec. 20, 2016, 2:55 p.m. UTC | #2
On Fri, Dec 16, 2016 at 3:52 PM, Jagan Teki <jagan@openedev.com> wrote:
> On Fri, Dec 16, 2016 at 3:35 PM, Icenowy Zheng <icenowy@aosc.xyz> wrote:
>> Orange Pi Zero is a board designed by Xunlong. It has an Allwinner H2+
>> SoC (similar to H3, which shares the same SoC ID), 256MB/512MB RAM,
>> Allwinner XR819 SDIO Wi-Fi, a MicroUSB port which is used to power the
>> board (also capable of OTG), a USB Type-A socket and a MicroSD slot.
>>
>> Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
>
> Reviewed-by: Jagan Teki <jagan@openedev.com>

Applied to u-boot-sunxi/next

thanks!
diff mbox

Patch

diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
index e23d45eed9..2321b8b08f 100644
--- a/board/sunxi/MAINTAINERS
+++ b/board/sunxi/MAINTAINERS
@@ -237,6 +237,11 @@  M:	FUKAUMI Naoki <naobsd@gmail.com>
 S:	Maintained
 F:	configs/Nintendo_NES_Classic_Edition_defconfig
 
+ORANGEPI ZERO BOARD
+M:	Icenowy Zheng <icenowy@aosc.xyz>
+S:	Maintained
+F:	configs/orangepi_zero_defconfig
+
 R16 EVB PARROT BOARD
 M:	Quentin Schulz <quentin.schulz@free-electrons.com>
 S:	Maintained
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
new file mode 100644
index 0000000000..8813927bc1
--- /dev/null
+++ b/configs/orangepi_zero_defconfig
@@ -0,0 +1,15 @@ 
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN8I_H3=y
+CONFIG_DRAM_CLK=672
+CONFIG_DRAM_ZQ=3881979
+CONFIG_DRAM_ODT_EN=y
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-zero"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_CONSOLE_MUX=y
+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