Hi Michal, Thanks for the patch!
AFAIK this is the tablet which you had with you at devconf, which does not work properly yet, correct? I think it is best to leave this out of u-boot-sunxi until we sort out the not working issue. When you've it working let me know, and I'll merge the (updated) patch for it. Regards, Hans On 01/16/2014 12:25 AM, Michal Suchanek wrote: > From d8d50b936a98f94f5a216bb99d6b519530778193 Mon Sep 17 00:00:00 2001 > > Signed-off-by: Michal Suchanek <[email protected]> > --- > board/sunxi/Makefile | 1 + > board/sunxi/dram_inet86vs.c | 29 +++++++++++++++++++++++++++++ > boards.cfg | 2 ++ > 3 files changed, 32 insertions(+) > create mode 100644 board/sunxi/dram_inet86vs.c > > diff --git a/board/sunxi/Makefile b/board/sunxi/Makefile > index e431653..e2327a9 100644 > --- a/board/sunxi/Makefile > +++ b/board/sunxi/Makefile > @@ -32,6 +32,7 @@ obj-$(CONFIG_A10S_OLINUXINO_M) += > dram_a10s_olinuxino_m.o > obj-$(CONFIG_A13_OLINUXINO) += dram_a13_olinuxino.o > obj-$(CONFIG_A13_OLINUXINOM) += dram_a13_oli_micro.o > obj-$(CONFIG_A13_MID) += dram_a13_mid.o > +obj-$(CONFIG_INET86VS) += dram_inet86vs.o > obj-$(CONFIG_A20_OLINUXINO_M) += dram_a20_olinuxino_m.o > obj-$(CONFIG_AUXTEK_T003) += dram_auxtek_t003.o > # This is not a typo, uses the same mem settings as the a10s-olinuxino-m > diff --git a/board/sunxi/dram_inet86vs.c b/board/sunxi/dram_inet86vs.c > new file mode 100644 > index 0000000..80d1a8e > --- /dev/null > +++ b/board/sunxi/dram_inet86vs.c > @@ -0,0 +1,29 @@ > +/* this file is generated, don't edit it yourself */ > + > +#include <common.h> > +#include <asm/arch/dram.h> > + > +static struct dram_para dram_para = { > + .clock = 408, > + .type = 3, > + .rank_num = 1, > + .density = 4096, > + .io_width = 16, > + .bus_width = 16, > + .cas = 9, > + .zq = 0x56b9697b, > + .odt_en = 0, > + .size = 512, > + .tpr0 = 0x42d899b7, > + .tpr1 = 0xa090, > + .tpr2 = 0x22a00, > + .tpr3 = 0x0, > + .emr1 = 0x4, > + .emr2 = 0x10, > + .emr3 = 0x0, > +}; > + > +unsigned long sunxi_dram_init(void) > +{ > + return dramc_init(&dram_para); > +} > diff --git a/boards.cfg b/boards.cfg > index ef986a7..d04ba31 100644 > --- a/boards.cfg > +++ b/boards.cfg > @@ -354,6 +354,8 @@ Active arm armv7 sunxi - > sunxi > Active arm armv7 sunxi - sunxi > A13-OLinuXinoM > sun5i:A13_OLINUXINOM,SPL,NO_AXP,STATUSLED=201,CONS_INDEX=2 > - > Active arm armv7 sunxi - sunxi > A13-OLinuXinoM_FEL > sun5i:A13_OLINUXINOM,SPL_FEL,NO_AXP,STATUSLED=201,CONS_INDEX=2 > - > Active arm armv7 sunxi - sunxi > A13_MID sun5i:A13_MID,SPL,CONS_INDEX=2 > > - > +Active arm armv7 sunxi - sunxi > INET86VS sun5i:INET86VS,SPL,CONS_INDEX=2 > > - > +Active arm armv7 sunxi - sunxi > INET86VS_FEL > sun5i:INET86VS,SPL_FEL,UART0_PORT_F > - > Active arm armv7 sunxi - sunxi > A20-OLinuXino_MICRO > sun7i:A20_OLINUXINO_M,CONS_INDEX=1,STATUSLED=226,SPL,SUNXI_EMAC > - > Active arm armv7 sunxi - sunxi > A20-OLinuXino_MICRO_FEL > sun7i:A20_OLINUXINO_M,CONS_INDEX=1,STATUSLED=226,SPL_FEL,SUNXI_EMAC > - > Active arm armv7 sunxi - sunxi > Auxtek-T003 > sun5i:AUXTEK_T003,SPL,AXP152_POWER,STATUSLED=34 > - > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
