Commit Graph

811 Commits

Author SHA1 Message Date
YouMin Chen
0ff82d9067 rk3399: ddr: update ddr version to v1.24 20191016
build from:
    c754b0d Version: DDR Version 1.24 20191016
update feature:
    5ed0e6d lpddr4: add support multi frequency
    1eb26fb RK3399: ddr: support choice uart by g_uart_info

Change-Id: I128678613bd2eb3fcfe857cab9af63a6ed2786ed
Signed-off-by: YouMin Chen <cym@rock-chips.com>
2019-10-16 10:22:30 +08:00
Zhihuan He
a8c5f470a6 rk3308: ddr: update version to v1.29
We have deleted other uart bin file.If you want to generate other uart
bin file, please use ./tools/ddrbin_tool as follow:
1. modify "ddrbin_param.txt", choose ddr frequency, uart info.
2. run "ddrbin_tool" with argument 1: ddrbin_param.txt, argument 2: ddr
bin file.

build from:
	ec2214e rockchip: rk3308: dram_init: updata to version 1.29

Update feature:
	b1df665 drivers: ram: rockchip: rk3308: set phy dll delay
in different freq
	73cb0bb drivers: ram: rockchip: rk3308: reduce ddr.bin size
	a83ae48 drivers: ram: rockchip: rk3308: disable ddr standby
if disable sr or pd
	0eb4bef drivers: ram: rockchip: rk3308: remove CONFIG_RK3308_ODT_ENABLE
	245b957 rockchip: rk3308: dram_init: add surpport uart0~uart4 iomux

Change-Id: I7b84fa65f2671a348a36ea0529dcbcf518d452b5
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2019-10-15 10:26:30 +08:00
Shengfei Xu
e65b97b511 rk3288: tee with ta: update optee version to v1.40
build from optee commit in develop-rk3228 branch:
    2003f53 rk3288: change system reset mode
update feature:
    2003f53 rk3288: change system reset mode
    bddb413 rk3288: suspend: gating watchdog clock when suspend

Change-Id: I6bfeccbe43cd0d743c2ee8fcd13b01be3fde006b
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2019-10-15 08:02:10 +08:00
Shengfei Xu
f20e03bad0 rk3399: bl31: update version to 1.30
Build from ATF commit:
    42583b6 plat: rk3399: change bl31_base to 0x40000
update feature:
    42583b6 plat: rk3399: change bl31_base to 0x40000

Change-Id: Idb7ee79fc6a6fa75e33cce4e1d851bc28a21b3b7
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2019-10-15 07:56:53 +08:00
Tang Yun ping
d92d7013e4 rk322x: ddr: update ddr bin to v1.10
print info: DDR Version V1.10 20190926

build from:
	bdc9b64 rk322x: ddr update to v1.10
update feature:
	fix unknow device bug.

Change-Id: Ia95e9a20de4a724c08d09c670f1801dc2ac83ced
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-10-09 15:39:43 +08:00
Tang Yun ping
e902aa9431 rk3128: ddr: update ddr bin to v2.12
print info: DDR Version 2.12 20190926

build from:
	255a9b9 ddr: update to v2.12
update feature:
	rk3128: ddr: fix unknow device bug.

Change-Id: I0548ac9319d931bb2afa386725bdfec9385f33ad
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-10-09 15:39:43 +08:00
Tang Yun ping
fd760d7d84 rk3326: ddr: update ddr bin to v1.14
print info: DDR V1.14 20190925

build from:
    8332e87 rk3326/px30: ddr: updata to v1.14 20190925
update feature:
    fix bug of ddr test tool test fail at loader deviec.

Change-Id: I5226df5644cd8314fc8f0b6d33f81eed10917171
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-10-09 15:39:43 +08:00
Tang Yun ping
2555bc8cba px30: ddr: update ddr bin to v1.14
print info: DDR V1.14 20190925

build from:
	8332e87 rk3326/px30: ddr: updata to v1.14 20190925
update feature:
	fix bug of ddr test tool test fail at loader deviec.

Change-Id: Ia54badbc079c54a367534886123a6751896181af
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-10-09 15:39:43 +08:00
Jon Lin
ccec6d7054 rk3308: loader: update to v1.18
from commit: I90d1f648b68a01ee125a045907fee9d3eec2129a

