1. 13 Mar, 2017 1 commit
  2. 28 Jan, 2017 3 commits
  3. 29 Dec, 2016 1 commit
  4. 28 Nov, 2016 1 commit
  5. 16 Sep, 2016 2 commits
  6. 09 Sep, 2016 1 commit
  7. 17 Jun, 2016 1 commit
  8. 09 Jun, 2016 1 commit
  9. 25 May, 2016 2 commits
  10. 25 Apr, 2016 3 commits
  11. 12 Apr, 2016 1 commit
  12. 23 Mar, 2016 1 commit
  13. 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: 's avatarSimon Glass <sjg@chromium.org>
      [trini: Add microblaze change, various configs/ re-applies]
      Signed-off-by: 's avatarTom Rini <trini@konsulko.com>
      73223f0e
  14. 10 Dec, 2015 1 commit
  15. 22 Nov, 2015 1 commit
  16. 18 Nov, 2015 1 commit
  17. 20 Oct, 2015 1 commit
  18. 25 Jul, 2015 1 commit
  19. 26 Jun, 2015 2 commits
  20. 05 Jun, 2015 1 commit
  21. 01 Jun, 2015 2 commits
  22. 12 May, 2015 1 commit
  23. 04 May, 2015 2 commits
  24. 18 Apr, 2015 1 commit
  25. 15 Mar, 2015 1 commit
  26. 02 Feb, 2015 1 commit
  27. 23 Jan, 2015 1 commit
  28. 14 Jan, 2015 1 commit
  29. 05 Nov, 2014 3 commits
    • 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: 's avatarIan Campbell <ijc@hellion.org.uk>
      Reviewed-by: 's avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: 's avatarHans de Goede <hdegoede@redhat.com>
      d9a20476
    • Ian Campbell's avatar
      sunxi: kconfig: Rename TARGET_SUN[45678]I to MACH_SUN[45678]I. · c3be2793
      Ian Campbell authored
      Now we have CONFIG_ARCH_SUNXI as the toplevel, CONFIG_MACH_SUN[45678]I as the
      per-SoC option and leave CONFIG_TARGET_BLAH free for individual boards in the
      future.
      
      Done automatically with:
          sed -i -e 's/TARGET_\(SUN[45678]I\)/MACH_\1/g' $(git grep -l TARGET_SUN[45678]I)
      Signed-off-by: 's avatarIan Campbell <ijc@hellion.org.uk>
      Reviewed-by: 's avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: 's avatarHans de Goede <hdegoede@redhat.com>
      c3be2793
    • Ian Campbell's avatar
      sunxi: kconfig: Add top-level ARCH_SUNXI · 2c7e3b90
      Ian Campbell authored
      And make TARGET_SUN[45678]I a choice variable under this.
      
      configs updated with:
          sed -i -e 's/^\(\+S:\)\?CONFIG_TARGET_SUN.I=y/\1CONFIG_ARCH_SUNXI=y\n&/g' configs/*
      Signed-off-by: 's avatarIan Campbell <ijc@hellion.org.uk>
      Reviewed-by: 's avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: 's avatarHans de Goede <hdegoede@redhat.com>
      2c7e3b90