1. 25 May, 2016 1 commit
    • Hans de Goede's avatar
      sunxi: Enable a bunch of commands by default on sunxi · 0878a8a7
      Hans de Goede authored
      Recently a set of CONFIG_CMD_FOO defines was moved from being defined
      in config_distro_defaults to Kconfig, and added to all sunxi defconfigs
      to compensate.
      
      Instead of explictly selecting these in all sunxi defconfigs,
      simply always select these for sunxi boards. This makes the defconfigs
      simpler and ensures a consistent set of available commands across all
      sunxi boards.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      0878a8a7
  2. 25 Apr, 2016 3 commits
  3. 12 Apr, 2016 1 commit
  4. 23 Mar, 2016 1 commit
  5. 14 Mar, 2016 1 commit
    • Simon Glass's avatar
      Kconfig: Move CONFIG_FIT and related options to Kconfig · 73223f0e
      Simon Glass authored
      There are already two FIT options in Kconfig but the CONFIG options are
      still in the header files. We need to do a proper move to fix this.
      
      Move these options to Kconfig and tidy up board configuration:
      
         CONFIG_FIT
         CONFIG_OF_BOARD_SETUP
         CONFIG_OF_SYSTEM_SETUP
         CONFIG_FIT_SIGNATURE
         CONFIG_FIT_BEST_MATCH
         CONFIG_FIT_VERBOSE
         CONFIG_OF_STDOUT_VIA_ALIAS
         CONFIG_RSA
      
      Unfortunately the first one is a little complicated. We need to make sure
      this option is not enabled in SPL by this change. Also this option is
      enabled automatically in the host builds by defining CONFIG_FIT in the
      image.h file. To solve this, add a new IMAGE_USE_FIT #define which can
      be used in files that are built on the host but must also build for U-Boot
      and SPL.
      
      Note: Masahiro's moveconfig.py script is amazing.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      [trini: Add microblaze change, various configs/ re-applies]
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      73223f0e
  6. 10 Dec, 2015 1 commit
  7. 22 Nov, 2015 1 commit
  8. 18 Nov, 2015 1 commit
  9. 20 Oct, 2015 2 commits
  10. 29 Sep, 2015 1 commit
    • Hans de Goede's avatar
      sunxi: Add generic defconfigs for A33 Q8 tablets with 1024x600 / 800x480 LCD · 46f166ca
      Hans de Goede authored
      The 7" Q8 tablet enclosure is used for a ton of slightly different cheap
      chinese tablets. There are some differences in which accelerometer /
      wifi is used, but other then that these are all the same from a u-boot /
      kernel pov.
      
      When we get to adding accelerometer support the plan is to add some kind
      of autodetection and mangle the dt accordingly (likely using the new quirks
      mechanism).
      
      For now this is a non issue as we do not yet have accelerometer
      support, and in the future, some sort of auto-detect is the way to go
      as we cannot expect users to exactly know what is inside their tablet.
      
      The dts[i] files this commit adds are identical to the ones submitted
      to the upstream kernel.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarIan Campbell <ijc@hellion.org.uk>
      46f166ca
  11. 21 Aug, 2015 1 commit
  12. 05 Aug, 2015 1 commit
  13. 25 Jul, 2015 2 commits
  14. 08 Jul, 2015 1 commit
  15. 26 Jun, 2015 2 commits
  16. 05 Jun, 2015 1 commit
  17. 01 Jun, 2015 2 commits
  18. 12 May, 2015 1 commit
  19. 04 May, 2015 5 commits
  20. 15 Apr, 2015 1 commit
  21. 15 Mar, 2015 1 commit
  22. 10 Mar, 2015 1 commit
  23. 02 Feb, 2015 1 commit
  24. 22 Jan, 2015 2 commits
    • Hans de Goede's avatar
      sunxi: Hookup OTG USB controller support · 1a800f7a
      Hans de Goede authored
      Hookup OTG USB controller support and enable the otg controller + USB-keyb
      on various tablets.
      
      This allows tablet owners to interact with u-boot without needing to solder
      a serial console onto their tablet PCB.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarIan Campbell <ijc@hellion.org.uk>
      1a800f7a
    • Hans de Goede's avatar
      sunxi: display: Make lcd display clk phase configurable · 6515032e
      Hans de Goede authored
      While running some tests with an Olinuxino-A13-Micro + a 7" Olimex LCD module
      I noticed that the screen flickered. This is caused by the lcd display clk
      phase reg value being set to 0, where it should be 1 in this setup.
      
      This commit adds a Kconfig option for the lcd display clk phase, so that we
      can set it per board. This defaults to 1, because looking at all the fex
      files in sunxi-boards, that is by far the most used value.
      
      This commit updated the Ippo and MSI Primo73 tablet defconfigs to override the
      default of 1 with 0, as that is the correct value for those tablets, this
      keeps the register settings the same as before this commit.
      
      The Olinuxino-A13 defconfigs are not updated, changing the register setting
      for these boards from 0 to 1, this is intentional.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarIan Campbell <ijc@hellion.org.uk>
      6515032e
  25. 14 Jan, 2015 2 commits
  26. 25 Nov, 2014 2 commits
  27. 05 Nov, 2014 1 commit
    • Ian Campbell's avatar
      sunxi: kconfig: Introduce CONFIG_TARGET_<BOARD> · d9a20476
      Ian Campbell authored
      This was done automatically with the following bits of scripting.
      
      The Kconfig choice content was generated with this script snippet:
          for i in $(git grep -l CONFIG_ARCH_SUNXI configs/*) ; do
              TARGET=$(sed -n -e 's/CONFIG_SYS_EXTRA_OPTIONS="\([^,"]\+\).*/\1/p' $i);
              MACH=$(sed -n -e 's/.*CONFIG_\(MACH_SUN.I\)=./\1/p' $i)
              echo "config TARGET_$TARGET"
              echo "	bool \"$TARGET\""
              echo "	depends on $MACH"
              echo
          done
      
      defconfigs were updated with a sed script (t):
          # Extract board from first entry of CONFIG_SYS_EXTRA_OPTIONS,
          /^CONFIG_SYS_EXTRA_OPTIONS/ {
              s/^\(CONFIG_SYS_EXTRA_OPTIONS="\)\([^,"]\+\),\?\(.*\)/\1\3\nCONFIG_TARGET_\2=y/;
      
              # Print and delete first line (CONFIG_SYS_EXTRA_OPTIONS), leaving
              # CONFIG_TARGET_<BOARD> in pattern space
              P;D;
          };
      
          # Move CONFIG_TARGET_<BOARD> to hold space
          /^CONFIG_TARGET/{h;n}
      
          # Print CONFIG_TARGET_<BOARD> after CONFIG_MACH_<SOC> in either SPL or
          # normal mode.
          /^CONFIG_MACH/{p;g;p;n};
          /^\+S:CONFIG_MACH/{p;g;s/^CONFIG_TARGET/+S:&/;p;n};
      
          # Print any remaining lines normally
          p;
      Run as:
          sed -i -n -f t $(git grep -l CONFIG_ARCH_SUNXI configs/*)
      and then manually removing the one instance of CONFIG_SYS_EXTRA_OPTIONS="" from
      Colombus_defconfig
      
      board/sunxi/Makefile was updated with:
          sed -e 's/^\(obj-\$(CONFIG_\)\(.*\)\().*+= dram_.*\)/\1TARGET_\2\3/g' board/sunxi/Makefile
      and manually retabbing a few lines to line up again.
      
      The board descriptions could certainly be improved.
      Signed-off-by: default avatarIan Campbell <ijc@hellion.org.uk>
      Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      d9a20476