1.Remove Nor vendor partition
2.Support SPI Nor backup GPT

Change-Id: I00dc03d483e023128a80016cfbf5cfd41eed5f76
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2019-10-09 15:26:51 +08:00
Jon Lin
ecb43834bb rk3326 & px30: loader: update version to v1.20
from commit: 2d08d469508ef9890e8f85e1a2ae3e94655c8602

invalid icache before run bl31

Change-Id: I65e35f54cc44daf5ba2684e96d3e726bd915ba9c
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2019-09-24 14:31:49 +08:00
Tang Yun ping
54a17cb116 ddrbin tool: add ddrbin tool for ddr bin param modify
tool version: v1.00 20190920
This tool support modifying ddr frequency and uart infomation.
See tools/ddrbin_tool_user_guide.txt for more detail.

Change-Id: I1d634395c3cb0635a61fe8f227242523b926cd1b
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-09-23 18:09:40 +08:00
Joseph Chen
781bef7d14 rk3308 aarch64/32: bl31: update version to v2.22
Build from commit:
	30f1405 plat: rk3308: change BL31 offset from 0x10000 to 0x40000 on AArch64

Update feature:
	30f1405 plat: rk3308: change BL31 offset from 0x10000 to 0x40000 on AArch64

Change-Id: If6039c5daf6e1a14f0fd145330a79c7b6050c5ad
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-09-23 17:12:48 +08:00
XiaoDong Huang
500ed2a4c4 rk3326: bl31: update version to v1.18
Build from ATF commit:
    ca3dd02 plat: px30: set all region as secure to all master
update feature:
    ca3dd02 plat: px30: set all region as secure to all master
    a9dd46e plat: px30: change bl31_base to 0x40000
    31ff1d0 plat: rockchip: set "plat_uart_base=0" if uart disable

Change-Id: Icfb591a14440257aa9b84ce4e9da0c9d7892d1fb
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-09-23 10:30:43 +08:00
XiaoDong Huang
d4173f009a px30: bl31: update version to v1.18
Build from ATF commit:
    ca3dd02 plat: px30: set all region as secure to all master
update feature:
    ca3dd02 plat: px30: set all region as secure to all master
    a9dd46e plat: px30: change bl31_base to 0x40000
    31ff1d0 plat: rockchip: set "plat_uart_base=0" if uart disable

Change-Id: Ie0db861255ab5f0507ee91302ef23d9dbd175f70
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-09-23 10:29:19 +08:00
Tang Yun ping
be0f8c2f34 rk3368H/PX5: ddr: update ddr bin to v2.06
print info: DDR Version v2.06 20190903

build from:
	389bcaf rk3368: ddr: update to v2.06
update feature:
	fix Dram init bug of "unknow device".

Change-Id: I1ef50ae8af177d0d97f35015bdebcaa56a510b61
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-09-19 10:47:01 +08:00
Jon Lin
a3312ac6b2 rk3308: miniloader: update loader to 1.17 version
from commit: 32687efbfe62f4a38c6871133338c92c8381c227

1.src: platform rk3308: add icache clean

Change-Id: If70d017e08eebfcd314864fbcabb8f45c7d86653
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2019-09-11 16:04:53 +08:00
XiaoDong Huang
75e588eeea rk322xh: bl31: update version to v1.42
Build from ATF commit:
    0e4d696 plat: rk322xh: open usb_grf clk when suspend
update feature:
    0e4d696 plat: rk322xh: open usb_grf clk when suspend
    655d673 rockchip: gicv3: fix some SGI operation interface
    dc11506 rockchip: ddr_parameter: use "struct tag_ddr_mem" to parse
    cc5829b rockchip: common: i2c: clean up code

Change-Id: Ibe19ee6ae6d1ef1733f90ee19a3cb443bfa5d8bb
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-09-09 08:35:55 +08:00
Jon Lin
fe12bc3922 rk3308: miniloader: update loader to 1.16 version
from commit: 72205102d1643973a7ec05064b2e31982bd6a9f9

1.add new SPI flash GD5F2GQ5UEYIG

Change-Id: Ic9d395db6e43c33815a2ce07faf96bd906644ecf
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2019-09-07 17:15:29 +08:00
XiaoDong Huang
2e2667d0ed rk3326: bl31: update version to v1.17
Build from ATF commit:
    31ff1d0 plat: rockchip: set "plat_uart_base=0" if uart disable
