Skip to content
Snippets Groups Projects
  1. Apr 13, 2017
  2. Apr 12, 2017
    • Simon Glass's avatar
      arm: freescale: Rename initdram() to fsl_initdram() · 3eace37e
      Simon Glass authored
      
      This function name shadows a global name but is in fact different. This
      is very confusing. Rename it to help with the following refactoring.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      3eace37e
    • tim.chick's avatar
      debug_uart: Try not to use stack in printch · 6bacc736
      tim.chick authored
      
      Spam detection software, running on the system "lists.denx.de",
      has identified this incoming email as possible spam.  The original
      message has been attached to this so you can view it or label
      similar future email.  If you have any questions, see
      @@CONTACT_ADDRESS@@ for details.
      
      Content preview:  Previous change to create _printch causes the stack to be
        used, breaking printch before stack is available. Inline _printch to prevent
         this happening. Signed-off-by: Tim Chick <tim.chick@mediatek.com> --- [...]
      
      Content analysis details:   (6.3 points, 5.0 required)
      
       pts rule name              description
      ---- ---------------------- --------------------------------------------------
       0.7 RCVD_IN_XBL            RBL: Received via a relay in Spamhaus XBL
                                  [188.29.165.105 listed in zen.spamhaus.org]
       3.6 RCVD_IN_PBL            RBL: Received via a relay in Spamhaus PBL
       1.6 RCVD_IN_BRBL_LASTEXT   RBL: No description available.
                                  [188.29.165.105 listed in bb.barracudacentral.org]
       0.4 RDNS_DYNAMIC           Delivered to internal network by host with
                                  dynamic-looking rDNS
      Previous change to create _printch causes the stack to be used,
      breaking printch before stack is available. Inline _printch to
      prevent this happening.
      
      Signed-off-by: default avatarTim Chick <tim.chick@mediatek.com>
      6bacc736
    • Stefano Babic's avatar
      env: fix memory leak in fw_env routines · 33f0086c
      Stefano Babic authored
      
      fw_env_open allocates buffers to store the environment, but these
      buffers are never freed. This becomes quite nasty using the fw_ tools as
      library, because each access to the environment (even just reading a
      variable) generates a memory leak equal to the size of the environment.
      
      Fix this renaming fw_env_close() as fw_env_flush(), because the function
      really flushes the environment from RAM to storage, and add a
      fw_env_close function to free the allocated resources.
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      33f0086c
    • Stefano Babic's avatar
      env: add a version number to check API · 00c234f3
      Stefano Babic authored
      
      Changes in the environment library are difficult to tracked by programs
      using the library. Add simply an API version number that must be
      increased each time when the API is changed.
      
      This can be detected and a program can work with different versions of
      the library.
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      00c234f3
    • Stefano Babic's avatar
      env: split fw_env.h in public and private parts · 9d80b49a
      Stefano Babic authored
      
      Move U-Boot private data into a separate file. This
      lets export fw_env.h to be used by external programs
      that want to change the environment using the library
      built in tools/env.
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      9d80b49a
    • Stefano Babic's avatar
      Rename aes.h to uboot_aes.h · b80c0b99
      Stefano Babic authored
      
      aes.h is a too generic name if this file can
      be exported and used by a program.
      Rename it to avoid any conflicts with
      other files (for example, from openSSL).
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      b80c0b99
  3. Apr 11, 2017
  4. Apr 10, 2017
  5. Apr 09, 2017
Loading