1. 24 3月, 2016 1 次提交
  2. 15 3月, 2016 1 次提交
    • S
      Kconfig: Move CONFIG_FIT and related options to Kconfig · 73223f0e
      Simon Glass 提交于
      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: NSimon Glass <sjg@chromium.org>
      [trini: Add microblaze change, various configs/ re-applies]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      73223f0e
  3. 22 12月, 2015 1 次提交
  4. 10 12月, 2015 1 次提交
  5. 22 11月, 2015 1 次提交
  6. 19 11月, 2015 1 次提交
  7. 25 7月, 2015 1 次提交
  8. 26 6月, 2015 2 次提交
  9. 06 6月, 2015 1 次提交
  10. 01 6月, 2015 2 次提交
  11. 13 5月, 2015 1 次提交
  12. 04 5月, 2015 1 次提交
  13. 16 3月, 2015 1 次提交
  14. 22 1月, 2015 3 次提交
    • A
      sunxi: Add Marsboard A10 support · 1cf054a8
      Aleksei Mamlin 提交于
      This patch add support for Marsboard A10 board.
      
      The Marsboard A10 is a A10 based development board with 1G RAM, 1G NAND,
      micro SD card slot, SATA 2.0 socket, 10/100 ethernet, mini HDMI port,
      1 USB OTG port and 2 USB 2.0 ports. Board does not use the AXP209 pmic,
      it does not have a pmic at all.
      Board also have 2 expansion 70 pin headers.
      Signed-off-by: NAleksei Mamlin <mamlinav@gmail.com>
      Acked-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      1cf054a8
    • H
      sunxi: Remove CONFIG_TARGET_FOO for sun4i, sun6i and sun8i boards · 69152708
      Hans de Goede 提交于
      CONFIG_TARGET_FOO is only used in board/sunxi/Makefile to select the
      dram config for sun5i and sun7i boards and in board/sunxi/gmac.c for some
      special handling of the bananapi/bananapro (both sun7i), iow it is not used
      at all on any sun4i, sun6i and sun8i boards so lets get rid of it there.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Acked-by: NIan Campbell <ijc@hellion.org.uk>
      69152708
    • H
      sunxi: Stop differentiating between 512M and 1G variants of the same board · 8ffc487c
      Hans de Goede 提交于
      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.
      
      Note:
      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: NHans de Goede <hdegoede@redhat.com>
      Acked-by: NIan Campbell <ijc@hellion.org.uk>
      8ffc487c
  15. 05 11月, 2014 3 次提交
    • I
      sunxi: kconfig: Introduce CONFIG_TARGET_<BOARD> · d9a20476
      Ian Campbell 提交于
      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: NIan Campbell <ijc@hellion.org.uk>
      Reviewed-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      d9a20476
    • I
      sunxi: kconfig: Rename TARGET_SUN[45678]I to MACH_SUN[45678]I. · c3be2793
      Ian Campbell 提交于
      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: NIan Campbell <ijc@hellion.org.uk>
      Reviewed-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      c3be2793
    • I
      sunxi: kconfig: Add top-level ARCH_SUNXI · 2c7e3b90
      Ian Campbell 提交于
      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: NIan Campbell <ijc@hellion.org.uk>
      Reviewed-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      2c7e3b90
  16. 05 9月, 2014 2 次提交
  17. 12 8月, 2014 1 次提交
  18. 31 7月, 2014 1 次提交