update feature:
    31ff1d0 plat: rockchip: set "plat_uart_base=0" if uart disable
    99ca711 plat: rockchip: uart: wait no busy before restore

Change-Id: Ia32c5812d79c7ac0c52a0f92ed7d8a6c66a0752e
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-09-05 19:47:36 +08:00
XiaoDong Huang
da142c5d80 px30: bl31: update version to v1.17
Build from ATF commit:
    31ff1d0 plat: rockchip: set "plat_uart_base=0" if uart disable
update feature:
    31ff1d0 plat: rockchip: set "plat_uart_base=0" if uart disable
    99ca711 plat: rockchip: uart: wait no busy before restore

Change-Id: Ice4984e8a92c2a6e5b8e291ed18428b8dc51e596
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-09-05 19:40:37 +08:00
chenfen
5b6527c875 rk3288: loader: enable secure boot if loader sign.
from commit: 0dd6485 enable secure boot if loader sign.

Change-Id: Ib179260cde42bd1c5bb22404235315602509bba2
Signed-off-by: chenfen <chenfen@rock-chips.com>
2019-08-29 19:38:04 +08:00
Yifeng Zhao
5ad1d8838a rk3308: support spi nand and slc nand without ftl
commit id: 9b6e0bcd: spi nand: support gpt without ftl

Change-Id: I620979d0d5a9f98973fb087ef2f26a1cd4d20601
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2019-08-29 13:04:51 +08:00
Jon Lin
fe1bf56e83 px30: loader_slc: update slc version to 1.19
Change-Id: Ifd8b3790a350d780bcd7b4537dd5d250336977ed
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2019-08-22 21:51:57 +08:00
Tang Yun ping
c173c84076 px30: ddr: update ddr bin to v1.13
print info: DDR V1.13 20190814
build from:
    d279ce2 rk3326/px30: ddr: updata to v1.13 20190814

update feature:
    optimizing code size.

Change-Id: Iacc6e70b4da5f6478fe9fee8d62717cc35b99fac
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-08-22 08:33:16 +08:00
Tang Yun ping
de2b57d81a rk3326: ddr: update ddr bin to v1.13
print info: DDR V1.13 20190814
build from:
	d279ce2 rk3326/px30: ddr: updata to v1.13 20190814

update feature:
	optimizing code size.

Change-Id: I91da5b233e015dbea2648f02c7a650d70466760f
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2019-08-22 08:33:16 +08:00
XiaoDong Huang
575f98e50b rk3368h: bl31: update version to v2.23
Build from ATF commit:
    80c3243 plat: rk3368: support virtual poweroff
update feature
    80c3243 plat: rk3368: support virtual poweroff
    2b1ae8b plat: rk3368: fix mcu suspend/resume flow
    2bc80d5 plat: rk3368h: use public remotectl parse functions
    7e575fb plat: rk3368: change atf_mem range to 0~1MB
    dc11506 rockchip: ddr_parameter: use "struct tag_ddr_mem" to parse
    85b4ee0 rockchip: support boot from secondary cpu
    c15bf5d rockchip: uart: fix uart save/restore flow
    ab43371 plat: rk3368h: add rk_atags support
    c0933ee rockchip: common: atags: sync from u-boot

Change-Id: I795231ce862dba949993b47580abfc2a8c6f5b06
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-08-21 15:15:03 +08:00
Hisping Lin
ca1c44e510 rk1808: bl32: update version to v1.12
Build from optee commit in develop-next branch:
    02f0e5be static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

Update feature:
    c24aaddd rk1808: efuse: disable auto mode after R&W efuse
    ec94b753 plat-rockchip: fix compile fail for vendor props
    55bcc440 plat-rockchip: pta: add OS service pseudo ta

Change-Id: Iec7cdc1b2bd5798d4a27186c093cf6ba5637e2ba
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
Hisping Lin
4e9ec8082d rk3308: bl32: update version to v1.12
Build from optee commit in develop-next branch:
    02f0e5be static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

Update feature:
    c24aaddd rk1808: efuse: disable auto mode after R&W efuse
    ec94b753 plat-rockchip: fix compile fail for vendor props
    55bcc440 plat-rockchip: pta: add OS service pseudo ta

