- 19 7月, 2021 2 次提交
-
-
由 Tom Rini 提交于
This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Angelo Durgehello <angelo.dureghello@timesys.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Angelo Durgehello <angelo.dureghello@timesys.com> Cc: TsiChung Liew <Tsi-Chung.Liew@nxp.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 18 7月, 2021 1 次提交
-
-
由 Ilias Apalodimas 提交于
The capsule signature is now part of our DTB. This is problematic when a user is allowed to change/fixup that DTB from U-Boots command line since he can overwrite the signature as well. So Instead of adding the key on the DTB, embed it in the u-boot binary it self as part of it's .rodata. This assumes that the U-Boot binary we load is authenticated by a previous boot stage loader. Reviewed-by: NMasami Hiramatsu <masami.hiramatsu@linaro.org> Tested-by: NMasami Hiramatsu <masami.hiramatsu@linaro.org> Tested-by: NSughosh Ganu <sughosh.ganu@linaro.org> Signed-off-by: NIlias Apalodimas <ilias.apalodimas@linaro.org>
-
- 17 7月, 2021 13 次提交
-
-
由 Alexandru Gagniuc 提交于
This macro is no longer needed for code flow or #ifdefs. Remove it. Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Alexandru Gagniuc 提交于
This macro is no longer needed for code flow or #ifdefs. Remove it. Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Alexandru Gagniuc 提交于
It is no longer necessary to implement rsa_() functions as no-ops depending on config options. It is merely sufficient to provide the prototypes, as the rsa code is no longer linked when unused. Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Alexandru Gagniuc 提交于
It is no longer necessary to implement ecdsa_() functions as no-ops depending on config options. It is merely sufficient to provide the prototypes, as the ecdsa code is no longer linked when unused. Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Alexandru Gagniuc 提交于
The purpose of this change is to enable crypto algorithms to be placed in linker lists, rather than be declared as a static array. The goal is to remove the crypto_algos array in a subsequent patch. Create a new linker list named "cryptos", and search it when image_get_crypto_algo() is invoked. NOTE that adding support for manual relocation of crypto_algos within linker lists is beyond the scope of this patch. Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This is not needed with Kconfig, since we can use IS_ENABLED() easily enough. Drop it. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com>
-
由 Simon Glass 提交于
We already have a host Kconfig for these SHA options. Use CONFIG_IS_ENABLED(SHAxxx) directly in the code shared with the host build, so we can drop the unnecessary indirections. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com>
-
由 Simon Glass 提交于
We already have a host Kconfig for SHA1. Use CONFIG_IS_ENABLED(SHA1) directly in the code shared with the host build, so we can drop the unnecessary indirection. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com>
-
由 Simon Glass 提交于
Drop the _SUPPORT suffix so we can use CONFIG_IS_ENABLED() with this option. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com>
-
由 Simon Glass 提交于
Drop the _SUPPORT suffix so we can use CONFIG_IS_ENABLED() with this option. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com>
-
由 Simon Glass 提交于
Drop the ENABLE and SUPPORT parts of this, which are redundant. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com>
-
由 Simon Glass 提交于
These option are named inconsistently with other SPL options, thus making them incompatible with the CONFIG_IS_ENABLED() macro. Rename them. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com>
-
由 Simon Glass 提交于
The ENABLE part of this name is redundant, since all boolean Kconfig options serve to enable something. The SUPPORT part is also redundant since Kconfigs can be assumed to enable support for something. Together they just serve to make these options overly long and inconsistent with other options. Rename FIT_ENABLE_SHAxxx_SUPPORT to FIT_SHAxxx Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com>
-
- 16 7月, 2021 1 次提交
-
-
由 Patrick Delaunay 提交于
Add the variable used by PXE command for fdtoverlays support since the commit 69076dff ("cmd: pxe: add support for FDT overlays"). Reused the unused "splashimage" address as CONFIG_SPLASH_SOURCE and CONFIG_VIDEO_LOGO are not activated and U-Boot display the "BACKGROUND" image found in extlinux.conf to manage splashscreen on stm32mp1 boards. Signed-off-by: NPatrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@foss.st.com>
-
- 15 7月, 2021 7 次提交
-
-
由 Simon Glass 提交于
At present only bridge devices are bound before relocation, to save space in pre-relocation memory. In some cases we do actually want to bind a device, e.g. because it provides the console UART. Add a devicetree binding to support this. Use the PCI_VENDEV() macro to encode the cell value. This is present in U-Boot but not used, so move it to the binding header-file. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
These functions don't modify the device-ID struct that is passed in, so mark the argument as const, so the data structure can be declared that way. This allows it to be placed in the rodata section. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Pali Rohár 提交于
Add a new 'quiet' argument to mmc_get_op_cond() function which avoids printing error message when SD/eMMC card is not detected. Espressobin and mx6cuboxi boards use this function for detecting presence of eMMC and therefore it is expected and normal that eMMC does not have to be connected. So error message "Card did not respond to voltage select!" should be skipped in this case as it is not an error. Signed-off-by: NPali Rohár <pali@kernel.org> Reviewed-by: NStefan Roese <sr@denx.de> Acked-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Stephan Gerhold 提交于
All devices based on ST-Ericsson Ux500 use a PMIC similar to AB8500 (Analog Baseband). There is AB8500, AB8505, AB9540 and AB8540 although in practice only AB8500 and AB8505 are relevant since the platforms with AB9540 and AB8540 were cancelled and never used in production. In general, the AB8500 PMIC uses I2C as control interface, where the different register banks are represented as separate I2C devices. However, in practice AB8500 is always connected to a special I2C bus on the DB8500 SoC that is controlled by the power/reset/clock management unit (PRCMU) firmware. Add a simple driver that allows reading/writing registers of the AB8500 PMIC. The driver directly accesses registers from the PRCMU parent device (represented by syscon in U-Boot). Abstracting it further (e.g. with the i2c uclass) would not provide any advantage because the PRCMU I2C bus is always just connected to AB8500 and vice-versa. The ab8500.h header is mostly taken as-is from Linux (with some minor adjustments) to allow using similar code in both Linux and U-Boot. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: NStephan Gerhold <stephan@gerhold.net> Acked-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Stephan Gerhold 提交于
The U-Boot "stemmy" board is mainly intended to simplify booting mainline Linux on various smartphones from Samsung based on ST-Ericsson Ux500. While the mainline kernel is working great, there are still some features missing there. In particular, it is currently not possible to charge the battery when using the mainline kernel. This means that it is still necessary to boot the downstream/vendor kernel from Samsung sometimes to charge the device. That kernel is ancient, still uses board files + ATAGS instead of device trees and relies on a strange very long kernel command line hardcoded in the Samsung bootloader. Actually, since mainline is booted with device trees there is a very simple way to make the old downstream kernel work as well: We can simply take most of the ATAGS passed to U-Boot from the Samsung bootloader and copy them as-is when booting a kernel without device tree. That way the long command line and other needed ATAGS are copied as-is without having to bother with them. The only exception is the ATAG_INITRD - since the initrd is loaded by U-Boot, the atag for that should be generated in U-Boot so it points to the correct address. All other ATAGS are copied as-is and not generated in U-Boot. Also use the chance and provide a serial# for U-Boot by parsing the ATAG_SERIAL that is also passed by the Samsung bootloader. Signed-off-by: NStephan Gerhold <stephan@gerhold.net> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
-
由 Stephan Gerhold 提交于
At the moment the "stemmy" board attempts to detect the RAM size with a simple memory test (get_ram_size()). Unfortunately, this does not work correctly for devices with 768 MiB RAM (e.g. Samsung Galaxy Ace 2 (GT-I8160), "codina"). Reading/writing memory after the 768 MiB RAM succeeds but actually overwrites some earlier parts of the memory. For U-Boot this does not result in any major problems, but on Linux this will eventually lead to strange crashes because of the memory corruption. Since the "stemmy" U-Boot port is designed to be chainloaded from the original Samsung bootloader, the most reliable way to get the available amount of RAM is to look at the ATAGS passed by the Samsung bootloader. Fortunately, the header used to generate ATAGS in U-Boot (asm/setup.h) can also be easily used to parse them. Also clarify and simplify stemmy.h a bit to make it more clear where some of the magic values in there are actually coming from. Signed-off-by: NStephan Gerhold <stephan@gerhold.net> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
-
由 Kunihiko Hayashi 提交于
Enable CONFIG_SYS_PCI_64BIT to allow 64bit access to PCI space. Signed-off-by: NKunihiko Hayashi <hayashi.kunihiko@socionext.com>
-
- 13 7月, 2021 1 次提交
-
-
由 Heinrich Schuchardt 提交于
When reading a directory in the UEFI file system we have to return file attributes and timestamps. Copy this data to the directory entry structure. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
- 11 7月, 2021 2 次提交
-
-
由 Marek Vasut 提交于
Factor out eMMC boot partition selection code into default_spl_mmc_emmc_boot_partition() function and implement weak spl_mmc_emmc_boot_partition(), so that architecture or board code can override the eMMC boot partition selection. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Harald Seiler <hws@denx.de> Cc: Lokesh Vutla <lokeshvutla@ti.com> Cc: Simon Glass <sjg@chromium.org> Cc: Fabio Estevam <festevam@gmail.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Ye Li <ye.li@nxp.com> Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Tim Harvey 提交于
Enabling promiscuous mode can be useful for DSA switches where each port has its own MAC address. Signed-off-by: NTim Harvey <tharvey@gateworks.com> Reviewed-by: NRamon Fried <rfried.dev@gmail.com>
-
- 10 7月, 2021 4 次提交
-
-
由 Teresa Remmet 提交于
Enable support for the fec ethernet on phyCORE-i.MX8MP. Signed-off-by: NTeresa Remmet <t.remmet@phytec.de> Reviewed-by: NFabio Estevam <festevam@gmail.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Teresa Remmet 提交于
With the first redesign the debug UART had changed from UART2 to UART1. As the first hardware revision is considered as alpha and will not be supported in future. The old setup will not be preserved. Signed-off-by: NTeresa Remmet <t.remmet@phytec.de> Reviewed-by: NFabio Estevam <festevam@gmail.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Fabio Estevam 提交于
On the Yocto image there is a single partition and the kernel and dtb are present in the 'boot' directory. Change it accordingly so that the board can boot the Yocto image by default. Use the generic 'load' command instead, which is able to read from an ext4 partition. Signed-off-by: NFabio Estevam <festevam@denx.de>
-
由 Tim Harvey 提交于
Increase SYS_BOOM_LEN from the default 16M in imx6_common to 64M. Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
- 08 7月, 2021 9 次提交
-
-
由 Pali Rohár 提交于
Extend CONFIG_SYS_BAUDRATE_TABLE and include all standard baudrates and also nonstandard up to the 6 MBaud. U-Boot's A3720 UART driver can use baudrates from 300 Baud to 6 MBaud. This changes all A3720 boards, since all of them include either mvebu_armada-37xx.h or turris_mox.h config file. Signed-off-by: NPali Rohár <pali@kernel.org> Reviewed-by: NMarek Behún <marek.behun@nic.cz> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Tom Rini 提交于
While this platform has not yet been converted, there is active efforts to do so. Keep the platform for now. This reverts commit aa697e69. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove them. As this is the last of the SPEAr platforms, so remove the rest of the remaining support as well. Cc: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove them. As this is also the last SPEAR3XX platform, remove that symbol as well. Cc: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove them. Cc: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove them. Cc: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove it Cc: Gerald Kerma <dreagle@doukki.net> Cc: Tony Dinh <mibodhi@gmail.com> Cc: Luka Perkov <luka.perkov@sartura.hr> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove it Cc: Ajay Bhargav <contact@8051projects.net> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last PL010_SERIAL using board, so remove those references. Cc: Sergey Kostanbaev <sergey.kostanbaev@fairwaves.ru> Signed-off-by: NTom Rini <trini@konsulko.com>
-