- Oct 27, 2020
-
-
Heinrich Schuchardt authored
On a board without hardware clock this software real time clock can be used. The build time is used to initialize the RTC. So you will have to adjust the time either manually using the 'date' command or use the 'sntp' to update the RTC with the time from a network time server. See CONFIG_CMD_SNTP and CONFIG_BOOTP_NTPSERVER. The RTC time is advanced according to CPU ticks. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
Provide a constant U_BOOT_EPOCH with the number of seconds since 1970-01-01. This constant can be used to initialize a software real time clock until it is updated via the 'sntp' command. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
With disabled legacy VIDEO option CONSOLE_MUX is not auto-selected any more, re-enable it. Fixes: 9dec5a0e ("nokia_rx51: disable obsolete VIDEO config") Signed-off-by:
Anatolij Gustschin <agust@denx.de> Reviewed-by:
Pali Rohár <pali@kernel.org>
-
- Oct 26, 2020
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-videoTom Rini authored
- disable CONFIG_VIDEO to remove DM conversion warnings for boards: at91sam9, eb_cpu5282, ls1021aqds, ls1021atwr, mx23evk, mx6sxsabresd, mx7dsabresd, nokia_rx51, picosam9g45, sansa_fuze_plus, xfi3
-
Anatolij Gustschin authored
Disable VIDEO config to fix DM_VIDEO conversion deadline warning. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Anatolij Gustschin authored
Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Jens Scharsig <esw@bus-elektronik.de>
-
Anatolij Gustschin authored
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com>
-
Anatolij Gustschin authored
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com>
-
Anatolij Gustschin authored
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Otavio Salvador <otavio@ossystems.com.br>
-
Anatolij Gustschin authored
DM_VIDEO conversion deadline has passed, disable VIDEO config. Boards should convert to DM_VIDEO if they need video console support. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Eugen Hristev <eugen.hristev@microchip.com>
-
Anatolij Gustschin authored
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Anatolij Gustschin authored
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Erik van Luijk <evanluijk@interact.nl>
-
Anatolij Gustschin authored
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Anatolij Gustschin authored
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Alison Wang <alison.wang@nxp.com>
-
Anatolij Gustschin authored
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Anatolij Gustschin authored
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-riscvTom Rini authored
- 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 authored
Signed-off-by:
Pragnesh Patel <pragnesh.patel@sifive.com> Reviewed-by:
Bin Meng <bin.meng@windriver.com> Reviewed-by:
Rick Chen <rick@andestech.com>
-
Sean Anderson authored
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:
Sean Anderson <seanga2@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Rick Chen <rick@andestech.com>
-
Sean Anderson authored
This matches the naming scheme of other timer drivers. Signed-off-by:
Sean Anderson <seanga2@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Rick Chen <rick@andestech.com>
-
Sean Anderson authored
This is a regular timer driver, and should live with the other timer drivers. Signed-off-by:
Sean Anderson <seanga2@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Rick Chen <rick@andestech.com>
-
Sean Anderson authored
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:
Damien Le Moal <Damien.LeMoal@wdc.com> Signed-off-by:
Sean Anderson <seanga2@gmail.com> Reviewed-by:
Rick Chen <rick@andestech.com>
-
Sean Anderson authored
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: 1c17e555 Signed-off-by:
Sean Anderson <seanga2@gmail.com> Reviewed-by:
Leo Liang <ycliang@andestech.com>
-
Heinrich Schuchardt authored
free() checks if its argument is NULL. No need to check it twice. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Sean Anderson <seanga2@gmail.com>
-
- Oct 24, 2020
-
-
Tom Rini authored
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
-
- Oct 23, 2020
-
-
Add dummy helper to enabling the header could be included when DM REGULATOR not enabled. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Add clk bulk for nop-phy driver. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
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:
Jaehoon Chung <jh80.chung@samsung.com>
-
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:
Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by:
Biju Das <biju.das.jz@bp.renesas.com>
-
Provide unit tests for functions print_freq() and print_size(). Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
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:
Bin Meng <bin.meng@windriver.com>
-
CONFIG_CMD_TIMER merits a single file instead of co-exist in the sleep command file. Signed-off-by:
Bin Meng <bin.meng@windriver.com>
-
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:
Bin Meng <bin.meng@windriver.com>
-
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:
Pali Rohár <pali@kernel.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the driver can support live DT. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the driver can support live DT. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
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:
Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
(A && A == 0x20) is only true for (A == 0x20). Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Tom Rini authored
I had inadvertently merged the Xen series before everything was fully happy with the board maintainer. Revert the series.
-