1. 01 Aug, 2021 1 commit
  2. 02 Mar, 2021 1 commit
  3. 07 Feb, 2020 1 commit
    • Simon Glass's avatar
      tpm: Add a driver for H1/Cr50 · d36856a3
      Simon Glass authored and Bin Meng's avatar Bin Meng committed
      
      
      H1 is a Google security chip present in recent Chromebooks, Pixel phones
      and other devices. Cr50 is the name of the software that runs on H1 in
      Chromebooks.
      
      This chip is used to handle TPM-like functionality and also has quite a
      few additional features.
      
      Add a driver for this.
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      d36856a3
  4. 06 Feb, 2020 1 commit
  5. 09 Oct, 2018 1 commit
  6. 26 May, 2018 2 commits
  7. 07 May, 2018 1 commit
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      83d290c5
  8. 29 Jan, 2016 2 commits
  9. 23 Oct, 2015 2 commits
  10. 31 Aug, 2015 2 commits
    • Simon Glass's avatar
      dm: tpm: Add a uclass for Trusted Platform Modules · f255d31f
      Simon Glass authored
      
      
      Add a new uclass for TPMs which uses almost the same TIS (TPM Interface
      Specification) as is currently implemented. Since init() is handled by the
      normal driver model probe() method, we don't need to implement that. Also
      rename the transfer method to xfer() which is a less clumbsy name.
      
      Once all drivers and users are converted to driver model we can remove the
      old code.
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Acked-by: Christophe Ricard<christophe-h.ricard@st.com>
      Reviewed-by: Heiko Schocher's avatarHeiko Schocher <hs@denx.de>
      f255d31f
    • Simon Glass's avatar
      tpm: Move the I2C TPM code into one file · 4cd7b783
      Simon Glass authored
      
      
      The current Infineon I2C TPM driver is written in two parts, intended to
      support use with other I2C devices. However we don't have any users and the
      Atmel I2C TPM device does not use this file.
      
      We should simplify this and remove the unused abstration. As a first step,
      move the code into one file.
      
      Also the name tpm_private.h suggests that the header file is generic to all
      TPMs but it is not. Rename it indicate that it relates only to this driver
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: Heiko Schocher's avatarHeiko Schocher <hs@denx.de>
      4cd7b783
  11. 09 Jan, 2014 1 commit
  12. 17 Nov, 2013 1 commit
  13. 31 Oct, 2013 1 commit
  14. 24 Jul, 2013 1 commit
  15. 16 Jul, 2013 1 commit
  16. 03 Jun, 2013 2 commits
  17. 12 Apr, 2013 1 commit
  18. 07 Dec, 2011 1 commit
    • Vadim Bendebury's avatar
      Introduce generic TPM support in u-boot · 5e124724
      Vadim Bendebury authored and Wolfgang Denk's avatar Wolfgang Denk committed
      TPM (Trusted Platform Module) is an integrated circuit and
      software platform that provides computer manufacturers with the
      core components of a subsystem used to assure authenticity,
      integrity and confidentiality.
      
      This driver supports version 1.2 of the TCG (Trusted Computing
      Group) specifications.
      
      The TCG specification defines several so called localities in a
      TPM chip, to be controlled by different software layers. When
      used on a typical x86 platform during the firmware phase, only
      locality 0 can be accessed by the CPU, so this driver even while
      supporting the locality concept presumes that only locality zero
      is used.
      
      This implementation is loosely based on the article "Writing a
      TPM Device Driver" published on http://ptgmedia.pearsoncmg.com
      
      
      
      Compiling this driver with DEBUG defined will generate trace of
      all accesses to TMP registers.
      
      This driver has been tested and is being used in three different
      functional ChromeOS machines (Pinetrail and Sandy Bridge Intel
      chipsets) all using the same Infineon SLB 9635 TT 1.2 device.
      
      A u-boot cli command allowing access to the TPM was also
      implemented and is being submitted as a second patch.
      
      Change-Id: I22a33c3e5b2e20eec9557a7621bd463b30389d73
      Signed-off-by: default avatarVadim Bendebury <vbendeb@chromium.org>
      CC: Wolfgang Denk <wd@denx.de>
      5e124724
  19. 30 Apr, 2011 1 commit
    • Mike Frysinger's avatar
      zlib: split up to match original source tree · e89516f0
      Mike Frysinger authored and Wolfgang Denk's avatar Wolfgang Denk committed
      
      
      While looking to upgrade to zlib-1.2.5, the current mondo merge of
      multiple files into a single was making things way more difficult
      than it should have been.  Hard to pick out what has been changed
      to port it to U-Boot, been removed as useless, and bug fixes added
      after the fact.
      
      So split the single file up into the original file names, and merge
      non-essential changes back from the original tree (for some reason,
      style in code in a bunch of places was changed to U-Boot style even
      though this isn't "U-Boot" code).
      
      The original build style is retained -- we have a single zlib.c that
      includes all the other files, and that is the only file we compile.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      e89516f0
  20. 17 Nov, 2010 1 commit
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored and Wolfgang Denk's avatar Wolfgang Denk committed
      
      
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      Signed-off-by: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  21. 03 Nov, 2008 2 commits
  22. 14 Aug, 2008 1 commit
  23. 16 Aug, 2007 1 commit
  24. 08 Oct, 2006 1 commit
  25. 01 Sep, 2006 1 commit
    • Marian Balakowicz's avatar
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz authored
      Modifications are based on the linux kernel approach and
      support two use cases:
      
        1) Add O= to the make command line
        'make O=/tmp/build all'
      
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
        'make'
      
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      './MAKEALL'
      
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
      f9328639
  26. 12 Feb, 2004 1 commit
    • wdenk's avatar
      * Some code cleanup · bf9e3b38
      wdenk authored
      * Patch by Josef Baumgartner, 10 Feb 2004:
        Fixes for Coldfire port
      
      * Patch by Brad Kemp, 11 Feb 2004:
        Fix CFI flash driver problems
      bf9e3b38
  27. 08 Dec, 2003 1 commit
  28. 07 Dec, 2003 1 commit
  29. 30 Aug, 2003 1 commit
  30. 27 Jun, 2003 1 commit
    • wdenk's avatar
      * Code cleanup: · 8bde7f77
      wdenk authored
        - remove trailing white space, trailing empty lines, C++ comments, etc.
        - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
      
      * Patches by Kenneth Johansson, 25 Jun 2003:
        - major rework of command structure
          (work done mostly by Michal Cendrowski and Joakim Kristiansen)
      8bde7f77
  31. 16 Oct, 2002 1 commit
  32. 28 Apr, 2001 1 commit
  33. 14 Dec, 2000 1 commit
  34. 10 Jul, 2000 1 commit