- 18 11月, 2018 3 次提交
-
-
由 Stefan Roese 提交于
This fixes an issue which has been noticed on the Gardena board, with the watchdog enabled, where the watdchdog reset (after a system hang) did result in reporting of 2.9 GiB and a hang after this. With this patch applied the memory controller is correctly reset and initialized again even after a watchdog reset. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Stefan Roese 提交于
This patch adds GPIO support for the Mediatek MT7621 SoC, tested on MT7688 (Gardena smart-gateway). The driver is loosly based on the Linux kernel version. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com> [fixed checkpatch.pl warnings: Prefer 'unsigned int' to bare use of 'unsigned'] Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Stefan Roese 提交于
This patch adds watchdog support for the Mediatek MT7621 SoC. The driver is loosly based on the Linux kernel version. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com> [fixed merge conflict in drivers/watchdog/Kconfig] Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
- 17 11月, 2018 37 次提交
-
-
由 Tom Rini 提交于
- Initial bcm968580xref, am65x_evm_r5 support - lpc32xx, omap3_logic/am3517_evm updates - pinctrl command - fs_loader available for SPL
-
由 Tom Rini 提交于
Add entries for the pine64-lts and pinebook configs. Cc: Vasily Khoruzhick <anarsoul@gmail.com> Cc: Andre Przywara <andre.przywara@arm.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Konrad Beckmann 提交于
A specially crafted FIT image makes it possible to overflow the stack with controlled values when using the verified boot feature. Depending on the memory layout, this could be used to overwrite configuration variables on the heap and setting them to 0, e.g. disable signature verification, thus bypassing it. This change fixes a bug in fdt_find_regions where the fdt structure is parsed. A lower value than -1 of depth can lead to a buffer underflow write on the stack. Signed-off-by: NKonrad Beckmann <konrad.beckmann@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Konrad Beckmann 提交于
A specially crafted FIT image leads to memory corruption in the stack when using the verified boot feature. The function fit_config_check_sig has a logic error that makes it possible to write past the end of the stack allocated array node_inc. This could potentially be used to bypass the signature check when using verified boot. This change ensures that the number of strings is correct when counted. Signed-off-by: NKonrad Beckmann <konrad.beckmann@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Martyn Welch 提交于
Add in the ability to modify the distro boot filename. Whilst not immediately useful in normal usage, it allows an alternative configuration to be provided when other u-boot functionality is used, such as bootcount limit, to fallback to an alternative boot configuration. In this case we can follow the same boot path as for normal boot, just using an alternatively named configuration file. For example, by providing the following `altbootcmd` when bootcount is in use: altbootcmd=setenv boot_extlinx_conf extlinux-rollback.conf; \ run distro_bootcmd Signed-off-by: NMartyn Welch <martyn.welch@collabora.co.uk> Reviewed-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Keerthy 提交于
Fix compiler warning drivers/misc/fs_loader.c:193:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t {aka long unsigned int}’ [-Wformat=] Signed-off-by: NKeerthy <j-keerthy@ti.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Keerthy 提交于
Instead of two staged ofnode_to_offset followed by device_get_global_by_of_offset approach, direcly use the device_get_global_by_ofnode to fetch the device. Signed-off-by: NKeerthy <j-keerthy@ti.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Keerthy 提交于
Add fs.c under SPL as well as it is needed for fs_loader Signed-off-by: NKeerthy <j-keerthy@ti.com> Reviewed-by: NSimon Glass <sjg@chromium.org> [trini: Add as obj-$(CONFIG_FS_LOADER) for non-SPL_FRAMEWORK builds] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Simon Goldschmidt 提交于
Add possibility to update the serial parity used. Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHannes Schmelzer <hannes.schmelzer@br-automation.com>
-
由 Simon Goldschmidt 提交于
The comment on this function prototype describes nonexistent parameters. It seems to be copied from 'setparity'. Update it to match its the parameter list. Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Lokesh Vutla 提交于
Update the README file to add r5 build support and system firmware support. Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Signed-off-by: NAndreas Dannenberg <dannenberg@ti.com>
-
由 Lokesh Vutla 提交于
Add initial defconfig support for AM65x that runs on R5. Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Signed-off-by: NAndreas Dannenberg <dannenberg@ti.com> Signed-off-by: NKeerthy <j-keerthy@ti.com>
-
由 Lokesh Vutla 提交于
Add R5 specific dts for am654-evm. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Signed-off-by: NAndreas Dannenberg <dannenberg@ti.com> Signed-off-by: NKeerthy <j-keerthy@ti.com> Signed-off-by: NSchuyler Patton <spatton@ti.com> Signed-off-by: NJames Doublesin <doublesin@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Lokesh Vutla 提交于
Sync the k3-am654 specific dts files from Linux next with tag 20181019. This changes are in queue for Linux v4.20-rc1 Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
-
由 Lokesh Vutla 提交于
Add initial support for AM654 based EVM running on R5. Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Signed-off-by: NAndreas Dannenberg <dannenberg@ti.com>
-
由 Lokesh Vutla 提交于
In SPL, DDR should be made available by the end of board_init_f() so that apis in board_init_r() can use ddr. Adding support for triggering DDR initialization from board_init_f(). Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
-
由 Lokesh Vutla 提交于
Considering the boot time requirements, Cortex-A core should be able to start immediately after SPL on R5. Add support for the same. Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
-
由 Lokesh Vutla 提交于
Update Makefiles to generate: - tiboot3.bin: Image format that can be processed by ROM. Below is the tiboot3.bin image format that is required by ROM: _______________________ | X509 | | Certificate | | ____________________ | | | | | | | u-boot-spl.bin | | | | | | | |___________________| | |_______________________| Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Signed-off-by: NAndreas Dannenberg <dannenberg@ti.com>
-
由 Lokesh Vutla 提交于
Enable MPU regions for AM654 evm: - Region0: 0x00000000 - 0xFFFFFFFF: Device memory, not executable - Region1: 0x41c00000 - 0x42400000: Normal, executable, WB, Write alloc - Region2: 0x80000000 - 0xFFFFFFFF: Normal, executable, WB, Write alloc - region3-15: Disabled With this dcache can be enabled either in SPL or U-Boot. Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
-
由 Lokesh Vutla 提交于
K3 based AM654 devices has DDR memory subsystem that comprises Synopys DDR controller, Synopsis DDR phy and wrapper logic to intergrate these blocks into the device. This DDR subsystem provides an interface to external SDRAM devices. Adding support for the initialization of the external SDRAM devices by configuring the DDRSS registers and using the buitin PHY routines. Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Signed-off-by: NAndreas Dannenberg <dannenberg@ti.com> Signed-off-by: NKeerthy <j-keerthy@ti.com> Signed-off-by: NSchuyler Patton <spatton@ti.com> Signed-off-by: NJames Doublesin <doublesin@ti.com>
-
由 Patrick Delaunay 提交于
Change static array to const when it is useful to save memory (move stm32f7_setup=0x18 from .data to .rodata section) Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
由 Patrick Delaunay 提交于
Solve alignments issues in the driver to avoid checkpatch error. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
由 Adam Ford 提交于
After the recomendation, some testing shows like these are unnecessary. Suggested-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Adam Ford 提交于
After the recomendation, some testing shows like these are unnecessary. Suggested-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Klaus Goger 提交于
The current arch implementation of memcpy cannot be called from thumb code, because it does not use bx instructions on return. This patch addresses that. Note, that this patch does not touch the hot loop of memcpy, so performance is not affected. Tested on MXS (arm926ejs) with and without thumb-mode enabled. Signed-off-by: NKlaus Goger <klaus.goger@theobroma-systems.com> Signed-off-by: NChristoph Muellner <christoph.muellner@theobroma-systems.com>
-
由 Patrice Chotard 提交于
Add pinmux test which test the following commands: - pinmux list - pinmux dev - pinmux status Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org> [trini: Mark some tests as sandbox-centric] Signed-off-by: NTom Rini <trini@konsulko.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Patrice Chotard 提交于
Add get_pin_mux ops support to display the pin muxing description of the sandbox_pins[] Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
This patch adds gpio get_function ops support. This function reports the state of a gpio. Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Patrice Chotard 提交于
Add get_pin_muxing() ops to obtain the pin muxing description a given pin index. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
Add get_pin_name ops to obtain a pin name given a pin index of a specified pin-controller. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
Add get_pins_count ops to obtain the number of pins owns by a pin-controller. On STM32 SoCs bindings, each pin-controller owns several gpio banks. Each GPIO bank can own up to 16 pins. To obtain the total pins count, walk through each sub-nodes (ie GPIO banks) and sum each GPIO banks pins number. For that in probe() we build a list with each GPIO device reference found. This list will also be used with future get_pin_muxing and get_pin_name ops to speed up and optimize walk through all GPIO banks. As this code is common to all STM32 SoCs, this code is put under SPL_BUILD compilation flag to avoid to increase SPL code size for STM32F7 which is limited to 32Ko. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
pinmux command allows to : - list all pin-controllers available on platforms - select a pin-controller - display the muxing of all pins of the current pin-controller or all pin-controllers depending of given options Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> cmd: pinmux: Fix pinmux command if "pinmux status" command is used without having set dev using "pinmux dev", print pinmux usage Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
Add uclass_foreach_dev_probe() which iterates through devices of a given uclass. Devices are probed if necessary and are ready to use. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
Similarly to uclass_first_device_err(), add uclass_next_device_err() which returns an error if there are no next devices in that uclass. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
Add pinctrl_get_pin_name() and pinctrl_get_pins_count() methods to obtain pin's name and pin's muxing given a pin reference. This will be used by the new pinmux command. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrice Chotard 提交于
Add get_pin_muxing() which allows to display the muxing of a given pin belonging to a pin-controller. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Martin Fuzzey 提交于
Signed-off-by: NMartin Fuzzey <martin.fuzzey@flowbird.group>
-