According to commit:
(40d08d0 tools: mkimage: support pack empty file for multi image)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ie370e9137b7441bd75582c95b3f60d76d8945629
As dmac aclk comes from hclk pdbus, dmac pclk comes frome pclk pdbus,
dmac aclk should be an integer multiple of dmac pclk and the same
parent with dmac pclk. so let hclk pdbus and pclk pdbus only come from
gpll.
Change-Id: Idd2f362fcf160352dcb4577ad8a13b4dbec7c65f
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Since v2.80a, dwmmc controller introduced the card write threshold for
HS200 & HS400 mode. So CardThrCtl can be supported during write operation, not
only read operation.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I7f345660107c2978d2f874d36f2dffd2acdfbcb6
Fixes warning from rv1126-usbplug_defconfig:
......
warning: (ROCKCHIP_RV1126) selects ROCKCHIP_GPIO_V2 which has unmet direct dependencies (ROCKCHIP_GPIO)
warning: (ROCKCHIP_RV1126) selects ROCKCHIP_GPIO_V2 which has unmet direct dependencies (ROCKCHIP_GPIO)
......
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I2c7d64e9cdd03f3e8dcbbb948d747a67d7dff4da
Enable otp verified-boot flag verify for U-Boot proper.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I64547de92cde34f71e14b418c4c2e64ae70fa676
The v2 gpio controller add write enable bit for some register,
such as data register, data direction register and so on.
This patch support v2 gpio controller by redefine the read and
write operation functions.
Change-Id: I2adbcca06a37c48e6f494b89833cd034ba0dae29
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Do 'gpio status -a' will cause system crash, due to the pins number
error for gpio4 (last gpio controller).
Test on RV1126 IOTEST board, which has only 8 pins for GPIO4.
Change-Id: I4150abd0ca97bc4f3043eb7fcae2287818125031
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Don't verify otp verified-boot flag for every image, the same as
signature verify.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I48c230db4429c9530066d0f42de1eea7609ba4b5
For all 32-bit platforms with CONFIG_OPTEE_V2 enabled.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I991af1639a51938a880f839b2cba472495e0afc3
from kernel-4.19:
(3bd4dd9 ARM: dts: rv1126: Add CPU idle states node.)
otp and secure-otp nodes are only defined in U-Boot.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I2fcdf677bd86a477dc087d3e4986ee6cd2dfe4de
This reverts commit ef473e3642.
We merged this commit while we didn't notice that this driver gets
init voltage from legacy "rockchip,pwm_voltage = <...>", but regulator
uclass gets it from "regulator-init-microvolt = <...>". so we have to
revert this commit to compatible the legacy one.
Change-Id: I52606d9a9268659d3d77f7d29d1eed1d80b30b1e
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
The blk_dread will occor error if the image is packed with multiple
firmwares, for example boot.img, when nand or spi nand have bad block.
So call mtd_blk_map_table_init to remap part address to make sure
reading correct data.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Icebc6b1c5a10758efa615424d0706b9ed6ec23ad
Otherwise the next stage will respond to the decompress completed interrupt.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ie56a7eb939374bd5aac326bb3cd022225bf71dd2
1.support boot kernel by spl
2.support pressing key to enter uboot
3.rename the defconfig
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I56e4aa9d90a7fa3efae9e0d7dbdf73741eeb9040
- enable CONFIG_SUPPORT_USBPLUG to generate mininum usbplug.bin
- only "rockusb" command is supported
- run_command_list() doesn't support powerful syntax, it falls
back to run_command().
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
Change-Id: I67ac23aedc48359032c9b44cbf417515090cbd95
The output usbplug.bin is used to replace the rockchip
usbplug binary in the "rkbin" repository.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I0ec488bd37f3b3e96232f2ed653a0af453199105
Allow disable some configure without bringing compile error.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I6fddf3368c3e63b82cfb071a2cfe70ebcad7de7b