- 08 2月, 2017 5 次提交
-
-
由 oliver@schinagl.nl 提交于
In u-boot printf has been extended with the %pM formatter to allow printing of MAC addresses. However buffers that want to store a MAC address cannot safely get the size. Add a define for this case so the string of a MAC address can be reliably obtained. Signed-off-by: NOlliver Schinagl <oliver@schinagl.nl> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 oliver@schinagl.nl 提交于
Commit 674bb249 ("net: cosmetic: Replace magic numbers in arp.c with constants") introduced a nice define to replace the magic value 6 for the ethernet hardware address. Replace more hardcoded instances of 6 which really reference the ARP_HLEN (iow the MAC/Hardware/Ethernet address). Signed-off-by: NOlliver Schinagl <oliver@schinagl.nl> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Wenyou Yang 提交于
Remove the redundant #ifdef CONFIG_DM_ETH/#endif. Signed-off-by: NWenyou Yang <wenyou.yang@atmel.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Wenyou Yang 提交于
Due to introducing the at91 clock driver, add the clock support. Signed-off-by: NWenyou Yang <wenyou.yang@atmel.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Wenyou Yang 提交于
Add CONFIG_MACB option in KConfig to be used to select the Cadence MACB Ethernet driver. Signed-off-by: NWenyou Yang <wenyou.yang@atmel.com>
-
- 04 2月, 2017 8 次提交
-
-
git://git.denx.de/u-boot-fsl-qoriq由 Tom Rini 提交于
Signed-off-by: NTom Rini <trini@konsulko.com> Conflicts: configs/ls1046aqds_defconfig configs/ls1046aqds_nand_defconfig configs/ls1046aqds_qspi_defconfig configs/ls1046aqds_sdcard_ifc_defconfig configs/ls1046aqds_sdcard_qspi_defconfig configs/ls1046ardb_emmc_defconfig configs/ls1046ardb_qspi_defconfig configs/ls1046ardb_sdcard_defconfig
-
由 Prabhakar Kushwaha 提交于
eLBC IP clock is always a constant divisor of platform clock pre-defined per SoC. Clock ratio register (LCRR) used in current implementation governs eLBC IP output cloc. Update sys_info->freq_localbus to represent eLBC input clock with value constant divisor of platform clock. Signed-off-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Prabhakar Kushwaha 提交于
Enable ELBC from Kconfig. Signed-off-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Prabhakar Kushwaha 提交于
IFC IP clock is always a constant divisor of platform clock pre-defined per SoC. Clock control register (CCR) used in current implementation governs IFC IP output clock. Update sys_info->freq_localbus to represent IFC input clock with value constant divisor of platform clock. Signed-off-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Prabhakar Kushwaha 提交于
IFC IP clock is always a constant divisor of platform clock pre-defined per SoC. Clock control register (CCR) used in current implementation governs IFC IP output clock. Update sys_info->freq_localbus to represent IFC input clock with value constant divisor of platform clock. Signed-off-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Prabhakar Kushwaha 提交于
Enable IFC from Kconfig. Signed-off-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Prabhakar Kushwaha 提交于
The PPA implements PSCI which requires for power managment. Added support of PPA for LS1012AQDS, LS1012ARDB and LS1012AFRDM. Signed-off-by: NHou Zhiqiang <Zhiqiang.Hou@nxp.com> Signed-off-by: NAbhimanyu Saini <abhimanyu.saini@nxp.com> Signed-off-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Prabhakar Kushwaha 提交于
PPA binary needs to be relocated on secure DDR, hence marking out a portion of DDR as secure if CONFIG_SYS_MEM_RESERVE_SECURE flag is set Signed-off-by: NHou Zhiqiang <Zhiqiang.Hou@nxp.com> Signed-off-by: NAbhimanyu Saini <abhimanyu.saini@nxp.com> Signed-off-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
- 02 2月, 2017 3 次提交
-
-
-
-
由 Mark Marshall 提交于
The memcpy() function returns a pointer to trg. Signed-off-by: NMark Marshall <Mark.Marshall@omicron.at> Reviewed-by: NThomas Graziadei <thomas.graziadei@omicronenergy.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
- 01 2月, 2017 21 次提交
-
-
-
由 Mario Six 提交于
The patch implements secure booting for the mvebu architecture. This includes: - The addition of secure headers and all needed signatures and keys in mkimage - Commands capable of writing the board's efuses to both write the needed cryptographic data and enable the secure booting mechanism - The creation of convenience text files containing the necessary commands to write the efuses The KAK and CSK keys are expected to reside in the files kwb_kak.key and kwb_csk.key (OpenSSL 2048 bit private keys) in the top-level directory. Signed-off-by: NReinhard Pfau <reinhard.pfau@gdsys.cc> Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Mario Six 提交于
The function image_create_config_parse_oneline is pretty complex, and since more parameters will be added to support secure booting, we refactor the function to make it more readable. Also, when a line contained just a keyword without any parameters, strtok_r returned NULL, which was then indiscriminately fed into atoi, causing a segfault. To correct this, we add a NULL check before feeding the extracted token to atoi, and print an error message in case the token is NULL. Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Mario Six 提交于
In preparation of adding the creation of secure headers, we factor the add_binary_header_v1 function out of the image_create_v1 function. Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Mario Six 提交于
The parameter 'params' of the image_headersz_v1 function is never used by the function. Hence, remove it. Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Mario Six 提交于
This patch reduces the scope of some variables. Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Mario Six 提交于
Arithmetic with void pointers, e.g. a - b where both a and b are void pointers, is undefined in the C standard. Since we are operating with byte data here, we switch the void pointers to uint8_t pointers, and add the necessary casts. Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Mario Six 提交于
Fix some style violations: - nine instances of missing blank lines after declarations - one overly long line - one split string (which also rewords an error message more concisely) - two superfluous else Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Mario Six 提交于
To enable secure boot, we need to jump back into the BootROM to continue the SoC's boot process instead of letting the SPL load and run the main U-Boot image. But, since the u-boot-spl.img (including the 64 byte header) is loaded by the SoC as the main image, we need to compensate for the header length to get a correct entry point. Thus, we subtract the header size from the destination address, so that the execution address points at the actual entry point of the image. The current boards ignore both parameters anyway, so this change shouldn't concern them. Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Mario Six 提交于
This patch adds a function to the TPM library, which allows U-Boot to flush resources, e.g. keys, from the TPM. Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Reinhard Pfau 提交于
ddaa905 ("arm: mvebu: Add DM (driver model) support") removed the assignment of the gd pointer, but kept the (now superfluous) declaration of the gd pointer. Remove this declaration. Signed-off-by: NReinhard Pfau <pfau@gdsys.de> Reviewed-by: NStefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Mario Six 提交于
Allow boards to do some initialization when PCIe comes up. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Dirk Eibach 提交于
Add support for Marvell 88E1680 Integrated Octal 10/100/1000 Mbps Energy Efficient Ethernet Transceiver. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Dirk Eibach 提交于
Armada 38x has four PCI ports, not three. The optimization in pci_init_board() seems to assume that every port has three lanes. This is obviously wrong, and breaks support for Armada 38x. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NStefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
Now that the SD/SDIO/MMC DT properties are updated in the Marvell A3700 and A7/8k DT files, we need to match the checks for compatible node in the PHY driver as well. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Kostya Porotchkin <kostap@marvell.com> Cc: Nadav Haklai <nadavh@marvell.com> Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Mark Marshall 提交于
We should use the symbolic names for the cache control bits. Signed-off-by: NMark Marshall <Mark.Marshall@omicron.at> Reviewed-by: NThomas Graziadei <thomas.graziadei@omicronenergy.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 mario.six@gdsys.cc 提交于
To enable DM on MPC83xx, we need pre-relocation malloc, which is implemented in this patch. Signed-off-by: NMario Six <mario.six@gdsys.cc> [York S: Fixed compiling warning for unused variable 'i'] Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 mario.six@gdsys.cc 提交于
The r1 register is modified several times during the cache-ram setup of the MPC83xx SoCs. Since this SP modification confuses debuggers, we use a general purpose register to compute the new stack pointer value, and only set the SP once after all computations are done. Signed-off-by: NMario Six <mario.six@gdsys.cc> Reviewed-by: NJoakim Tjernlund <Joakim.Tjernlund@infinera.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 York Sun 提交于
Erratum A-008336 applies to LS1046A per latest SoC document. Signed-off-by: NYork Sun <york.sun@nxp.com> CC: Shengzhou Liu <Shengzhou.Liu@nxp.com>
-
由 York Sun 提交于
Set cpo_sample as suggested by the driver "WARN: pls set popts->cpo_sample = 0x58 in <board>/ddr.c to optimize cpo". Signed-off-by: NYork Sun <york.sun@nxp.com> CC: Shengzhou Liu <Shengzhou.Liu@nxp.com>
-
由 Bogdan Purcareata 提交于
Fixup port_mac_address property in MC DPC with values from the u-boot environment. Since u-boot already reads the environment MAC addresses when probing the PHYs, use these values. The u-boot environment MAC addresses take precedence over any eventual ones defined in the DPC, except for the case where they are randomly assigned (no u-boot env value declared for port). The patch assumes the "/board_info/ports/" node is present in the DPC. Signed-off-by: NBogdan Purcareata <bogdan.purcareata@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com> [York S: Fix several indentations] Reviewed-by: NYork Sun <york.sun@nxp.com>
-
- 31 1月, 2017 3 次提交
-
-
由 Masahiro Yamada 提交于
Make the naming scheme consistent; all SDHCI-base drivers prefixed with CONFIG_MMC_SDHCI_. While we are here, add "depends on ARCH_AT91". Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
Make the naming scheme consistent; all SDHCI-base drivers prefixed with CONFIG_MMC_SDHCI_. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
Make the naming scheme consistent; all SDHCI-base drivers prefixed with CONFIG_MMC_SDHCI_. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-