1. 05 8月, 2015 1 次提交
  2. 31 7月, 2014 1 次提交
  3. 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
  4. 22 7月, 2014 1 次提交
  5. 12 6月, 2014 3 次提交
  6. 13 5月, 2014 1 次提交
    • R
      Trivial fix to .gitignore for spl/Makefile · 7e18a1b9
      Ralph Siemsen 提交于
      Trivial fix to .gitignore for spl/Makefile
      
      According to the gitignore man page:
      
      "An optional prefix "!" which negates the pattern; any matching file
      excluded by a previous pattern will become included again."
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      So the directory exclude "/spl/*" must come before the exception
      for spl/Makefile otherwise it has no effect.
      Signed-off-by: NRalph Siemsen <ralphs@netwinder.org>
      Tested-by: Masahiro Yamada <yamada.m@jp.panasonic.com> [on git v1.7.9.5 / v1.8.3.2]
      7e18a1b9
  7. 11 3月, 2014 1 次提交
  8. 22 2月, 2014 1 次提交
  9. 20 2月, 2014 3 次提交
  10. 20 1月, 2014 2 次提交
  11. 16 12月, 2013 1 次提交
  12. 13 12月, 2013 1 次提交
  13. 15 10月, 2013 1 次提交
  14. 03 8月, 2013 1 次提交
    • S
      dts/Makefile: simplify dtc invocation · cc4f427b
      Stephen Warren 提交于
      The invocation of dtc is significantly more complex that it could be,
      in order to work around an issue on old versions of dtc, which print
      a message to stdout every time they run.
      
      Remove this workaround, on the assumption that people have or will
      upgrade to a newer version of dtc. This simplifies the build rule
      significantly.
      
      Related, split the invocation of cpp and dtc into separate commands
      rather than a pipeline, so that if either fail, it is detected. This has
      the nice benefit of saving off the result of the pre-processing step,
      allowing it to be easily inspected.
      
      Assuming a new enough dtc (which an earlier patch enforces), dtc will
      parse #line directives in its input file, and generate correct file and
      line numbers in error messages, even though cpp is unconditionally
      applied to its input file.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      cc4f427b
  15. 30 7月, 2013 1 次提交
  16. 18 5月, 2013 1 次提交
  17. 06 5月, 2013 1 次提交
    • M
      arm: mxs: Preprocess u-boot.bd so they contain full path · 714dc001
      Marek Vasut 提交于
      The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise
      they have issues with out-of-tree build where elftosb tool couldn't sometimes
      find the u-boot.bin and spl/u-boot-spl.bin .
      
      Preprocess these .bd files with sed and insert full path to u-boot.bin and
      spl/u-boot-spl.bin to prevent this issue. Moreover, to avoid adding more
      churn into main Makefile, move all this preprocessing and u-boot.sb generation
      into CPU directory instead.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Acked-by: NOtavio Salvador <otavio@ossystems.com.br>
      714dc001
  18. 12 4月, 2013 3 次提交
  19. 13 3月, 2013 1 次提交
    • A
      Refactor linker-generated arrays · ef123c52
      Albert ARIBAUD 提交于
      Refactor linker-generated array code so that symbols
      which were previously linker-generated are now compiler-
      generated. This causes relocation records of type
      R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
      code which uses LGA able to run before relocation as
      well as after.
      
      Note: this affects more than ARM targets, as linker-
      lists span possibly all target architectures, notably
      PowerPC.
      
      Conflicts:
      	arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
      	arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
      	arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
      	board/ait/cam_enc_4xx/u-boot-spl.lds
      	board/davinci/da8xxevm/u-boot-spl-da850evm.lds
      	board/davinci/da8xxevm/u-boot-spl-hawk.lds
      	board/vpac270/u-boot-spl.lds
      Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net>
      ef123c52
  20. 22 1月, 2013 1 次提交
  21. 07 12月, 2012 1 次提交
  22. 22 10月, 2012 1 次提交
    • M
      common: Add symbol handling for generic lists into Makefile · 97b24d3d
      Marek Vasut 提交于
      This patch adds essential components for generation of the contents of
      the linker section that is used by the linker-generated array. All of
      the contents is held in a separate file, u-boot.lst, which is generated
      at runtime just before U-Boot is linked.
      
      The purpose of this code is to especially generate the appropriate
      boundary symbols around each subsection in the section carrying the
      linker-generated arrays. Obviously, the interim linker code for actual
      placement of the variables into the section is generated too. The
      generated file, u-boot.lst, is included into u-boot.lds via the linker
      INCLUDE directive in u-boot.lds .
      
      Adjustments are made in the Makefile and spl/Makefile so that the
      u-boot.lds and u-boot-spl.lds depend on their respective .lst files.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      Tested-by: NJoe Hershberger <joe.hershberger@ni.com>
      97b24d3d
  23. 19 9月, 2012 1 次提交
  24. 01 9月, 2012 1 次提交
  25. 10 8月, 2012 1 次提交
  26. 27 3月, 2012 1 次提交
  27. 24 12月, 2011 1 次提交
  28. 11 11月, 2011 1 次提交
  29. 27 10月, 2011 1 次提交
  30. 18 10月, 2011 1 次提交
    • S
      Adjust dependency rules to permit per-file flags · 47508843
      Simon Glass 提交于
      The dependency rules are currently done in a shell 'for' loop. This does not
      permit Makefile variables to adjust preprocessor flags as is done with normal
      compile flags, using the CFLAGS_path/file.o syntax.
      
      This change moves the dependency generation into the Makefile itself, and
      permits a CPPFLAGS_path/file.o to adjust preprocessor flags on a file or
      directory basis.
      
      The CPPFLAGS_... variable is also folded into CFLAGS during the build.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      47508843
  31. 07 10月, 2011 1 次提交
  32. 01 10月, 2011 1 次提交
  33. 22 9月, 2011 1 次提交