Change-Id: I76a5165c6aeda8065c9d586faa136ab7930668f1
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
Hisping Lin
f905e63e6a px30: bl32: update version to v1.12
Build from optee commit in develop-next branch:
    02f0e5be static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

Update feature:
    c24aaddd rk1808: efuse: disable auto mode after R&W efuse
    ec94b753 plat-rockchip: fix compile fail for vendor props
    55bcc440 plat-rockchip: pta: add OS service pseudo ta

Change-Id: I42c127744c26e28bb60363e8a96a258873beb957
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
Hisping Lin
403b4ec7c7 rk3326: bl32: update version to v1.12
Build from optee commit in develop-next branch:
    02f0e5be static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

Update feature:
    c24aaddd rk1808: efuse: disable auto mode after R&W efuse
    ec94b753 plat-rockchip: fix compile fail for vendor props
    55bcc440 plat-rockchip: pta: add OS service pseudo ta

Change-Id: Ib730abfcf4744436919da51fe1a58d44e87d4519
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
Hisping Lin
8fd31a9267 rk3399pro: bl32: update version to 1.20
Build from optee commit in develop branch:
    45f58ab9 static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

Update feature:
    19950c70 rk3399: fix secure ddr region setting error
    da2bcfdc sta: rk_os_service: add permission check
    64eedbd9 ree fs: recreate file if open meta file fail

Change-Id: Ia5cca9fecab4b1ccec517919e877797e4e1093a4
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
Hisping Lin
793009bc74 rk3399: bl32: update version to 1.20
Build from optee commit in develop branch:
    45f58ab9 static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

Update feature:
    19950c70 rk3399: fix secure ddr region setting error
    da2bcfdc sta: rk_os_service: add permission check
    64eedbd9 ree fs: recreate file if open meta file fail

Change-Id: Ia1640251803e79daaf968019057924b659fcb481
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
Hisping Lin
a9d5d43a7b rk3368: bl32: update version to 1.28
Build from optee commit in develop branch:
    45f58ab9 static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

Update feature:
    19950c70 rk3399: fix secure ddr region setting error
    da2bcfdc sta: rk_os_service: add permission check
    64eedbd9 ree fs: recreate file if open meta file fail

Change-Id: Ia954402f26b9f1ecec17bb63dcfacf7a773d9ec8
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
Hisping Lin
0be0059b68 rk3228h/rk3328: bl32: update version to 1.52
Build from optee commit in develop branch:
    45f58ab9 static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

Update feature:
    19950c70 rk3399: fix secure ddr region setting error
    da2bcfdc sta: rk_os_service: add permission check
    64eedbd9 ree fs: recreate file if open meta file fail

Change-Id: I56bb1298c5b1a63ac622d766d41b8dce56988a3c
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
Hisping Lin
9795aa376e rk3288: tee with ta: update optee version to v1.39
build from optee commit in develop-rk3228 branch:
    be1b074d static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

update feature:
    746912b1 rk322x: ddr: set pll bypass if this pll was in power-down
    28bcc014 plat-rockchip: support rv1108 soc
    6cf8251c plat: rk312x: support suspend from uboot

Change-Id: I1a0e1f75ea25c0d22659ddb123d1cae40246b6ec
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
Hisping Lin
11d5d06cdb rk3128x: tee with ta: update optee version to v2.05
build from optee commit in develop-rk3228 branch:
    be1b074d static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

update feature:
    746912b1 rk322x: ddr: set pll bypass if this pll was in power-down
    28bcc014 plat-rockchip: support rv1108 soc
    6cf8251c plat: rk312x: support suspend from uboot

Change-Id: I476bca58edba2218b2972fa05a8939ec512876b8
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
Hisping Lin
8685de0837 rk322x: tee with ta: update optee version to v2.04
build from optee commit in develop-rk3228 branch:
    be1b074d static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

update feature:
    746912b1 rk322x: ddr: set pll bypass if this pll was in power-down
    28bcc014 plat-rockchip: support rv1108 soc
    6cf8251c plat: rk312x: support suspend from uboot

