1. 23 10月, 2014 3 次提交
  2. 14 10月, 2014 1 次提交
  3. 13 10月, 2014 1 次提交
  4. 07 10月, 2014 1 次提交
  5. 25 9月, 2014 1 次提交
    • M
      kbuild: refactor some makefiles · f494e0a1
      Masahiro Yamada 提交于
      [1] Move driver/core/, driver/input/ and drivers/input/ entries
          from the top Makefile to drivers/Makefile
      
      [2] Remove the conditional by CONFIG_DM in drivers/core/Makefile
          because the whole drivers/core directory is already selected
          by CONFIG_DM in the upper level
      
      [3] Likewise for CONFIG_DM_DEMO in drivers/demo/Makefile
      
      [4] Simplify common/Makefile - both CONFIG_DDR_SPD and
          CONFIG_SPD_EEPROM are boolean macros so they can directly
          select objects
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: NMarek Vasut <marex@denx.de>
      f494e0a1
  6. 17 9月, 2014 2 次提交
  7. 11 9月, 2014 1 次提交
  8. 03 9月, 2014 1 次提交
  9. 29 8月, 2014 1 次提交
  10. 22 8月, 2014 5 次提交
  11. 09 8月, 2014 2 次提交
  12. 06 8月, 2014 1 次提交
  13. 30 7月, 2014 1 次提交
    • M
      kconfig: switch to Kconfig · 51148790
      Masahiro Yamada 提交于
      This commit enables Kconfig.
      Going forward, we use Kconfig for the board configuration.
      mkconfig will never be used. Nor will include/config.mk be generated.
      
      Kconfig must be adjusted for U-Boot because our situation is
      a little more complicated than Linux Kernel.
      We have to generate multiple boot images (Normal, SPL, TPL)
      from one source tree.
      Each image needs its own configuration input.
      
      Usage:
      
      Run "make <board>_defconfig" to do the board configuration.
      
      It will create the .config file and additionally spl/.config, tpl/.config
      if SPL, TPL is enabled, respectively.
      
      You can use "make config", "make menuconfig" etc. to create
      a new .config or modify the existing one.
      
      Use "make spl/config", "make spl/menuconfig" etc. for spl/.config
      and do likewise for tpl/.config file.
      
      The generic syntax of configuration targets for SPL, TPL is:
      
        <target_image>/<config_command>
      
      Here, <target_image> is either 'spl' or 'tpl'
            <config_command> is 'config', 'menuconfig', 'xconfig', etc.
      
      When the configuration is done, run "make".
      (Or "make <board>_defconfig all" will do the configuration and build
      in one time.)
      
      For futher information of how Kconfig works in U-Boot,
      please read the comment block of scripts/multiconfig.py.
      
      By the way, there is another item worth remarking here:
      coexistence of Kconfig and board herder files.
      
      Prior to Kconfig, we used C headers to define a set of configs.
      
      We expect a very long term to migrate from C headers to Kconfig.
      Two different infractructure must coexist in the interim.
      
      In our former configuration scheme, include/autoconf.mk was generated
      for use in makefiles.
      It is still generated under include/, spl/include/, tpl/include/ directory
      for the Normal, SPL, TPL image, respectively.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      51148790
  14. 26 7月, 2014 1 次提交
  15. 22 7月, 2014 3 次提交
    • I
      Makefile: fix tags target documentation · 5fc2f924
      Igor Grinberg 提交于
      Replace the TAGS target name by the actual ctags target name.
      Also, add etags target documentation.
      
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Signed-off-by: NIgor Grinberg <grinberg@compulab.co.il>
      5fc2f924
    • I
      Makefile: fix ctags/etags clean targets · b3dfe43c
      Igor Grinberg 提交于
      Commit efcf8619 (kbuild: use scripts/Makefile.clean)
      refactored the cleaning targets and accidentially replaced the actually
      generated "ctags" and "etags" files in the file list by "tags" and "TAGS".
      "tags" and "TAGS" are not part of the Makefile build targets and
      therefore should not be a part of the list for clean targets.
      
      Substitute the actually generated files instead, to fix the clean
      targets behavior.
      
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Signed-off-by: NIgor Grinberg <grinberg@compulab.co.il>
      b3dfe43c
    • I
      Makefile: fix the {c, e}tags/cscope build targets · 8d819ab5
      Igor Grinberg 提交于
      Commit 9e414032 (kbuild: change out-of-tree build)
      changed the U-Boot build working directory to the output tree
      for the out-of-tree builds.
      This broke the {c,e}tags/cscope build targets as TAG_SUBDIRS variable
      collected directories based on assumption that the build working
      directory is the U-Boot source tree directory.
      
      Fix the {c,e}tags/cscope build targets by adding the $(srctree) prefix.
      Also, remove the $(obj) prefix from the etags build target to finish
      the $(obj) prefix removal started by the same commit.
      
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Signed-off-by: NIgor Grinberg <grinberg@compulab.co.il>
      8d819ab5
  16. 15 7月, 2014 1 次提交
  17. 08 7月, 2014 2 次提交
  18. 03 7月, 2014 1 次提交
  19. 20 6月, 2014 1 次提交
  20. 19 6月, 2014 1 次提交
  21. 12 6月, 2014 5 次提交
    • M
      kbuild: move spl/Makefile to scripts/Makefile.spl · c7163083
      Masahiro Yamada 提交于
      All files under spl/ and tpl/ are generated during the build process
      except spl/Makefile.
      
      We can simplify clean-rule and git-ignore by moving spl/Makefile
      to somewhere else.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      c7163083
    • M
      15c939f9
    • S
      fdt: Add DEV_TREE_BIN option to specify a device tree binary file · 63b4b5ba
      Simon Glass 提交于
      In some cases, an externally-built device tree binary is required to be
      attached to U-Boot. An example is when using image signing, since in that
      case the .dtb file must include the public keys.
      
      Add a DEV_TREE_BIN option to the Makefile, and update the documentation.
      
      Usage is something like:
      
      	make DEV_TREE_BIN=boot/am335x-boneblack-pubkey.dtb
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      63b4b5ba
    • S
      Check that u-boot.bin size looks correct · 89742924
      Simon Glass 提交于
      Check that the image size matches the size we get from u-boot.bin. If it
      doesn't, that generally means that some extra sections are being added to
      u-boot.bin, meaning that it is not possible to access data appended to
      the U-Boot binary. This is used for device tree, so needs to work.
      
      This problem was introduced by commit b02bfc4d. By adding a test we can
      prevent a reccurence.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      89742924
    • J
      Makefile: fix clang warnings due to clang support · 9262233a
      Jeroen Hofstee 提交于
      Building u-boot tools with clang as a host compiler e.g. on
      FreeBSD with `gmake HOSTCC=clang CONFIG_USE_PRIVATE_LIBGCC=y tools`
      leads to many warnings [1] for every compiler invocation since
      commit 598e2d33. Part of mentioned commit imports linux patches:
      
       - kbuild: LLVMLinux: Adapt warnings for compilation with clang
       - kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang
      
      No version of clang supports the gcc fno-delete-null-pointer-checks
      though, but it is only passed to clang. Gcc does not have the clang
      specific Qunused-arguments for the target. Furthermore several
      warnings are disabled which aren't encountered in u-boot. Since such
      a build has worked for quite some time and works after removing these
      changes, just remove the clang specific handling to restore normal
      building with clang as hostcc.
      
      [1] Actual warnings
      -------------------
        GEN     include/autoconf.mk.dep
      arm-freebsd-gcc: unrecognized option '-Qunused-arguments'
      
        HOSTCC  scripts/basic/fixdep
      clang: warning: argument unused during compilation:
                      '-fno-delete-null-pointer-checks'
      
      cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl>
      9262233a
  22. 10 6月, 2014 1 次提交
  23. 06 6月, 2014 3 次提交