- 26 10月, 2020 8 次提交
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-riscv由 Tom Rini 提交于
- No need to check before free in kendryte clk. - Only enable OF_BOARD_FIXUP if U-Boot is configured for S-Mode. - Reduce k210 dts DMA block size - Move timers into drivers/timer - Correct fu540 dts reg size of clint node
-
由 Pragnesh Patel 提交于
Signed-off-by: NPragnesh Patel <pragnesh.patel@sifive.com> Reviewed-by: NBin Meng <bin.meng@windriver.com> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Sean Anderson 提交于
Half of this driver is a DM-based timer driver, and half is RISC-V-specific IPI code. Move the timer portions in with the other timer drivers. The KConfig is not moved, since it also enables IPIs. It could also be split into two configs, but no boards use the timer but not the IPI atm, so I haven't split it. Signed-off-by: NSean Anderson <seanga2@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Sean Anderson 提交于
This matches the naming scheme of other timer drivers. Signed-off-by: NSean Anderson <seanga2@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Sean Anderson 提交于
This is a regular timer driver, and should live with the other timer drivers. Signed-off-by: NSean Anderson <seanga2@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Sean Anderson 提交于
Although the max DMA size supported by the hardware register is 22 bits (or 4M), the Linux driver for this device only supports transfers of up to 2M. On a device with 8M total memory, I don't think it will make too much of a difference. Reported-by: NDamien Le Moal <Damien.LeMoal@wdc.com> Signed-off-by: NSean Anderson <seanga2@gmail.com> Reviewed-by: NRick Chen <rick@andestech.com>
-
由 Sean Anderson 提交于
It is unsafe to enable OF_BOARD_FIXUP only based on OF_SEPARATE. OF_SEPARATE may indicate that the user wishes U-Boot to use a different device tree than one obtained via OF_PRIOR_STAGE. However, OF_SEPARATE may also indicate that the device tree which would be obtained via OF_PRIOR_STAGE is invalid, nonexistant, or otherwise unusable. In this latter case, enabling OF_BOARD_FIXUP will result in corruption of the device tree. To remedy this, only enable OF_BOARD_FIXUP if U-Boot is configured for S-Mode. Fixes: 1c17e555Signed-off-by: NSean Anderson <seanga2@gmail.com> Reviewed-by: NLeo Liang <ycliang@andestech.com>
-
由 Heinrich Schuchardt 提交于
free() checks if its argument is NULL. No need to check it twice. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NSean Anderson <seanga2@gmail.com>
-
- 24 10月, 2020 14 次提交
-
-
由 Tom Rini 提交于
Highlights: - Fix a problem with the bootm overlap tests - Remove duplicated code in fatwrite - Cleanup our current "misc" command code and add a new one for misc class devices. - Various GPIO fixes
-
由 Peng Fan 提交于
Add dummy helper to enabling the header could be included when DM REGULATOR not enabled. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Add clk bulk for nop-phy driver. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Jaehoon Chung 提交于
It doesn't need to consider start byte address. If ramdisk size is 0x800000 and start address is 0x2700000, then it's used until 0x02efffff, not 0x02f00000. But it's detected to overlapt RD image, when kernel start address is 0x02f00000. Because it's doing wrong calculation about rd_len. This patch fixed wrong calculation address position when check condition. In addition, it needs to check one more condition about overlapping entire area. Fixes: commit fbde7589 ("common: bootm: add checks to verify if ramdisk / fdtimage overlaps OS image") Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Lad Prabhakar 提交于
do_save() function defined in fs.c also supports FAT file system re-use the same for fatwrite command. Also fix the FAT test script to match the expected output. Signed-off-by: NLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: NBiju Das <biju.das.jz@bp.renesas.com>
-
由 Heinrich Schuchardt 提交于
Provide unit tests for functions print_freq() and print_size(). Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Bin Meng 提交于
Enable the command "misc" for accessing miscellaneous devices with a MISC uclass driver. The command provides listing all MISC devices as well as read and write functionalities via their drivers. Signed-off-by: NBin Meng <bin.meng@windriver.com>
-
由 Bin Meng 提交于
CONFIG_CMD_TIMER merits a single file instead of co-exist in the sleep command file. Signed-off-by: NBin Meng <bin.meng@windriver.com>
-
由 Bin Meng 提交于
The "cmd/Kconfig" has a TODO description for CMD_MISC that it should really be named as CMD_SLEEP. Change it in the whole source tree. Signed-off-by: NBin Meng <bin.meng@windriver.com>
-
由 Pali Rohár 提交于
This change fixes two issues when building u-boot-nodtb.bin target: * Remove intermediate binary u-boot-nodtb.bin from disk when static_rela call (which modifies u-boot-nodtb.bin binary) failed. It is required because previous objcopy call creates binary and static_rela finish it. * Do not call static_rela cmd when u-boot-nodtb.bin binary was not created/updated by previous objcopy call. Second fix would ensure that u-boot-nodtb.bin binary is not updated when all prerequisites were up-to-date. And therefore final binary u-boot.bin is not updated in case all prerequisites were not modified and were up-to-date. Now running 'make SOURCE_DATE_EPOCH=0 u-boot.bin' second time now does not touch u-boot.bin binary in case nothing was modified, so GNU make can correctly detect that everything is up-to-date. Signed-off-by: NPali Rohár <pali@kernel.org> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrick Delaunay 提交于
Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the driver can support live DT. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Patrick Delaunay 提交于
Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the driver can support live DT. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrick Delaunay 提交于
Update the size of states_array to avoid overflow for dev_pdata->voltages[j] and dev_pdata->states[j]. As the size of array is GPIO_REGULATOR_MAX_STATES, the size of states_array is limited by GPIO_REGULATOR_MAX_STATES * 2 = 4 instead of 8 previously. The value of the "count" variable is limited by the third parameter of fdtdec_get_int_array_count. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Heinrich Schuchardt 提交于
(A && A == 0x20) is only true for (A == 0x20). Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 23 10月, 2020 8 次提交
-
-
-
由 Tom Rini 提交于
I had inadvertently merged the Xen series before everything was fully happy with the board maintainer. Revert the series.
-
由 Tom Rini 提交于
This reverts commit 18426bf0. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
This reverts commit 3a51b2a2. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
This reverts commit 16389a74. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
This reverts commit 82e21b39. Signed-off-by: NTom Rini <trini@konsulko.com>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi由 Tom Rini 提交于
- sun8i emac changes (Andre) - SCP firmware (Samuel)
-
由 Tom Rini 提交于
- Assorted updates for Xen, IPQ40xx, ASpeed, Keymile - Assorted typo / documentation fixes - Fix default preboot cmd to act like before with USB_STORAGE set - A number of other bugfixes throughout the code
-
- 22 10月, 2020 10 次提交
-
-
由 Heiko Schocher 提交于
add Kconfig option for pcf8563 driver and run tools/moveconfig.py Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Fabien Parent 提交于
dev_err has been used for debugging and a few dev_err message are printed for normal code execution. Make them dev_dbg instead. Signed-off-by: NFabien Parent <fparent@baylibre.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 AKASHI Takahiro 提交于
By using a hypervisor call, we can implement DEBUG_UART on xen. This will allow us to see messages even earlier than serial_init(). Signed-off-by: NAKASHI Takahiro <takahiro.akashi@linaro.org>
-
由 AKASHI Takahiro 提交于
Those definitions added are used with HYPERVISOR_console_io(). Signed-off-by: NAKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 AKASHI Takahiro 提交于
This new function, xen_debug_putc(), is intended to be used to enable CONFIG_DEBUG_UART on xen guest. Please note that the underlying functionality in Xen is available only when Xen is configured with !NDEBUG but is much simpler than a generic HYPERVISOR_console_io(). Signed-off-by: NAKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 AKASHI Takahiro 提交于
At present, DM_FLAG_PRE_RELOC is set only if !OF_CONTROL. It doesn't make sense for this para-virtualized driver. With this patch applied, you will be able to see early boot messages: U-Boot 2020.10-00001-ge442e71a6c52-dirty (Oct 15 2020 - 11:02:25 +0900) xenguest Xen virtual CPU Model: XENVM-4.15 DRAM: 128 MiB PVBLOCK: (XEN) gnttab_mark_dirty not implemented yet pvblock: 0 In: hypervisor Out: hypervisor Err: hypervisor xenguest# Signed-off-by: NAKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Chia-Wei, Wang 提交于
1. Rename AST2500 reset driver from ast2500-reset.c to reset-ast2500.c 2. Rename AST2500 reset kconfig option from AST2500_RESET to RESET_AST2500 Signed-off-by: NChia-Wei, Wang <chiawei_wang@aspeedtech.com> Reviewed-by: NRyan Chen <ryan_chen@aspeedtech.com>
-
由 Chia-Wei, Wang 提交于
The System Control Unit (SCU) controller of Aspeed SoCs provides the reset control for each peripheral. This patch refactors the reset method to leverage the SCU reset control. Thus the driver dependency on watchdog including dedicated WDT API and reset flag encoding can be eliminated. The Kconfig description is also updated accordingly. Signed-off-by: NChia-Wei, Wang <chiawei_wang@aspeedtech.com> Reviewed-by: NRyan Chen <ryan_chen@aspeedtech.com>
-
由 Dario Binacchi 提交于
The 12d15262 commit fixed the get_rate helper because the set_parent one did not re-parent the clock device to the new parent. The 4d139f38 commit allows you to remove this workaround by calling the clk_get_parent_rate routine. Signed-off-by: NDario Binacchi <dariobin@libero.it>
-
由 Chance.Yang 提交于
Fix "ram" typos for serial flash Signed-off-by: NChance.Yang <chance.yang@vatics.com>
-