Change-Id: I45d45ec3491440941819c7f7fe9868a315465de7
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
Hisping Lin
42f3597769 rk312x: tee with ta: update optee version to v1.40
build from optee commit in develop-rk3228 branch:
    be1b074d static ta: do not return error if head.magic != TEE_SVC_STORAGE_MAGIC

update feature:
    746912b1 rk322x: ddr: set pll bypass if this pll was in power-down
    28bcc014 plat-rockchip: support rv1108 soc
    6cf8251c plat: rk312x: support suspend from uboot

Change-Id: I4b8916f3f27dc144e3690bda9a8927ba8a03cd00
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-08-15 16:30:09 +08:00
XiaoDong Huang
b377da0988 rk3326: bl31: update version to v1.16
Build from ATF commit:
    58f9374 plat: px30: support uart0 wakeup
update feature:
    58f9374 plat: px30: support uart0 wakeup
    a8e7839 plat: px30: support atags
    655d673 rockchip: gicv3: fix some SGI operation interface
    dc11506 rockchip: ddr_parameter: use "struct tag_ddr_mem" to parse
    f303135 build: bl31: disable bl31.bin build for rockchip platform
    cc5829b rockchip: common: i2c: clean up code
    3669605 plat: px30: support boot from secondary cpu
    85b4ee0 rockchip: support boot from secondary cpu
    c15bf5d rockchip: uart: fix uart save/restore flow
    5bd5463 plat: px30: ddr: set PLL BP if it was PD before idle_port
    c0933ee rockchip: common: atags: sync from u-boot
    5301828 plat: px30: ddr: remove register prefetch for UART2
    69635d9 plat: px30: ddr: update noc timing

Change-Id: I28cadcd1c2c31496c7b9433fdf16428f2d51d9f9
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-08-14 15:34:58 +08:00
XiaoDong Huang
0af851e08b px30: bl31: update version to v1.16
Build from ATF commit:
    58f9374 plat: px30: support uart0 wakeup
update feature:
    58f9374 plat: px30: support uart0 wakeup
    a8e7839 plat: px30: support atags
    655d673 rockchip: gicv3: fix some SGI operation interface
    dc11506 rockchip: ddr_parameter: use "struct tag_ddr_mem" to parse
    f303135 build: bl31: disable bl31.bin build for rockchip platform
    cc5829b rockchip: common: i2c: clean up code
    3669605 plat: px30: support boot from secondary cpu
    85b4ee0 rockchip: support boot from secondary cpu
    c15bf5d rockchip: uart: fix uart save/restore flow
    5bd5463 plat: px30: ddr: set PLL BP if it was PD before idle_port
    c0933ee rockchip: common: atags: sync from u-boot
    5301828 plat: px30: ddr: remove register prefetch for UART2
    69635d9 plat: px30: ddr: update noc timing

Change-Id: Ieaa10fbb82b77775fbbd84692172baf04791451a
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-08-14 15:34:57 +08:00
chenfen
a4c99b293f rk3326: loader: add A/B boot mode support.
from commit: ef487b56 add A/B boot mode support.

Change-Id: Id21ff54998c6cc006a32c055afc51d528788829f
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2019-08-06 10:32:17 +08:00
XiaoDong Huang
67056de97d rknpu-lion: bl31: update version to v1.08
Build from ATF commit:
    41c1a7d plat: rk1808: fix ddr_firewall save/restore flow
Updata features:
    41c1a7d plat: rk1808: fix ddr_firewall save/restore flow
    12a254d plat: rk1808: suspend: add clk suspend/resume
    a9682e7 plat: rk1808: suspend: no idle audio/sram if vad wakeup
    ff72327 plat: rk1808: ddr: remove unused debug info
    8d7c757 plat: rk1808: change ddr parameters base address
    dc11506 rockchip: ddr_parameter: use "struct tag_ddr_mem" to parse
    cc5829b rockchip: common: i2c: clean up code

Change-Id: Ifd7330a06950b6d428c9bd9a3710229ae5f37a62
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-08-01 09:31:19 +08:00
XiaoDong Huang
d8c42d9aa6 rk1808: bl31: update version to v1.09
Build from ATF commit:
    41c1a7d plat: rk1808: fix ddr_firewall save/restore flow
