1. 12 11月, 2018 1 次提交
  2. 25 10月, 2018 1 次提交
    • P
      imx: mkimage: avoid stop CI when required files not exists · d7961159
      Peng Fan 提交于
      Introduce a new script to check whether file exists and
      use that check in Makefile to avoid break CI system.
      
      The script return 1 when the required files not exists, return 0
      when files exists. The script will ignore check to u-boot-dtb.bin,
      because if there is something wrong to generate u-boot-dtb.bin,
      there must be some code error.
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      d7961159
  3. 22 10月, 2018 2 次提交
  4. 16 10月, 2018 1 次提交
  5. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      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: NTom Rini <trini@konsulko.com>
      83d290c5
  6. 15 4月, 2018 1 次提交
    • T
      imx: Create distinct pre-processed mkimage config files · f9167573
      Trent Piepho 提交于
      Each imx image is created by a separate sub-make and during this process
      the mkimage config file is run though cpp.
      
      The cpp output is to the same file no matter what imx image is being
      created.
      
      This means if two imx images are generated in parallel they will attempt
      to independently produce the same pre-processed mkimage config file at
      the same time.
      
      Avoid the problem by making the pre-processed config file name unique
      based on the imx image it will be used in.  This way each image will
      create a unique config file and they won't clobber each other when run
      in parallel.
      
      This should fixed the build bug referenced in b5b0e4e3 ("imximage:
      Remove failure when no IVT offset is found").
      
      Cc: Breno Lima <breno.lima@nxp.com>
      Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Signed-off-by: NTrent Piepho <tpiepho@impinj.com>
      Tested-by: NFabio Estevam <fabio.estevam@nxp.com>
      f9167573
  7. 04 2月, 2018 5 次提交
  8. 12 1月, 2018 1 次提交
  9. 09 1月, 2018 2 次提交
  10. 12 7月, 2017 2 次提交
    • S
      imx: reorganize IMX code as other SOCs · 552a848e
      Stefano Babic 提交于
      Change is consistent with other SOCs and it is in preparation
      for adding SOMs. SOC's related files are moved from cpu/ to
      mach-imx/<SOC>.
      
      This change is also coherent with the structure in kernel.
      Signed-off-by: NStefano Babic <sbabic@denx.de>
      
      CC: Fabio Estevam <fabio.estevam@nxp.com>
      CC: Akshay Bhat <akshaybhat@timesys.com>
      CC: Ken Lin <Ken.Lin@advantech.com.tw>
      CC: Marek Vasut <marek.vasut@gmail.com>
      CC: Heiko Schocher <hs@denx.de>
      CC: "Sébastien Szymanski" <sebastien.szymanski@armadeus.com>
      CC: Christian Gmeiner <christian.gmeiner@gmail.com>
      CC: Stefan Roese <sr@denx.de>
      CC: Patrick Bruenn <p.bruenn@beckhoff.com>
      CC: Troy Kisky <troy.kisky@boundarydevices.com>
      CC: Nikita Kiryanov <nikita@compulab.co.il>
      CC: Otavio Salvador <otavio@ossystems.com.br>
      CC: "Eric Bénard" <eric@eukrea.com>
      CC: Jagan Teki <jagan@amarulasolutions.com>
      CC: Ye Li <ye.li@nxp.com>
      CC: Peng Fan <peng.fan@nxp.com>
      CC: Adrian Alonso <adrian.alonso@nxp.com>
      CC: Alison Wang <b18965@freescale.com>
      CC: Tim Harvey <tharvey@gateworks.com>
      CC: Martin Donnelly <martin.donnelly@ge.com>
      CC: Marcin Niestroj <m.niestroj@grinn-global.com>
      CC: Lukasz Majewski <lukma@denx.de>
      CC: Adam Ford <aford173@gmail.com>
      CC: "Albert ARIBAUD (3ADEV)" <albert.aribaud@3adev.fr>
      CC: Boris Brezillon <boris.brezillon@free-electrons.com>
      CC: Soeren Moch <smoch@web.de>
      CC: Richard Hu <richard.hu@technexion.com>
      CC: Wig Cheng <wig.cheng@technexion.com>
      CC: Vanessa Maegima <vanessa.maegima@nxp.com>
      CC: Max Krummenacher <max.krummenacher@toradex.com>
      CC: Stefan Agner <stefan.agner@toradex.com>
      CC: Markus Niebel <Markus.Niebel@tq-group.com>
      CC: Breno Lima <breno.lima@nxp.com>
      CC: Francesco Montefoschi <francesco.montefoschi@udoo.org>
      CC: Jaehoon Chung <jh80.chung@samsung.com>
      CC: Scott Wood <oss@buserror.net>
      CC: Joe Hershberger <joe.hershberger@ni.com>
      CC: Anatolij Gustschin <agust@denx.de>
      CC: Simon Glass <sjg@chromium.org>
      CC: "Andrew F. Davis" <afd@ti.com>
      CC: "Łukasz Majewski" <l.majewski@samsung.com>
      CC: Patrice Chotard <patrice.chotard@st.com>
      CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Hans de Goede <hdegoede@redhat.com>
      CC: Masahiro Yamada <yamada.masahiro@socionext.com>
      CC: Stephen Warren <swarren@nvidia.com>
      CC: Andre Przywara <andre.przywara@arm.com>
      CC: "Álvaro Fernández Rojas" <noltari@gmail.com>
      CC: York Sun <york.sun@nxp.com>
      CC: Xiaoliang Yang <xiaoliang.yang@nxp.com>
      CC: Chen-Yu Tsai <wens@csie.org>
      CC: George McCollister <george.mccollister@gmail.com>
      CC: Sven Ebenfeld <sven.ebenfeld@gmail.com>
      CC: Filip Brozovic <fbrozovic@gmail.com>
      CC: Petr Kulhavy <brain@jikos.cz>
      CC: Eric Nelson <eric@nelint.com>
      CC: Bai Ping <ping.bai@nxp.com>
      CC: Anson Huang <Anson.Huang@nxp.com>
      CC: Sanchayan Maity <maitysanchayan@gmail.com>
      CC: Lokesh Vutla <lokeshvutla@ti.com>
      CC: Patrick Delaunay <patrick.delaunay@st.com>
      CC: Gary Bisson <gary.bisson@boundarydevices.com>
      CC: Alexander Graf <agraf@suse.de>
      CC: u-boot@lists.denx.de
      Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
      Reviewed-by: NChristian Gmeiner <christian.gmeiner@gmail.com>
      552a848e
    • S
      Kconfig: Add CONFIG_SATA to enable SATA · 10e40d54
      Simon Glass 提交于
      At present CONFIG_CMD_SATA enables the 'sata' command which also brings
      in SATA support. Some boards may wish to enable SATA without the command.
      Add a separate CONFIG to permit this.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      10e40d54
  11. 17 3月, 2017 1 次提交
  12. 03 1月, 2017 2 次提交
  13. 24 10月, 2016 1 次提交
  14. 03 5月, 2016 1 次提交
  15. 19 4月, 2016 1 次提交
    • M
      arm: mx5: Fix NAND image generation · 0297bd11
      Marek Vasut 提交于
      The echo -ne "\xNN" does not work in certain bourne-compatible shells, like
      dash. The recommended way of hex->char conversion is using printf(1), but
      there is a pitfall here. The GNU printf does support "\xNN" format, but
      according to the opengroup documentation, this is not part of POSIX. The
      POSIX printf only defines "\NNN" where N is octal. Thus, for the sake of
      compatibility, we use that.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      0297bd11
  16. 21 2月, 2016 2 次提交
  17. 13 11月, 2015 1 次提交
    • P
      imx: mx7: compile misc.c for mx7 · f978559c
      Peng Fan 提交于
      Compile misc.c for mx7, since we need related function for
      lcdif and nand.
      Signed-off-by: NPeng Fan <Peng.Fan@freescale.com>
      Cc: Sanchayan Maity <maitysanchayan@gmail.com>
      Cc: Stefan Agner <stefan@agner.ch>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      f978559c
  18. 30 10月, 2015 1 次提交
  19. 13 9月, 2015 3 次提交
  20. 24 4月, 2015 1 次提交
  21. 02 3月, 2015 1 次提交
    • R
      imx6: Added DEK blob generator command · 0200020b
      Raul Cardenas 提交于
      Freescale's SEC block has built-in Data Encryption
      Key(DEK) Blob Protocol which provides a method for
      protecting a DEK for non-secure memory storage.
      SEC block protects data in a data structure called
      a Secret Key Blob, which provides both confidentiality
      and integrity protection.
      Every time the blob encapsulation is executed,
      a AES-256 key is randomly generated to encrypt the DEK.
      This key is encrypted with the OTP Secret key
      from SoC. The resulting blob consists of the encrypted
      AES-256 key, the encrypted DEK, and a 16-bit MAC.
      
      During decapsulation, the reverse process is performed
      to get back the original DEK. A caveat to the blob
      decapsulation process,  is that the DEK is decrypted
      in secure-memory and can only be read by FSL SEC HW.
      The DEK is used to decrypt data during encrypted boot.
      
      Commands added
      --------------
        dek_blob - encapsulating DEK as a cryptgraphic blob
      
      Commands Syntax
      ---------------
        dek_blob src dst len
      
          Encapsulate and create blob of a len-bits DEK at
          address src and store the result at address dst.
      Signed-off-by: NRaul Cardenas <Ulises.Cardenas@freescale.com>
      Signed-off-by: NNitin Garg <nitin.garg@freescale.com>
      Signed-off-by: NUlises Cardenas <ulises.cardenas@freescale.com>
      Signed-off-by: NUlises Cardenas-B45798 <Ulises.Cardenas@freescale.com>
      0200020b
  22. 06 6月, 2014 2 次提交
  23. 15 4月, 2014 1 次提交
  24. 02 4月, 2014 1 次提交
  25. 29 3月, 2014 1 次提交
    • M
      kbuild: Rename UIMAGE to MKIMAGE · b97241b3
      Marek Vasut 提交于
      U-Boot uses the 'mkimage' tool to produce various image types,
      not only uImage image type. Rename the invocation name from
      UIMAGE to MKIMAGE.
      
      The following command was used to do the replacement:
      git grep 'quiet_cmd_mkimage.* = UIMAGE' | cut -d : -f 1 | \
       xargs -i sed -i "s@\(quiet_cmd_mkimage\)\(.*\) = UIMAGE @\1\2 = MKIMAGE@" {}
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      b97241b3
  26. 26 2月, 2014 2 次提交
  27. 20 2月, 2014 1 次提交
    • 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