1. 20 12月, 2016 3 次提交
  2. 15 11月, 2016 1 次提交
  3. 20 8月, 2016 1 次提交
  4. 30 5月, 2016 1 次提交
  5. 23 5月, 2016 5 次提交
  6. 30 1月, 2016 1 次提交
  7. 19 1月, 2016 1 次提交
  8. 26 8月, 2015 1 次提交
    • S
      x86: Generate a valid ACPI table · 867bcb63
      Saket Sinha 提交于
      Implement write_acpi_table() to create a minimal working ACPI table.
      This includes writing FACS, XSDT, RSDP, FADT, MCFG, MADT, DSDT & SSDT
      ACPI table entries.
      
      Use a Kconfig option GENERATE_ACPI_TABLE to tell U-Boot whether we need
      actually write the APCI table just like we did for PIRQ routing, MP table
      and SFI tables. With ACPI table existence, linux kernel gets control of
      power management, thermal management, configuration management and
      monitoring in hardware.
      Signed-off-by: NSaket Sinha <saket.sinha89@gmail.com>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      Tidied up whitespace and aligned some tabs:
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      867bcb63
  9. 05 8月, 2015 1 次提交
  10. 28 7月, 2015 1 次提交
    • M
      kbuild: sync with Linux 4.1 · 98bd0e0d
      Masahiro Yamada 提交于
      Update some build scripts to match Linux 4.1.  Commit-based syncing
      was done so as not to break U-Boot specific changes.
      The previous big sync was from Linux 3.18-rc1 by commit 176d0982
      (kbuild: sync misc scripts with Linux 3.18-rc1).
      
      The commits imported from Linux (some with adjustments) are:
      
      [1] commit 9fb5e5372208973984a23ee6f5f025c05d364633
          Author: Robert Richter <rrichter@cavium.com>
          dts, kbuild: Factor out dtbs install rules to Makefile.dtbinst
      
      [2] commit 371fdc77af44f4cb32475fd499e1d912ccc30890
          Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
          kbuild: collect shorthands into scripts/Kbuild.include
      
      [3] commit a29b82326ed4eb5567b03c85b52c6891578d5a03
          Author: Michal Marek <mmarek@suse.cz>
          kbuild: Remove duplicate $(cmd) definition in Makefile.clean
      
      [4] commit 1846dfbde3e8a53f3673dcb1c1b79fd9b3f8d40d
          Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
          kbuild: remove redundant -rR flag of hdr-inst
      
      [5] commit 34948e0bbf98640fc1821751b01d2f0cd17d84d5
          Author: Michal Marek <mmarek@suse.cz>
          kbuild: Drop support for clean-rule
      
      [6] commit a16c5f99a28c9945165c46da27fff8e6f26f8736
          Author: Michal Marek <mmarek@suse.cz>
          kbuild: Fix removal of the debian/ directory
      
      [7] commit d0d38cd9e853db11e0242b3df4c9c3c4a663fbb4
          Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
          kbuild: use mixed-targets when two or more config targets are given
      
      [8] commit dd33c03b18b3f2db791eb6a17c37d2de66e4de18
          Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
          kbuild: fix cc-ifversion macro
      
      [9] commit 665d92e38f65d70796aad2b8e49e42e80815d4a4
          Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
          kbuild: do not add $(call ...) to invoke cc-version or cc-fullversion
      
      [10] commit 6dcb4e5edf39e3b65a75ca76f087b2fdbee8a808
          Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
          kbuild: allow cc-ifversion to have the argument for false condition
      
      [11] commit c0a80c0c27e5e65b180a25e6c4c2f7ef9e386cd3
          Author: Heiko Carstens <heiko.carstens@de.ibm.com>
          ftrace: allow architectures to specify ftrace compile options
      
      [12] commit 0b24becc810dc3be6e3f94103a866f214c282394
          Author: Andrey Ryabinin <a.ryabinin@samsung.com>
          kasan: add kernel address sanitizer infrastructure
      
      [13] commit 4218affdf57f938c04e3a916a9685ee27079f377
          Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
          kbuild: remove warning about "make depend"
      
      [14] commit 77479b38e2f58890eb221a0418357502a5b41cd6
          Author: Nathan Rossi <nathan.rossi@xilinx.com>
          kbuild: Create directory for target DTB
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Signed-off-by: NRobert Richter <rrichter@cavium.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NAndrey Ryabinin <a.ryabinin@samsung.com>
      Signed-off-by: NNathan Rossi <nathan.rossi@xilinx.com>
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      98bd0e0d
  11. 07 4月, 2015 1 次提交
  12. 25 11月, 2014 1 次提交
  13. 08 11月, 2014 1 次提交
    • M
      kbuild: improve multi-objs dependency and cleanups · cb6e7b0d
      Masahiro Yamada 提交于
      Since Linux 3.18-rc1, Kbuild is able to handle multi-objs
      dependency correctly, which also allows us futher cleanups
      of some makefiles.
      
      This commit imports those commits:
      
      [1] commit c8589d1e9e01 by Masahiro Yamada
      kbuild: handle multi-objs dependency appropriately
      
      [2] commit 97e3226e6e98 by Masahiro Yamada
      kbuild: handle the dependency of multi-objs hostprogs appropriately
      
      [3] commit 022af62d0190 by Masahiro Yamada
      kbuild: refactor script/kconfig/Makefile
      
      [4] commit 221ecca6cafe by Masahiro Yamada
      kbuild: remove redundant clean-files from scripts/kconfig/Makefile
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      cb6e7b0d
  14. 21 6月, 2014 1 次提交
  15. 20 6月, 2014 1 次提交
  16. 06 6月, 2014 1 次提交
  17. 18 4月, 2014 1 次提交
    • M
      kbuild: sync with Linux Kernel v3.15-rc1 · 598e2d33
      Masahiro Yamada 提交于
      This commit imports Kbuild-related updates
      from v3.14 to v3.15-rc1.
      
       - commit 3d3d6b8474204b6819688c9800774d52d370a538
          kbuild: LLVMLinux: Adapt warnings for compilation with clang
       - commit 61163efae02040f66a95c8ed17f4407951ba58fa
          kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang
       - commit 79192ca8ebd9a25c583aa46024a250fef1e7766f
          scripts: objdiff: detect object code changes between two commits
       - commit 1c9e70a55b088d97a59241744fe459409d0c3582
          kbuild: create a build directory automatically for out-of-tree build
       - commit a03fcb50e816a69acffb13b5e56db75063aeba8a
          kbuild: remove redundant '.*.cmd' pattern from make distclean
       - commit 13338935f1574a2dcd1c891461b0dcc42f8cff42
          kbuild: move "quote" to Kbuild.include to be consistent
       - commit bfdfaeae500a3b194b73b01e92a8034791a58b7f
          kbuild: specify build_docproc as a phony target
       - commit f4d4ffc03efc864645b990e1d579bbe1b8e358a4
          kbuild: dtbs_install: new make target
       - commit 1e64ff42ea3d8d2fc8aa71f9717b3c1cb6c2f893
          Kbuild, lto: Disable LTO for asm-offsets.c
       - commit ccbef1674a1579842c7dbdf554efca85d2cd245a
          Kbuild, lto: add ld-version and ld-ifversion macros
       - commit ae63b2d7bdd9bd66b88843be0daf8e37d8f0b574
          scripts/tags.sh: Ignore *.mod.c
       - commit e36aaea28972c57a32a3ba5365e61633739719b9
          kbuild: Fix silent builds with make-4
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      598e2d33
  18. 07 3月, 2014 1 次提交
    • M
      kbuild: improve Kbuild speed · 026f9cf2
      Masahiro Yamada 提交于
      Kbuild brought about many advantages for us but a significant
      performance regression was reported by Simon Glass.
      
      After some discussions and analysis, it turned out
      its main cause is in $(call cc-option,...).
      
      Historically, U-Boot parses all config.mk
      (arch/*/config.mk and board/*/config.mk)
      every time descending into subdirectories.
      That means cc-options are evaluated over and over again.
      
      $(call cc-option,...) is useful but costly.
      So we want to evaluate them only in ./Makefile
      and spl/Makefile and export compiler flags.
      
      This commit changes the build system as follows:
      
        - Modify scripts/Makefile.build to not include config.mk
          Instead, add $(PLATFORM_CPPFLAGS) to asflags-y, ccflags-y,
          cppflags-y.
      
        - Export many variables
          Going forward, Kbuild will not parse config.mk files
          when it descends into subdirectories.
          If we want to set variables in config.mk and use them
          in subdirectories, they must be exported.
      
          This is the list of variables to get exported:
            PLATFORM_CPPFLAGS
            CPUDIR
            BOARDDIR
            OBJCOPYFLAGS
            LDFLAGS
            LDFLAGS_FINAL
              (used in nand_spl/board/*/*/Makefile)
            CONFIG_STANDALONE_LOAD_ADDR
              (used in examples/standalone/Makefile)
            SYM_PREFIX
              (used in examples/standalone/Makefile)
            RELFLAGS
              (used in examples/standalone/Makefile)
      
        - Delete CPPFLAGS
          This variable has been replaced with PLATFORM_CPPFLAGS
      
        - Copy gcclibdir from example/standalone/Makefile
          to arch/sparc/config.mk
          The reference in CONFIG_STANDALONE_LOAD_ADDR must be
          resolved before it is exported.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Reported-by: NSimon Glass <sjg@chromium.org>
      Acked-by: NSimon Glass <sjg@chromium.org>
      Tested-by: Simon Glass <sjg@chromium.org> [on Sandbox]
      Tested-by: Stephen Warren <swarren@nvidia.com> [on Tegra]
      026f9cf2
  19. 20 2月, 2014 4 次提交
    • M
      dts: move device tree sources to arch/$(ARCH)/dts/ · 5ab502cb
      Masahiro Yamada 提交于
      Unlike Linux Kernel, U-Boot historically had *.dts files under
      board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/.
      
      I think arch/$(ARCH)/dts dicretory is a better location
      to store both *.dts and *.dtsi files.
      
      For example, before this commit, board/xilinx/dts directory
      had both Microblaze dts (microblaze-generic.dts) and
      ARM dts (zynq-*.dts), which are totally unrelated.
      
      This commit moves *.dts to arch/$(ARCH)/dts/ directories,
      allowing us to describe nicely mutiple DTBs generation in the next commit.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      5ab502cb
    • M
      dts: re-write dts/Makefile more simply with Kbuild · 6ab6b2af
      Masahiro Yamada 提交于
      Useful rules in scripts/Makefile.lib allows us to easily
      generate a device tree blob and wrap it in assembly code.
      
      We do not need to parse a linker script to get output format and arch.
      
      This commit deletes ./u-boot.dtb since it is a copy of dts/dt.dtb.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      6ab6b2af
    • M
      kbuild: use Linux Kernel build scripts · 6825a95b
      Masahiro Yamada 提交于
      Now we are ready to switch over to real Kbuild.
      
      This commit disables temporary scripts:
        scripts/{Makefile.build.tmp, Makefile.host.tmp}
      and enables real Kbuild scripts:
        scripts/{Makefile.build,Makefile.host,Makefile.lib}.
      
      This switch is triggered by the line in scripts/Kbuild.include
        -build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
        +build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj
      
      We need to adjust some build scripts for U-Boot.
      But smaller amount of modification is preferable.
      
      Additionally, we need to fix compiler flags which are
      locally added or removed.
      
      In Kbuild, it is not allowed to change CFLAGS locally.
      Instead, ccflags-y, asflags-y, cppflags-y,
      CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
      are prepared for that purpose.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: NGerhard Sittig <gsi@denx.de>
      6825a95b
    • M
      kbuild: import more build scripts from Linux v3.13 tag · 22433fc5
      Masahiro Yamada 提交于
      This commit imports build scripts from Linux Kernel v3.13
      as they are.
      
      I know they include some trailing spaces
      but I am intentionally keeping them untouched.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      22433fc5