- 26 7月, 2017 28 次提交
-
-
由 Patrice Chotard 提交于
This allow to remove include/dm/platform_data/serial_stm32x7.h which was included in the past by stm32x7 driver and by stm32f746-disco.c board file. Since patch 42bf5e7c "serial: stm32f7: add device tree support" this file is no more needed in board file. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Acked-by: NVikas MANOCHA <vikas.manocha@st.com>
-
由 Patrice Chotard 提交于
clean the code by removing unused enums, structs and defines related to clocks Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Acked-by: NVikas MANOCHA <vikas.manocha@st.com>
-
由 Patrice Chotard 提交于
Add clock framework .get_rate callback. This step will allow to convert all drivers which was using proprietary clock_get() to use clock framework .get_rate(). Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Acked-by: NVikas MANOCHA <vikas.manocha@st.com>
-
由 Patrice Chotard 提交于
Retrieve RCC base address from DT, this will prepare the ground for future STM32 SoCs support. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Acked-by: NVikas MANOCHA <vikas.manocha@st.com>
-
由 Patrice Chotard 提交于
Also remove its declaration from stm32.h which is no more needed. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Acked-by: NVikas MANOCHA <vikas.manocha@st.com>
-
由 Patrice Chotard 提交于
Use the same clocks macro than the one used by kernel DT. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Acked-by: NVikas MANOCHA <vikas.manocha@st.com>
-
由 Srinivas, Madan 提交于
The inline assembly functions in mon.c assume that the caller will check for the return value in r0 according to regular ARM calling conventions. However, this assumption breaks down if the compiler inlines the functions. The caller is then under no obligation to use r0 for the result. To fix this disconnect, we must explicitly move the return value from the smc/bl call to the variable that the function returns. Signed-off-by: NMadan Srinivas <madans@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Madan Srinivas 提交于
The load address of ramdisk, rdaddr is 0x88080000 and fit_loadaddr is defined as 0x88000000. This leaves only 512Kbytes for the fit image. When the FIT images are larger than this, it will overwite the ramdisk and cause the boot to fail. For eg, The K2 HS fit images are a few MB and end up overwriting the ramdsk. This patch moves the fit_loadaddr to 0x87000000, leaving a 16MB window for the fit image. This memory can be reclaimed once the kernel starts running. Signed-off-by: NMadan Srinivas <madans@ti.com>
-
由 Madan Srinivas 提交于
On early K2 devices (eg. K2HK) the secure ROM code does not support loading secure code to firewall protected memory, before decrypting, authenticating and executing it. To load the boot monitor on these devices, it is necessary to first authenticate and run a copy loop from non-secure memory that copies the boot monitor behind firewall protected memory, before decrypting and executing it. On K2G, the secure ROM does not allow secure code executing from unprotected memory. Further, ROM first copies the signed and encrypted image into firewall protected memory, then decrypts, authenticates and executes it. As a result of this, we cannot use the copy loop for K2G. The mon_install has to be modified to pass the address the signed and encrypted secure boot monitor image to the authentication API. For backward compatibility with other K2 devices and K2G GP, the mon_install API still supports a single argument. In this case the second argument is set to 0 by u-boot and is ignored by ROM Signed-off-by: NThanh Tran <thanh-tran@ti.com> Signed-off-by: NMadan Srinivas <madans@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Andrew F. Davis 提交于
We first split the CONFIG_BOOTCOMMAND into its components to improve readability. We then make the following order changes: - Run findfdt first so the fdt name can be used in envboot like OMAP - Install the boot monitor before running the PMMC so we can make any needed secure changes before PMMC, do this on both HS and non-HS - Move set_name_pmmc to just before get_pmmc_${boot} Signed-off-by: NAndrew F. Davis <afd@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Madan Srinivas 提交于
Updates the default u-boot environment variables to support secure boot. On secure devices, a secure boot monitor (sec-bm) needs to be installed by u-boot. Signed-off-by: NMadan Srinivas <madans@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Andrew F. Davis 提交于
Updates the default u-boot environment variables to support FIT image loading. Signed-off-by: NAndrew F. Davis <afd@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Lokesh Vutla 提交于
BeagleBoard X15 revC board is similar to X15 revB1 except with a SR2.0 where revB1 uses a SR1.1. Add board detection support for revC. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Lokesh Vutla 提交于
board_is*("rev", board_ti_get_rev()) uses strncmp() for revison detection and assumes it is success if return value is <= 0. This will fail in case of multiple versions, as revb will be true for board_is_*revb() and board_is_*reva(). Fix it by looking for exact match of the string. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Beniamino Galvani 提交于
GPIOs are now supported on Meson GXBB, enable driver and command in the config. Signed-off-by: NBeniamino Galvani <b.galvani@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Beniamino Galvani 提交于
This commit adds GPIO support to the Amlogic Meson pin controller driver, based on code from Linux kernel. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NBeniamino Galvani <b.galvani@gmail.com>
-
由 Beniamino Galvani 提交于
Import Amlogic Meson DTS files from Linux kernel version 4.12 Signed-off-by: NBeniamino Galvani <b.galvani@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_ENV_IS_IN_ONENAND Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_ENV_IS_IN_FAT Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_ENV_IS_IN_REMOTE Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_ENV_IS_IN_SPI_FLASH Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_ENV_IS_IN_DATAFLASH Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_ENV_IS_IN_EEPROM Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_ENV_IS_IN_NVRAM Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_ENV_IS_IN_FLASH Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The CONFIG_ENV_IS_IN_... options which have already been converted to Kconfig only have a small amount of help. Move the rest of it over from the README. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_ENV_IS_IN_MMC CONFIG_ENV_IS_IN_NAND CONFIG_ENV_IS_IN_UBI CONFIG_ENV_IS_NOWHERE In fact this already exists for sunxi as a 'choice' config. However not all the choices are available in Kconfig yet so we cannot use that. It would lead to more than one option being set. In addition, one purpose of this series is to allow the environment to be stored in more than one place. So the existing choice is converted to a normal config allowing each option to be set independently. There are not many opportunities for Kconfig updates to reduce the size of this patch. This was tested with ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC And then manual updates. This is because for CHAIN_OF_TRUST boards they can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic now. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
Rsync all defconfig files using moveconfig.py Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 25 7月, 2017 1 次提交
-
-
由 Tom Rini 提交于
The above CONFIG options are in Kconfig, and now have correct depends and inter-dependencies. Migrate these to configs/ from include/configs/. In the case of CMD_UBIFS also change it to be a default y if CMD_UBI. Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 24 7月, 2017 7 次提交
-
-
由 Karl Beldan 提交于
Remove the ARCH_SUNXI and RBTREE dependencies. CMD_UBIFS already gets RBTREE from CMD_UBI (from MTD_UBI), and should the first become independant from the latter, there would likely be a dependency on MTD_UBI anyway. Cc: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: Jagan Teki <jagan@openedev.com> Signed-off-by: NKarl Beldan <karl.beldan-ext@sagemcom.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Karl Beldan 提交于
Many configs still define CMD_MTDPARTS in their non-Kconfig but CMD_MTDPARTS has now moved to Kconfig. Signed-off-by: NKarl Beldan <karl.beldan-ext@sagemcom.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Karl Beldan 提交于
This missing dependency has probably remained under the radar because MTD_PARTITIONS is still whitelisted. Signed-off-by: NKarl Beldan <karl.beldan-ext@sagemcom.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Karl Beldan 提交于
Remove the ARCH_SUNXI dependency. Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Jagan Teki <jagan@openedev.com> Signed-off-by: NKarl Beldan <karl.beldan-ext@sagemcom.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Karl Beldan 提交于
Remove the ARCH_SUNXI dependency on selection of RBTREE. Cc: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Jagan Teki <jagan@openedev.com> Signed-off-by: NKarl Beldan <karl.beldan-ext@sagemcom.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
With PowerPC 4xx support removed, we have removed xilinx-ppc support as well, remove this file now. Fixes 98f705c9 ("powerpc: remove 4xx support") Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Stefan Roese 提交于
Pasting longer lines into the U-Boot console prompt sometimes leads to characters missing. One problem here is the small 16-byte FIFO of the legacy NS16550 UART, e.g. on x86 platforms. This patch now introduces a Kconfig option to enable RX interrupt buffer support for NS16550 style UARTs. With this option enabled, I was able paste really long lines into the U-Boot console, without any characters missing. Signed-off-by: NStefan Roese <sr@denx.de> Reviewed-by: NSimon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> [trini: Guard ns16550_serial_remove with CONFIG_IS_ENABLED(SERIAL_PRESENT) to match struct assignment] Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 23 7月, 2017 4 次提交
-
-
由 Adam Ford 提交于
Fixes 4bd754d8 ("arm: omap: Detect boot mode very early") where the intent was to store the boot params information in a known location and pass it to SPL very early. Unfortunately it didn't account for OMAP3 boards. This patch adds adds this functionality back into OMAP3 boards. Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com> Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Christophe Leroy 提交于
commit 2eb48ff7 ("powerpc, 8260: remove support for mpc8260") removed support for 8260 CPU. This patch remove some remainders. Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr>
-
由 Christophe Leroy 提交于
Add missing .h and add missing declarations in .h Declare local functions as static. Make interrupt_init_cpu function signatures consistent with how decrementer_count is declared. Based on warnings reported by 'make C=2' Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr> [trini: drop cpu_init_f as 8xx/83xx are different from the rest, rework interrupt_init_cpu/decrementer_count] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Christophe Leroy 提交于
Avoid unnecessary assembly functions when they can easily be written in C. Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr>
-