1. 27 Jul, 2015 1 commit
  2. 19 May, 2015 1 commit
    • Hans de Goede's avatar
      sunxi: Make DRAM_ODT_EN Kconfig setting a bool · 8975cdf4
      Hans de Goede authored
      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: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
  3. 02 Feb, 2015 2 commits
  4. 22 Jan, 2015 1 commit
    • Hans de Goede's avatar
      sunxi: Stop differentiating between 512M and 1G variants of the same board · 8ffc487c
      Hans de Goede authored
      While working on adding more boards I noticed that we lack a config for
      the 512M cubieboard, and that some of the new boards which I want to add also
      have 512M and 1G variants, rather then adding 2 defconfig's for all of these,
      lets switch the exising boards which have both a 512M and 1024M variant over
      to the sun4i dram autoconfig code.
      This also drops the foo_RAMSIZE_defconfig variants of boards where we currently
      have 2 separate configs already.
      1) The newly introduced CONFIG_DRAM_EMR1 kconfig value is not used with
      a value other then its default for now, but we need this to be configurable
      to support some new boards with auto dram config.
      2) We always set all CONFIG_DRAM_foo values in defconfigs, even if they match
      the defaults, this is done to make it more clear what values are used for a
      certain board.
      This has been tested on a Mele A1000, Mini-X and a Cubieboard, all 1G
      variants, the dram autoconfig code has also been tested on a 512M mk802
      (a defconfig for the mk802 is added in a later patch).
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarIan Campbell <ijc@hellion.org.uk>
  5. 31 Jul, 2014 1 commit
  6. 06 Jul, 2014 1 commit
  7. 25 May, 2014 1 commit