- Mar 29, 2016
-
-
Saksham Jain authored
For secure boot, a header is used to identify key table, signature and image address. A new header structure is added for lsch3. Currently key extension (IE) feature is not supported. Single key feature is not supported. Keys must be in table format. Hence, SRK (key table) must be present. Max key number has increase from 4 to 8. The 8th key is irrevocable. A new barker Code is used. Signed-off-by:
Aneesh Bansal <aneesh.bansal@nxp.com> Signed-off-by:
Saksham Jain <saksham.jain@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Saksham Jain authored
Add configs for various IPs used during secure boot. Add address and endianness for SEC and Security Monitor. SRK are fuses in SFP (fuses for public key's hash). These are stored in little endian format. Signed-off-by:
Aneesh Bansal <aneesh.bansal@nxp.com> Signed-off-by:
Saksham Jain <saksham.jain@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Saksham Jain authored
In LS2080, SFP has version 3.4. It is in little endian. The base address is 0x01e80200. SFP is used in Secure Boot to read fuses. Signed-off-by:
Aneesh Bansal <aneesh.bansal@nxp.com> Signed-off-by:
Saksham Jain <saksham.jain@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Prabhakar Kushwaha authored
NULL pointer should be checked before any dereference. This patch move memest after the NULL pointer check. Signed-off-by:
Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reported-by:
Jose Rivera <german.rivera@nxp.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Prabhakar Kushwaha authored
Free dflt_dpio pointer after its usage during error handling Signed-off-by:
Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reported-by:
Jose Rivera <german.rivera@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Qianyu Gong authored
The qspi_cfg register is set by PBI when booting from QSPI. No need to changing it again. Signed-off-by:
Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
- Mar 24, 2016
-
-
Qianyu Gong authored
Signed-off-by:
Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Stuart Yoder authored
The fsl-mc node has been moved under /soc, so update the path references accordingly. Backwards compatibility is retained for /fsl-mc. Delete backwards compatibility for the completely obsolete /fsl,dprc@0. Signed-off-by:
Stuart Yoder <stuart.yoder@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
- Mar 22, 2016
-
-
Introduce CONFIG_RTL8169 in Kconfig and move over boards' defconfig to use that. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Acked-by:
Stephen Warren <swaren@nvidia.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Introduce CONFIG_RTL8139 in Kconfig and move over boards' defconfig to use that. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com> [trini: Fixup MPC8641HPCN* and r2dplus configs] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Some boards' defconfig files are out of order. Clean this up. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
This should return 0 on success, not 1. Fix it. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
The error path for fit_import_data() is incorrect if the second open() call fails. Reported-by: Coverity (CID: 138489) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
The file that is opened is not closed in all cases. Fix it. Reported-by: Coverity (CID: 138490) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Make sure that both the error path and normal return free the buffer and close the file. Reported-by: Coverity (CID: 138491) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
The 'buf' variable is not freed. Fix it. Reported-by: Coverity (CID: 138492) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
The 'fdt' variable is not unmapped in all error cases. Fix this. Reported-by: Coverity (CID: 138493) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
The space allocated to fdt is not freed on error. Fix it. Reported-by: Coverity (CID: 138494) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
There is a missing close() on the error path. Add it. Reported-by: Coverity (CID: 138496) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
This cannot be NULL since part_get_info() calls this function and requires it to be non-NULL. Reported-by: Coverity (CID: 138497) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
This cannot be NULL since part_print() calls this function and requires it to be non-NULL. Reported-by: Coverity (CID: 138498) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
One of these is causing a coverity warning. Drop these functions and use the standard U-Boot ones instead. Reported-by: Coverity (CID: 138499) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
The code flows through to the end of the function, so we don't need another close() before this. Remove it. Reported-by: Coverity (CID: 138503) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
The code flows through to the end of the function, so we don't need another close() before this. Remove it. Reported-by: Coverity (CID: 138504) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
The munmap() call unmaps the wrong memory buffer. Fix it. Reported-by: Coverity (CID: 138505) Reported-by: Coverity (CID: 138495) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Signed-off-by:
Vagrant Cascadian <vagrant@debian.org> Acked-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Signed-off-by:
Vagrant Cascadian <vagrant@debian.org> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Peter Griffin <peter.griffin@linaro.org>
-
Signed-off-by:
Vagrant Cascadian <vagrant@debian.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
The license command isn't usually built and has a few problems: - The rules to generate license.h haven't worked in a long time, re-write these based on the bmp_logo.h rules. - 'tok' is unused and the license text size has increased - bin2header.c wasn't grabbing unistd.h to know the prototype for read(). Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
For Raspberry Pi, we had the input clock rate to the pl011 fixed in the rpi.c file, but it may be changed by firmware due to user changes to config.txt. Since the firmware always sets up the uart (default 115200 output unless the user changes it), we can just skip our own uart init to simplify the boot process and more reliably get serial output. Signed-off-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Tom Rini <trini@konsulko.com> Tested-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Some features are only useful or meaningful when the command line is present. Ensure that these features are not compiled in when CONFIG_CMDLINE is not enabled. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
These files do not need to be compiled when CONFIG_CMDLINE is disabled. Update the Makefile to reflect this. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
When CONFIG_CMDLINE is disabled we need to remove all the command-line code. Most can be removed by dropping the appropriate linker lists from the images, but sub-commands must be dealt with specially. A simple mechanism is used to avoid 'unused static function' errors. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Normally board_run_command() will handle command processed. But if for some reason it returns then we should panic to avoid further processing. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Don't try to run commands when not supported. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Update the link script to drop this code when not needed. This is only done for two architectures at present. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Add a new Kconfig option for the command line. This is enabled by default, but when disabled it will remove the command line. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
All command functions should be static. Update the CBFS functions to follow this rule. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
After power cycle of a K2G EVM dhcp fails due to a auto-negotiation timeout. This commit increases the timeout to fix the issue. Signed-off-by:
Vitaly Andrianov <vitalya@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-