1 From eccc92de2d133957fe2c126f18a5a5faef0bb93b Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Thu, 9 Jan 2014 23:26:05 +0100
4 Subject: [PATCH] sunxi: A10-OLinuXino-Lime support fixup
8 -dram timings, the used cas and tpr0 - tpr2 were typical sun5i / sun7i
9 settings, while they should be sun4i settings
10 -Properly sort boards.cfg entry
11 -Add status led support
13 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
15 board/sunxi/dram_a10_olinuxino_l.c | 40 +++++++++++++++++++-------------------
17 2 files changed, 21 insertions(+), 21 deletions(-)
19 diff --git a/board/sunxi/dram_a10_olinuxino_l.c b/board/sunxi/dram_a10_olinuxino_l.c
20 index 31b6542..24a1bd9 100644
21 --- a/board/sunxi/dram_a10_olinuxino_l.c
22 +++ b/board/sunxi/dram_a10_olinuxino_l.c
24 #include <asm/arch/dram.h>
26 static struct dram_para dram_para = {
67 unsigned long sunxi_dram_init(void)
69 - return dramc_init(&dram_para);
70 + return dramc_init(&dram_para);
72 diff --git a/boards.cfg b/boards.cfg
73 index eda05de..dfeb07a 100644
76 @@ -345,6 +345,7 @@ Active arm armv7 s5pc1xx samsung goni
77 Active arm armv7 s5pc1xx samsung smdkc100 smdkc100 - Minkyu Kang <mk7.kang@samsung.com>
78 Active arm armv7 socfpga altera socfpga socfpga_cyclone5 - -
79 Active arm armv7 sunxi - sunxi A10_MID_1GB sun4i:A10_MID_1GB,SPL -
80 +Active arm armv7 sunxi - sunxi A10-OLinuXino-Lime sun4i:A10_OLINUXINO_L,STATUSLED=226,SPL,SUNXI_EMAC -
81 Active arm armv7 sunxi - sunxi A10s-OLinuXino-M sun5i:A10S_OLINUXINO_M,STATUSLED=131,AXP152_POWER,CONS_INDEX=1,SPL,SUNXI_EMAC -
82 Active arm armv7 sunxi - sunxi A10s-OLinuXino-M_FEL sun5i:A10S_OLINUXINO_M,STATUSLED=131,AXP152_POWER,CONS_INDEX=1,SPL_FEL,SUNXI_EMAC -
83 Active arm armv7 sunxi - sunxi A13-OLinuXino sun5i:A13_OLINUXINO,SPL,STATUSLED=201,CONS_INDEX=2 -
84 @@ -415,7 +416,6 @@ Active arm armv7 sunxi - sunxi
85 Active arm armv7 sunxi - sunxi uhost_u1a sun4i:UHOST_U1A,SPL,STATUSLED=34 -
86 Active arm armv7 sunxi - sunxi wobo-i5 sun5i:WOBO_I5,SPL,STATUSLED=34 -
87 Active arm armv7 sunxi - sunxi xzpad700 sun5i:XZPAD700,SPL -
88 -Active arm armv7 sunxi - sunxi A10-OLinuXino-Lime sun4i:A10_OLINUXINO_L,SPL,SUNXI_EMAC -
89 Active arm armv7 u8500 st-ericsson snowball snowball - Mathieu Poirier <mathieu.poirier@linaro.org>
90 Active arm armv7 u8500 st-ericsson u8500 u8500_href - -
91 Active arm armv7 vf610 freescale vf610twr vf610twr vf610twr:IMX_CONFIG=board/freescale/vf610twr/imximage.cfg Alison Wang <b18965@freescale.com>