Updata features:
    41c1a7d plat: rk1808: fix ddr_firewall save/restore flow
    12a254d plat: rk1808: suspend: add clk suspend/resume
    a9682e7 plat: rk1808: suspend: no idle audio/sram if vad wakeup
    ff72327 plat: rk1808: ddr: remove unused debug info
    8d7c757 plat: rk1808: change ddr parameters base address
    dc11506 rockchip: ddr_parameter: use "struct tag_ddr_mem" to parse
    cc5829b rockchip: common: i2c: clean up code

Change-Id: Ibd7d0bb606fb93100fcb00b68e3c2b95e76b0970
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-08-01 09:29:12 +08:00
chenfen
e2f9d3de68 rk1808: loader: add public key atag.
from commit: 4a8a394 add public key atag.

Change-Id: Ie7906ee570586f0084c51dc07fd4bc202b2e8aa4
Signed-off-by: Fen Chen <chenfen@rock-chips.com>
2019-07-22 10:30:03 +08:00
CanYang He
9f505c1418 rk3399pro: bl31: update version to 1.29
Build from ATF commit:
	22b599a plat: rk3399: ddr: fix lpddr4 read write-only register
		bit

update feature:
	22b599a plat: rk3399: ddr: fix lpddr4 read write-only register
		bit
	eb0e92c plat: rk3399: ddr: lpddr4 increase 50MHz PLL FOUTVCO

this bl31 is match ddr bin Version "DDR Version 1.23 20190709"

Change-Id: I51d663fc1274bfbb0fc1eab17b32f8c72d82a828
Signed-off-by: CanYang He <hcy@rock-chips.com>
2019-07-20 11:57:08 +08:00
CanYang He
a63c49964b rk3399pro: ddr: update ddr version to v1.23 20190709
build from:
	f7529fe Version: DDR Version 1.23 20190709
update feature:
	13a0b3f lpddr4: fix v1.22 block when advanced training done
	cba7a71 lpddr4: fix read write-only register bit
	7d1b640 lpddr4: fix dma sw training last delay pass bug
	70c60fa lpddr4: fix tCKELCMD to max(7.5ns, 5nCK)

Change-Id: Ie5475d0411152a6cc70456e405ad6539fd4149bd
Signed-off-by: CanYang He <hcy@rock-chips.com>
2019-07-20 11:54:01 +08:00
Zhihuan He
20194ad367 rk322x: tee with ta: update optee version to v2.03
build from optee commit in develop-rk3228 branch:
	746912b rk322x: ddr: set pll bypass if this pll was in power-down
update feature:
	746912b rk322x: ddr: set pll bypass if this pll was in power-down

Change-Id: I75de7f8d5ed1873b38fabb80d789be4349dc4c9a
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2019-07-16 08:32:51 +08:00
Zhihuan He
7aa4b32776 rk322xh: bl31: update version to v1.41
Build from ATF commit:
	22b599a plat: rk3399: ddr: fix lpddr4 read write-only register bit
update feature:
	5a090b1 plat: rk322xh: ddr: set pll bypass if this pll was in power-down
	c0933ee rockchip: common: atags: sync from u-boot
	b0cf3d1 rockchip: sram: add pmu_sram section defines
	c2b0155 plat: rockchip: move the function about dram spec timing to common

Change-Id: I78d001b2e0750d9df9860f11180856d1322e60ce
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2019-07-16 08:32:51 +08:00
Zhihuan He
f3a7c304f0 rk3368: ddr: update ddr init code to V2.05
print info: "DDR Version v2.05 20190701"

from commit:
	37b9609 rk3368: ddr init code update to v2.05
update feature:
	e07195a rk3368: ddr: add 2T mode control by global parameter
	8491b44 rk3368: enable 2T mode
	597ce94 rk3368: ddr: fix wrong uart base address for atags

Change-Id: I7336b3d2b9f0901afdab37b1b2e10880e861fc02
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2019-07-15 18:05:44 +08:00
Zhihuan He
96b511d0c9 rk322x: update ddr init bin to v1.09
print info: DDR Version V1.09 20190628

from commit:
	805d41a rk322x: ddr update to v1.09

update feature:
	e853ddd rk322x: ddr: add 2T mode control
	396ea6e rk322x: ddr: fix wrong uart base address for atags

Change-Id: Ic617d94368a82faa478d88d9965f2083bc0f792f
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2019-07-15 18:05:44 +08:00