28 Jul, 2015

1 commit

  • Because the top-level Makefile forces all the source files
    to include include/linux/kconfig.h (see the UBOOTINCLUDE define),
    these includes are redundant.

    By the way, there are exceptions for the statement above; host
    programs. In fact, host tools in U-Boot depend on a particular
    board configuration, although I think they should not. So, some
    files still include to work around build errors
    on host tools.

    Signed-off-by: Masahiro Yamada
    Acked-by: Ian Campbell
    Acked-by: Simon Glass

    Masahiro Yamada
     

20 May, 2015

1 commit

  • Make DRAM_ODT_EN Kconfig setting a bool, add a separate DRAM_ODT_CORRECTION
    setting for A23 SoCs and use DRAM_ODT_EN Kconfig everywhere instead of
    only in dram_sun4i.c and hardcoding odt_en elsewhere.

    Note this commit makes no functional changes for existing boards,
    its purpose is to allow changing the odt_en value on future A33 boards.

    For sun4i/sun5i/sun7i boards which set DRAM_ODT_EN=y (which no defconfigs
    currently do) this patch turns on odt for both the DQ and the DQS lines,
    whereas previously it was possibly (but not desirable) to turn odt on only
    for one of them by setting the in DRAM_ODT_EN option to 1 or 2 instead of 3.

    Signed-off-by: Hans de Goede
    Acked-by: Siarhei Siamashka

    Hans de Goede
     

10 Mar, 2015

1 commit

  • The tpr3 (timing skew) parameter is used in all supported versions of
    the sunxi DRAM controller, but it was only enabled for sun4i in
    47e3501a76894f4ba08bc61f33774bd5d39ff464.

    Signed-off-by: Adam Sampson
    Acked-by: Siarhei Siamashka
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Adam Sampson
     

02 Feb, 2015

2 commits

  • This patch allows to configure all the important DRAM parameters in Kconfig.

    Signed-off-by: Siarhei Siamashka
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Siarhei Siamashka
     
  • In addition to the current Android magic settings, allow to optionally use
    DDR3 timing parameters, which are tailored for different clock frequencies
    and JEDEC speed bins. This should improve reliability and performance.

    Adding '+S:CONFIG_DRAM_TIMINGS_DDR3_1066F_1333H=y' to the board defconfig
    allows to use timings, which are calculated for the DDR3-1066F speed bin.
    A lot of DDR3 chips, which are used in real Allwinner based devices,
    support DDR3-1066F speed bin timings.

    And adding '+S:CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y' should work
    with any DDR3 chips, because this targets the slowest JEDEC speed bins.

    The vendor magic values are still used by default for DRAM, but board
    maintainers now have more flexibility in DRAM timings selection.

    Signed-off-by: Siarhei Siamashka
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Siarhei Siamashka
     

23 Jan, 2015

1 commit

  • The qt840a is one of the many tv-boxes using the "i12" A20 pcb, but it
    populates only one of the 2 places for a 16 bit dram ic, thus reducing
    the buswidth to 16 bits, and the amount of ram to 512M, which is why we
    had a separate config for it.

    This commit switches the generic i12-tvbox_defconfig over to DRAM
    autoconfiguration, so that it will work with the qt840a too, and drops the
    qt840a specific config, like we've done with other memory-amount specific
    configs before.

    Tested on a generic i12-tvbox with 32 bit bus-width / 1G RAM, and on a
    qt840a with 16 bit bus-width / 512M RAM.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     

22 Jan, 2015

1 commit

  • The mk802_a10s re-uses is the "classic" mk802 case and functionality, but has
    an A10s SoC inside rather then the A10, it features 512M or 1G RAM, 4G nand,
    a mini-hdmi female connector, USB-A receptacle, mini-usb receptacle (OTG)
    and a sdio realtek wifi chip. Unlike the original mk802 it does have a pmic,
    the axp152.

    For more details see: http://linux-sunxi.org/Semitime_g2

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede