- 01 8月, 2017 11 次提交
-
-
由 Sumit Garg 提交于
Enable validation of boot.scr script prior to its execution dependent on "secureboot" flag in environment. Disable fall back option to qspi boot in case of secure boot. Also enable "secureboot=y" flag in environment for ARM based platforms instead of bootcmd. Signed-off-by: NSumit Garg <sumit.garg@nxp.com> Tested-by: NVinitha Pillai <vinitha.pillai@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Sumit Garg 提交于
Enable validation of boot.scr script prior to its execution dependent on "secureboot" flag in environment. Disable fall back option to nor/qspi boot in case of secure boot. Also enable "secureboot=y" flag in environment for ARM based platforms instead of bootcmd. Signed-off-by: NSumit Garg <sumit.garg@nxp.com> Tested-by: NVinitha Pillai <vinitha.pillai@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Qianyu Gong 提交于
Tested on ls1046ardb with automatically boot Ubuntu from SD card or USB disk, if it fails to detect external storage disk, fall back to qspi boot. Signed-off-by: NShengzhou Liu <Shengzhou.Liu@nxp.com> Signed-off-by: NGong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Qianyu Gong 提交于
Move the macro to defconfig to take effect globally. Signed-off-by: NGong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Shengzhou Liu 提交于
Include common config_distro_defaults.h and config_distro_bootcmd.h for u-boot enviroments to support automatical distro boot which scan boot.scr from external storage devices(e.g. SD/USB/SATA/SCSI disk) and execute autoboot script. Tested on ls1043ardb with automatically boot Ubuntu from SD card or USB disk, if it fails to detect external storage disk, fall back to nor/qspi boot. Signed-off-by: NShengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Santan Kumar 提交于
Update SVR as per the SOC document. -LS2081A: 0x870919 -> 0x870918 -LS2041A: 0x870915 -> 0x870914 Signed-off-by: NSantan Kumar <santan.kumar@nxp.com> Signed-off-by: NPriyanka Jain <priyanka.jain@nxp.com> Signed-off-by: NHou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Santan Kumar 提交于
Signed-off-by: NSantan Kumar <santan.kumar@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Santan Kumar 提交于
As per new memory layout, Update env offset from 0x200000 to 0x300000 Signed-off-by: NSantan Kumar <santan.kumar@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Alison Wang 提交于
The duplicate definitions for IH_ARCH_ARM and IH_ARCH_ARM64 are removed. The definitions in <image.h> are used. According to this modification, the comparison between os arch and cpu arch is done in C programming instead of ASM programming. Signed-off-by: NAlison Wang <alison.wang@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Alexander Stein 提交于
Pet the watchdog once upon each command call (qspi_xfer) and during each loop iteration in several commands. This fixes a watchdog reset especially during erase command. Signed-off-by: NAlexander Stein <alexander.stein@systec-electronic.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Alison Wang 提交于
This patch includes common config_distro_defaults.h and config_distro_bootcmd.h for u-boot enviroments to support distro boot which automatically scan boot.scr from storage devices(e.g. SD/USB/SATA/SCSI disk) and execute autoboot script on LS1021ATWR board. Signed-off-by: NShengzhou Liu <Shengzhou.Liu@nxp.com> Signed-off-by: NAlison Wang <alison.wang@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
- 26 7月, 2017 29 次提交
-
-
-
-
由 Bin Meng 提交于
This adds myself as one of the x86 maintainers. Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Tom Rini 提交于
In the source_file_format.txt file we talk about how to construct a valid FIT image. While it already says to look at the source for the full list, add kernel_noload to the explicit list of types. This is arguably the most important type to use as most often we are including a kernel that will run from wherever it is loaded into memory and execute. This for example, allows you to create a single FIT image for Linux that can be used on both OMAP and i.MX devices as the kernel will not need to be moved in memory. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Patrice Chotard 提交于
STM32F7 and H7 shared the same SDRAM control block. On STM32H7 few control bits has been added. The current driver need some minor adaptation as FMC block enable/disable for H7. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrice Chotard 提交于
FMC driver is now able to discover the bank number by parsing bank subnodes. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
FMC is able to manage 2 SDRAM banks, but the current driver implementation is only able to manage the first SDRAM bank. Even if only bank2 is used, some bank1 registers must be configured. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
Replace all fdtdec_get..() calls by ofnode_read...() or dev_read..(). This will allow drivers to support a live device tree. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
Retrieve RAM base address from DT instead of using STM32_SDRAM_FMC For STM32F7, FMC block base address is 0xA0000000, but SDRAM registers are located at offset 0x140 inside FMC block. Update the stm32_fmc_regs fields with all FMC registers to map SDRAM registers at the right address. These additionals registers will be used later. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrice Chotard 提交于
Migrate all FMC defines from arch/arm/include/asm/arch-stm32f7/fmc.h to drivers/ram/stm32_sdram.c This will avoid to add an additionnal arch-stm32xx/fmc.h file when a new stm32 family soc will be introduced. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NVikas Manocha <vikas.manocha@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
All drivers which was using clock_get() are now using clk_get_rate() from clock framework, now it's safe to remove clock_get(). Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Acked-by: NVikas MANOCHA <vikas.manocha@st.com>
-
由 Patrice Chotard 提交于
Replace proprietary clock_get() by clk_get_rate() The stm32_qspi is now "generic" and can be used by other STM32 SoCs. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Acked-by: NVikas MANOCHA <vikas.manocha@st.com>
-
由 Patrice Chotard 提交于
Replace proprietary clock_get() by clk_get_rate() The stm32x7 serial driver is now "generic" and can be used by other STM32 SoCs. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Acked-by: NVikas MANOCHA <vikas.manocha@st.com>
-
由 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>
-