60 Commits

Author SHA1 Message Date
Hisping Lin
d3099ea19a px30: bl32: update version to v2.19
Build from OPTEE commit in develop-next branch:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
Update features:
    9f2aca7d1 pta: uboot_storedata_otp: reinit ssk when set security level2
    d038af9d2 pta: uboot_storedata_otp: add check for rpmb key
    679d5bd8f core: tee: add func for check rpmb key is written
    9be174551 rockchip: uart: Add real uart hw init
    6b3714286 Revert "libcrypto: set RSA OAEP MGF1 MD function to SHA1"
    6b9b39300 ta.mk: not copy lib/libcrypto/include to host_include
    0ca603d39 plat-rockchip: modify conditions for read secure boot flag
    fd6b94676 plat-rockchip: vendor_props: fix xtest regression_1006 fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: Ibb3e8563fb713a0d5a19ea3072dd22fa3f47296e
2024-11-01 09:16:38 +08:00
Hisping Lin
336386ae1e px30: bl32: update version to v2.18
Build from OPTEE commit in develop-next branch:
    6c78a7d8c rk3506: Don't disable vccio4 IE by default
Update features:
    6c78a7d8c rk3506: Don't disable vccio4 IE by default
    4cd67e2b3 plat-rockchip: common: support soft ta encryption key
    d19d25819 plat-rockchip: map MEM_AREA_RAM_NSEC to MEM_AREA_IO_NSEC
    2aae11a16 rockchip: atags: add BOOT1P_PARAM related define
    1bfd9b503 scripts: build_optee_os: Add FW_VERSION_PRINT

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I342a31f7181bf480001aa1f3c6d7e2c82696a77a
2024-09-03 14:55:29 +08:00
Lin Jinhan
04933d8400 px30: bl32: update version to v2.17
Build from OPTEE commit in develop-next branch:
    7ab599eca
Update features:
    7ab599eca
    7bccc9d0b scripts: fixed build error when CFG_DEBUG=y
    7eeac5fbf core: rpmb: change read data to multiple times
    cb202f37a libutee: increase MPI_MEMPOOL_SIZE size
    3210aa2eb plat-rockchip: implement itr_core_handler() not rely on CFG_FIQ
    392302b07 UPSTREAM: core: tee_entry: fix array out of bounds check in cleanup_shm_refs()
    185dc3c92 pta: crypto_service: optimization parameter check

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I0d4758106e6b547113e66fd822b102069a5f75a6
2024-07-09 10:09:38 +08:00
Hisping Lin
223b77c8f8 px30: bl32: update version to v2.16
Build from OPTEE commit in develop-next branch:
    185dc3c92 pta: crypto_service: optimization parameter check
Update features:
    185dc3c92 pta: crypto_service: optimization parameter check
    22c240efc pta: rockchip: rk_os_service: add parameter checking for trng
    89b616c96 pta: uboot_storedata_otp: optimization parameter check
    bde521b1e pta: uboot_storedata_efuse: optimization parameter check
    8631500dc pta: uboot_storedata: optimization parameter check
    819ac530d plat-rockchip: uart: set max timeout 5.6ms wait for uart busy
    c2e6f9b66 drivers: hal_crypto: skip hash/tag valid check for V4
    6d56b8ea5 pta: rockchip: enhanced parameter checking for R&W OTP
    967d63292 pta: uboot_storedata_otp: optimize otp write function
    7060bdbdb plat-rockchip: pstore: fix the error that rb->start is too big
    ee7e1e84e core: ree_fs_open(): close dirfile on error
    540ade275 core: arm: print tee memory usage
    53b92eefa drivers: hal_crypto: modify print level for crypto version
    a5847983c plat-rockchip: enable CFG_RK_OEM_ENCRYPT_DATA
    a5be984aa pta: uboot_storedata_otp: support RW oem encrypt data
    9b4140743 plat-rockchip: define OEM_ENCRYPT_DATA offset and size
    c0f517747 drivers: hal_crypto: Fix the calculation error when the address exceeds 32bit
    62aa10b78 kernel: link.mk: modify fwver print
    322d721f4 rockchip: atags: Fix last valid tag be damaged when override tag
    f41b05870 scripts: commit_bin.sh: support build with fwver
    118a16b23 rockchip: support specify fwver during compilation
    001a84604 rockchip: atags: add fwver tag support
    d8a792882 core: arm: remove CFG_R1_NS_ENTRY_ADDR

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I7801013da2c05a50f4e982e4c38ec6c8ac3166b7
2024-04-16 15:05:55 +08:00
Zhihuan He
c7039e3397 px30: bl31: update version to v1.34
Build from ATF commit:
	46064b2d5 plat: px30: dram: support 2x/4x refresh for
Extended temperature range

update feature:
	46064b2d5 plat: px30: dram: support 2x/4x refresh for
Extended temperature range

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I8237068a156b808f4dcb5a1e99629ccbb9ab89e0
2023-12-26 16:32:17 +08:00
Hisping Lin
8e69e4fdea px30: bl32: update version to v2.15
Build from OPTEE commit in develop-next branch:
    b5340fd65 rk3528: init hdcp key when bringup
Update features:
    b5340fd65 rk3528: init hdcp key when bringup
    bcabf953b pta: crypto_service: modify param check in oem otp key cipher
    feccaa485 pta: uboot_storedata_otp: support check ta encryption key is written
    9e41a3f1e pta: uboot_storedata: support set and get security flag
    2e4ec1697 drivers: hal_crypto: fixed CRYPTO crash when using dynamic shared memory
    64d17e36f pta: crypto_service: added the address parameter security check
    74c6116b9 rk3326: enable user clk before user read
    7b8c9847b pta: uboot_storedata_otp: enable kernel read secure boot flag
    84db04157 pta: uboot_storedata_otp: enable kernel read vboot key hash
    597e4214d core: main: register ddr to enable dynamic SHM
    66a458730 core: lpae: increase PGT_CACHE_SIZE when define CFG_WITH_LPAE
    ec7e85d54 plat-rockchip: support pstore for optee log

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: Ibec8212499b4fc06b41e429fa7370bd307bc7390
2023-08-29 09:42:43 +08:00
XiaoDong Huang
8fbbaf8ab2 px30: bl31: update version to v1.33
Build from ATF commit:
    0152b20d0 plat: px30: add amp support
update feature:
    0152b20d0 plat: px30: add amp support
    227fafce7 rockchip: gicv2: add functions for amp
    098982bcc plat: px30: use common gicv2 save/restore function
    1cd72fefa rockchip: fiq-debugger: support separate stack for os callback
    05d32f7ef plat: rockchip: scmi: Add struct scmi_clock_t args to callbacks
    4a8ea5e6d rockchip: add gicv2 save/restore function
    946bbd849 plat: px30: sleep: support to use pll-deep-mode
    74005d5d9 plat: px30: sleep: set pmu's count by actual pvtm's frequency

Change-Id: Id3e631a70eaf9b16f2495bedba94807e66f8f37e
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2023-02-03 10:29:14 +08:00
XiaoDong Huang
d906ef3382 px30: bl31: update version to v1.32
Build from ATF commit:
    6f45bba91 plat: px30: do second reset if rbrom in px30s
update feature:
    6f45bba91 plat: px30: do second reset if rbrom in px30s
    99f86f801 plat: px30: disable reset out if reboot normal
    8932810e4 plat: px30: resolve misjudgments about reboot_flag
    ad0d2e72c plat: px30: compatible with the old loader
    01ab909ae rockchip: support plat_bl31_inner.ld.S

Change-Id: Iaa339cb0b89c642a36f21b096a0f789d1a172221
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2022-10-25 17:22:27 +08:00
Hisping Lin
93f85154a5 px30: bl32: update version to v2.14
Build from OPTEE commit in develop-next branch:
    d84087907 plat-rockchip: main: not call rk_uart_init if rk_atags disable serial
Update features:
    d84087907 plat-rockchip: main: not call rk_uart_init if rk_atags disable serial
    3e2bbe510 rk3326: set user dctrl before key reader init

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I521b9954fa190355bb0e1fc192696eb69ada6095
2022-09-16 17:50:33 +08:00
Hisping Lin
e738440145 px30: bl32: update version to v2.13
Build from OPTEE commit in develop-next branch:
    3e2bbe510 rk3326: set user dctrl before key reader init
Update features:
    3e2bbe510 rk3326: set user dctrl before key reader init
    87d94c5ef plat-rockchip: main: support hdcp key init via tee_entry_fast
    0af3483b2 pta: crypto_service: support user ta call hard cipher
    778974be4 core: tee: calculate node hash with meta default
    4167319d3 core: tee: recreate dirf.db if open dirf.db fail

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: I85ab6c4019c977ac2706100992f47752e2bf67df
2022-08-01 09:20:01 +08:00
Zhihuan He
8ecb9094f1 px30: bl31: update version to v1.31
Build from ATF commit:
	244acd212 plat: px30-s: suspend: add ddr phy reg save

Update feature:
	244acd212 plat: px30-s: suspend: add ddr phy reg save
	680b18825 plat: px30-s: refactor ddr dfs set rate code
	2d7dc684b plat: px30-s: add ddr eye scan func
	f4b4c237c plat: px30-s: workaround x16 bw read training err
	8abe5853e plat: px30-s: add default fsp config
	2fa68b510 plat: px30-s: add de-skew info get from expanded param
	faca0fa70 plat: px30-s: add get_wrlvl_val() fun after f1
	6896d8e94 plat: px30-s: calculate tDQS2DQ before set rate

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I53ddad68d0f1b1723743d8cb0bdebd6b543b3e81
2022-06-13 11:36:42 +08:00
XiaoDong Huang
93d3217691 px30: bl31: update version to v1.30
Build from ATF commit:
    5d208a630 plat: rockchip: scmi: not allowed rate = 0 to set rate
update feature:
    61f4560ba plat: px30: sleep: save/restore cru_mode if vdd_logic off

Change-Id: I30afefc7e1a486950a1a872f8e2f767b8b65835e
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2022-04-29 18:04:26 +08:00
XiaoDong Huang
623cc66726 px30: bl31: update version to v1.29
Build from ATF commit:
    7af4354ca plat: px30: sleep: disable timer before timer init
update feature:
    7af4354ca plat: px30: sleep: disable timer before timer init

Change-Id: I366175e29bf9b38e5980f0f57123f029eb93a07d
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2022-03-31 18:31:42 +08:00
Zhihuan He
8e0bf7cdb0 px30: bl31: update version to v1.28
Build from ATF commit:
	edf5c3fbb plat: px30-s:workaround LP3 can not open cs1 odt in wr train

Update feature:
	edf5c3fbb plat: px30-s:workaround LP3 can not open cs1 odt in wr train
	05922004b plat: px30-s: suspend: remove ddr_sr_fix_clk_phase() func
	c088d3cc9 plat: px30-s: dram: remove phy dfi low power set
	aa70ad066 plat: px30: don't init stimer1 if stimer1 is enabled
	2877a2c9e plat: px30: support vdd_log off in suspend

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I0436f3141234820fd31f959f122b1db1cd60d746
2022-03-23 09:06:01 +08:00
Hisping Lin
b197e641de px30: bl32: update version to v2.12
Build from OPTEE commit in develop-next branch:
    4167319d3 core: tee: recreate dirf.db if open dirf.db fail
Update features:
    4167319d3 core: tee: recreate dirf.db if open dirf.db fail
    b61fa300d scripts: commit_bin: intercept the first 8 characters for LAST_CM
    8e053a881 rockchip: remove duplicate definitions for toybrick seed
    91c4147e7 pta: crypto_service: change some return code to be accurate
    3167e3733  drivers: rockchip: hal_crypto: mask lockstep interrupt
    3f0f0b052 pta: support check oem otp key is written
    9af9076b0 rockchip: sys_ctrl: move sys ctrl code to common/ dir
    48b7c13e2 pta: uboot_storedata_otp: modify parameter check
    65daed964 pta: crypto_service: support oem otp key phys cipher
    7a0581630 scripts: commit_bin: support more platforms
    f5add58be core: TEE_GenerateKey support RSA key e = 3

Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
Change-Id: Icafc92b96494b0005a9663578b240b817c5a2bac
2022-03-17 09:15:47 +08:00
Zhihuan He
9940cf2a75 px30: bl31: update version to v1.27
Build from ATF commit:
	96550638e plat: px30-s: dram: phy io ctrl save and resume
Update feature:
	96550638e plat: px30-s: dram: phy io ctrl save and resume
	61fb26d65 plat: px30-s: dram: fix ck/ckb to low before deepsleep
	90c6c51f7 plat: rockchip: rk3588: Set gpll source clock div to 0
	c5157a42e plat: px30-s: Restore DDR PHY dfi low power function
	0de2c3db8 plat: px30: sleep: enter ddr sref by software
	16fda9dd6 plat: px30s: suspend: add ddr resume support
	91188bd6f plat: px30: suspend: support ddr resume

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I42b2ac01c74ad3f17a7e300fcb214993c82fe057
2022-03-03 15:58:34 +08:00
Wesley Yao
f1ddc05529 px30: bl31: update version to v1.26
Build from ATF commit:
	12a2070163 plat: px30-s: dram: Disable LPDDR4 CA(except CK CS) ODT of CS1
Update feature:
	12a2070163 plat: px30-s: dram: Disable LPDDR4 CA(except CK CS) ODT of CS1
	f968b05b21 plat: px30-s: dram: Fix value of LPDDR3/LPDDR2 MR3 in cal_ds_odt()

Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
Change-Id: I84f7b76cb95353691bb115d511f1ea3fb26da628
2022-01-21 17:51:51 +08:00
Liang Chen
bc46ca8047 px30: bl31: update version to v1.25
Build from ATF commit:
	    661655f41 plat: px30-s: Avoid DDR phy enter dfi low power
update feature:
	    661655f41 plat: px30-s: Avoid DDR phy enter dfi low power
	    35395b77a plat: px30-s: Get params of ssmod from dtsi to support dpll ssmod
	    898a221ec plat: px30s: Support LPDDR2
	    3f01db333 plat: px30-s: Prefetch DDR_STDBY_BASE and PMU_BASE before ddr freq change
	    bd02b56fd plat: px30s: ddr: fix tdqs2dq calculate err
	    942c5527a plat: px30s: ddr: set sr idle en/dis in ddr_set_auto_self_refresh()
	    6ff7126b5 plat: px30s: ddr: modify to timeout waiting dqs gate train done
	    0646dc72c plat: px30s: pmu: fix upctl save and recovery err
	    a1fd805fb plat: px30: pmu: disable ddr clk gate before suspend
	    d1670dca4 plat: px30s: ddr: modify dqs training default point
	    47fe4a754 plat: px30s: ddr: enable gate phy training logic clk
	    59ad9f9b0 plat: px30: sleep: use pmu_debug_sout function
	    898fdcd8a rockchip: only use plat_uart_base to initialize console
	    6e2576df1 plat: px30s: sleep: do pvtplls_suspend/pvtplls_resume

Change-Id: I9bcabb3ac709a63f78d0a24510296fa9d7aa9d9f
Signed-off-by: Liang Chen <cl@rock-chips.com>
2022-01-18 15:14:18 +08:00
Liang Chen
b7d838aacb px30: bl31: update version to v1.24
Build from ATF commit:
	75d200365 plat: px30s: add support fsp init and dfs
update feature:
	75d200365 plat: px30s: add support fsp init and dfs
	c558d0311 plat: px30: scmi: enable pvtpll clock for cpu/gpu
	318d40339 plat: px30: support sram reuse section
	c2e74efff rockchip: support sram_reuse section

Change-Id: I380ad04643acbcc570e23327a578ff993f3b27b9
Signed-off-by: Liang Chen <cl@rock-chips.com>
2021-12-24 11:02:36 +08:00
Hisping Lin
ca3f36fb94 px30: bl32: update version to v2.11
Build from optee commit in develop-next branch:
    f5add58b core: TEE_GenerateKey support RSA key e = 3

Update feature:
    add299d6 rk3326: otp compatible with rk3326s
    8f55d4bc rk3326: otp: separate external interface

Change-Id: Ib38071356b3b9059dc6918f58831050f5491ab31
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2021-12-23 14:53:41 +08:00
Hisping Lin
af8e37e3cb px30: bl32: update version to v2.10
Build from optee commit in develop-next branch:
    add299d6 rk3326: otp compatible with rk3326s

Update feature:
    8f55d4bc rk3326: otp: separate external interface

Change-Id: I3fbcad7d73f82db0cf250b6df2e19887b76a030d
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2021-12-20 09:19:15 +08:00
Hisping Lin
eea9fa3f87 px30: bl32: update version to v2.01
Build from optee commit in develop-next branch:
    50cc53fd pta: support R&W oem non-secure otp

Update feature:
    5c3afe9d pta: rk_os_service: modify message for illegal access
    78d37d71 core: rpmb: compatible with old RPMB keys
    7960156f rk3588: hamming weight support for security level

Change-Id: I6fa2bfd16d99c5908b90a7ae1c6be09ce5ddaf71
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2021-11-25 16:04:29 +08:00
Hisping Lin
e090a42ca7 px30: bl32: update version to v2.00
Build from optee commit in develop-next branch:
    7b4275734 rockchip: sip: add share mem page type define

Update feature:
    1. Update OP-TEE version to V3.13.0
    2. Add build user info in boot up log

Change-Id: I41948d0538306cdfd1165344f5a747474a2397bc
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2021-09-09 15:24:10 +08:00
Zhihuan He
eb41834c16 px30: bl31: update version to v1.23
Build from ATF commit:
	fa02fd2 plat: px30: dram: support os_reg v2
update feature:
	fa02fd2 plat: px30: dram: support os_reg v2
	bc8b237 plat: px30: dram: add dram dbg support
	727877c plat: rockchip: common: dram: add dram dbg support
	3804ade plat: px30: add monitor support

Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Change-Id: I723c34df5a7915fae162951411c1511ee39ca277
2021-07-16 15:40:34 +08:00
XiaoDong Huang
e4bbc56c03 px30: bl31: update version to v1.22
Build from ATF commit:
    3804ade4b
update feature:
    d1cc80aa8 plat: rockchip: common: fix the min tWR overflow
    6361591b0 plat: px30: remove dsmpd when pll setting

Change-Id: Ie30425efec1917d8c7a4ed81041dd0fda42cc287
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2021-04-26 15:36:17 +08:00
Hisping Lin
b3f5fd4558 px30: bl32: update version to v1.15
Build from optee commit in develop-next branch:
    82765277 rk3326 & rk3308: otp: fixed addr error in rk_otp_ns_buf_read

Update feature:
    60116db2 console_init: close serial only rely on t->u.serial.enable
    0b0a7989 drivers: rockchip: fix compile error on rk1808 and rk3308

Change-Id: Ia887c4578e052a6a22fa85fe24e39906559deff0
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-09-23 15:23:52 +08:00
XiaoDong Huang
c6300592a6 px30: bl31: update version to v1.21
Build from ATF commit:
    857e9c1b4 rockchip: fix err of parsing ddr_parameter
update feature:
    857e9c1b4 rockchip: fix err of parsing ddr_parameter
    81c0ffdd5 plat: px30: ddr: fix the error about DDR4 DLL

Change-Id: I96f4bdc5f0b783188922ef2063a3ba2cbcfce453
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-08-21 11:51:26 +08:00
XiaoDong Huang
98efecd20a px30: bl31: update version to v1.20
Build from ATF commit:
    d7103baf0 plat: px30: poweroff: delay 2ms before pull up pmic_sleep
update feature:
    d7103baf0 plat: px30: poweroff: delay 2ms before pull up pmic_sleep
    23e4d2483 rockchip: commit_elf.sh: select elf manually
    2041b46d8 BACKPORT: Prevent speculative execution past ERET
    11ca0aaa7 plat: px30: delete soc_bus_div_sip_handler function

Change-Id: Ie117cac5ebe8e1bf57e7077af4b2f6f689ef09f4
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-07-22 10:57:54 +08:00
XiaoDong Huang
d9cd06514e px30: bl31: update version to v1.19
Build from ATF commit:
    86096d535 plat: px30: don't open wdt_ns pclk
update feature:
    86096d535 plat: px30: don't open wdt_ns pclk
    af49f6714 UPSTREAM: runtime_exceptions: Save x4-x29 unconditionally
    2803a2c8a plat: px30: ddr: add support the LCD MCU mode
    6b9d033f6 plat: px30: ddr: fix get_dclk_rate_mhz
    7c114f10c plat: rockchip: common: fix the error about lpddr4 tccd
    0b93630e1 rockchip: sip: add weak attribute to sip_version_handler
    73ddb151c plat: rockchip: common: update LPDDR4 spec timing
    868b60217 plat: rockchip: common: update dram spec ODT timing
    50f2e2e33 plat: rockchip: fiq_dfs: add isb and dsb after tlbialle3
    7018b4108 rockchip: add a script to commit elf to rkbin

Change-Id: I87f4fab9c7851d7e95052107a600a58627bdebf7
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2020-05-22 10:42:25 +08:00
Hisping Lin
0a4eb91893 px30: bl32: update version to v1.14
Build from optee commit in develop-next branch:
    85f8d2dd static ta: add support write data from user ta

Update feature:
    fc24de3f Revert "plat-rockchip: drop align_malloc.c and align_malloc.h"
    e65714d1 core: lib: libtomcrypt: mpi_desc: add shift_right function
    4a49d838 core: ltc: rsa: fix bug on add algorithms below

Change-Id: I36b4074544adbbcffc4cbb9400716b6e0a73bcd8
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2020-03-13 10:35:32 +08:00
Joseph Chen
a8d7ec023c RKTRUST: ini: update bl31 address to 0x40000
Forgot to update it but it actually makes no effect since
trust_merger parses the reall address from elf header.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I4b4e87c9a684b9f02e30b7ec84859e6493a09b13
2019-12-26 15:38:54 +08:00
Hisping Lin
39d7a183c2 px30: bl32: update version to v1.13
Build from optee commit in develop-next branch:
    62404fcc scripts: optimize checkbuild.sh

Update feature:
    9a5e8974 scripts: add checkbuild.sh to build all platforms
    9ae3c85f scripts: refine build scripts
    991e5c92 drivers: crypto_v2: modify des/aes finish condition

Change-Id: I2eea6ebc65ec13f7c1a6e3bb6876a030d8013fdd
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-11-19 16:35:04 +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
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
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
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
Hisping Lin
ac915d04eb px30: bl32: update version to v1.11
Build from optee commit in develop-next branch:
        959fbc63 ree fs: do nothing when truncate if file size unchanged

Update feature:
        4ab0f33d static ta: return success if seed equal to read
        d8225c98 static ta: add write Seed and read cpu id interface
        bc2c6448 rk1808: support R&W public key hash in efuse

Change-Id: I52d102103f74f557d0bbf8b19c81075019422776
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-17 11:31:26 +08:00
XiaoDong Huang
583297aeea px30: bl31: update version to v1.15
Build from ATF commit:
    6e39e59 plat: px30: change some debug info
update feature:
    6e39e59 plat: px30: change some debug info
    cba4b12 rockchip: svc: add CONFIG_DRAM_POST_SET_RATE sip call
    b0cf3d1 rockchip: sram: add pmu_sram section defines
    526676a rockchip: i2c: add i2c driver to common directory
    c2b0155 plat: rockchip: move the function about dram spec timing to common
    e1048e0 rockchip: console: enable/disable depends on atags serial
    1f45fd9 rockchip: atags: compatible old preloader without atags support
    a211ba1 plat: px30: use plat_uart_xxx to init console
    ef42cbc plat: rockchip: support use preloader and kernel serial
    f2cbed3 console: add console_simple_init() to initial console base addr
    de92d92 plat: rockchip: add rk_atags support
    36d01de plat: rockchip: move DIV_ROUND_UP to plat_private.h for common use
    b275060 plat: px30: suspend: support pwm remotectl parse
    e52f4a9 rockchip: move pwm_remotectl driver to public directory
    43a2da1 rockchip: sip: allow SLT to access all memory region
    9c6fa6a plat: px30: dfs: add support trigger dfs by vop intr
    89a2d33 plat: px30: dfs: reduce the time of DCF wait dma finish
    fc8ed34 plat: px30: dfs: update dcf code to V1.02
    aebc56c plat: px30: dfs: set MSCH_DdrMode.MwrSize to zero
    d964b6b rockchip: ddr_parameter: fix param layout description error
    f9721cd plat: px30: dfs: compensate refresh for data_training
    7dbdf27 plat: px30: dfs: reduce the execute time of data_training
    dc2ca0e px30: pmu: fix compile error when not set DEBUG=1

Change-Id: I877b89a0fb142d9f1d063aca6ab4cb2dbc37590c
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-03-26 10:39:21 +08:00
Hisping Lin
05f18070b8 px30: bl32: update version to v1.10
build from:
        369430b2 rk_otp: add time out for key reader init

Update feature:
        456caed4 rk1808: update version to 1.1
        08bdb557 rk3308: update version to 1.1
        007cca0f rk3326: update version to 1.1
        28d602d7 user_ta: optee os 3.3 support run ta which compiled by 2.6
        bd638478 Revert "core: FS: storage: don't allow the object_id to reside in shared memory"
        b35d8dea Revert "core: fs_htree: include meta in root hash"
        842611b6 static ta: support store widevine keybox

Change-Id: I6aee947f62f07782960532bcc0d179679fffdfb5
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-12-05 15:47:56 +08:00
Hisping Lin
e0c3e5ecbd px30: bl32: update version to v1.07
build from:
	a152c641 static ta: support read data from user ta

Update feature:
        c6f29a87 ta verify: support new key to sign TA
        9b9d28dd rk_atags: support before mmu enable
	899d02e7 console_init: set printf uart from rk_atags

Change-Id: Ifde791e10ecc1e1fee3a708e249e0986bfd4232b
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-12-05 15:46:21 +08:00
XiaoDong Huang
7e344afba8 px30: bl31: update version to v1.14
Build from ATF commit:
    1b8f3f9 plat: px30: suspend: set rk817's RST_FUN to "restart the devices"
update feature:
    1b8f3f9 plat: px30: suspend: set rk817's RST_FUN to "restart the devices"
    6bc7391 plat: rk3399: dfs: fix get drv_odt_lp_cfg error
    a6e1028 plat: px30: dfs: ignore pad oe when enable clock for idle port

Change-Id: I595f584f8a04d423a7f4a7c0b747b451dfaf4703
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-07-06 15:27:12 +08:00
XiaoDong Huang
8282236c0e px30: bl31: update version to v1.13
Build from ATF commit:
    721eaee plat: px30: dfs: fix error of enable clock
update feature:
    721eaee plat: px30: dfs: fix error of enable clock

Change-Id: I8e074b7fcfe2730a79390afb377b3c1e476f2d73
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-06-28 14:52:05 +08:00
XiaoDong Huang
63baca6b5e px30: bl31: update version to v1.12
Build from ATF commit:
    beb0831 plat: px30: support cluster idle
update feature:
    beb0831 plat: px30: support cluster idle
    4654e39 plat: rockchip: support bl32/bl33 fixup by platform
    1e2e0a8 px30: enable CONFIG_PLAT_WARMBOOT_ADDR_NOT_ALIGN
    9f2cf03 rockchip: common: make warmboot address 64 align optional
    eff4387 plat: px30: dfs: close DDR standby during change DDR frequency
    a933e5a plat: px30: ddr: fix ddr4 tCCD_L set error
    2e3014a plat: px30: dfs: add ddr_update_lowpower
    65aa5ce rockchip: fix bugs of disable uart fiq

Change-Id: Iba22bbe055cb3f50f4a43af8048bca4311919424
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-06-01 10:17:33 +08:00
XiaoDong Huang
ae7f7f0a5e px30: bl31: update version to v1.11
Build from ATF commit:
    5f31f71 plat: px30: disable resetting output pin even reboot cmd.
update feature:
    5f31f71 plat: px30: disable resetting output pin even reboot cmd.
    43c09a4 plat: px30: dfs: add support lpddr2

Change-Id: Ia052605e109b284d5908b378737ec7c569d99e55
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-05-09 16:51:01 +08:00
XiaoDong Huang
1ec4b95e66 px30: bl31: update version to v1.10
Build from ATF commit:
    4b75948 plat: px30: support soc_bus sip.
update feature:
    4b75948 plat: px30: support soc_bus sip.
    824db84 rockchip: disable uart fiq when cpu/systerm resume
    1d4b214 Revert "plat: px30: add cluster idle support

Change-Id: Ied43a2fd12ed35327f9220a37f9e18c388720da3
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-05-04 15:47:52 +08:00
XiaoDong Huang
c2c6c5fa1d px30: bl31: update version to v1.09
Build from ATF commit:
    4f8f7c9 plat: px30: suspend: save/restore i2c_con register
update feature:
    4f8f7c9 plat: px30: suspend: save/restore i2c_con register

Change-Id: I16fa2cd53780d5c0b80c79a02dcaab4d73983554
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-04-28 15:25:42 +08:00
XiaoDong Huang
7ff077f8bd px30: bl31: update version to v1.08
Build from ATF commit:
    bf05006 plat: px30: suspend: fix judgement err of gic resume
update feature:
    bf05006 plat: px30: suspend: fix judgement err of gic resume
    bfeba24 plat: px30: use CPU for ddr scale frequency
    25a0f1b plat: px30: add fiq func for stimer0.
    ac2470d plat: px30: disable resetting output pin.
    69d9b56 bl31: execute bl32_init() dynamically

Change-Id: Iaaf6de5ff84f688fc4e95fdeb38cdf1e70eabb4d
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-04-25 09:43:23 +08:00
Joseph Chen
514d8d9a2b px30: bl31: update version to v1.07
Build from ATF commit:
	6166a3 plat: px30: config soc reset.
update feature:
	b6166a3 plat: px30: config soc reset.
	0935bda plat: px30: dram: update dcf code file to V1.01

Change-Id: I5e47bda9049fe29c2fcf717765d2aa4bfbc46c15
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-04-04 17:31:01 +08:00
Hisping Lin
46080b31de px30: bl32: update version to v1.06
build from optee commit:
	59ae57  rk3326: crypto optimizes the code style

update features:
	5d06a5  rk3326: crypto fixed bug on gcm mode
	6d0e61  plat-rockchip: refine platform init sequence
	5fca8d  rk3326: crypto add sha512-224,sha512-256 and hmac-md5
	8298df  fast_smc: add a new interface for otp operation
	3adf65  libtomcrypt: modify return code when do ecc verify

Change-Id: Ica5eedc4a857f0ccb43aecb7a2531e8a394d197b
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-04-03 10:56:26 +08:00
XiaoDong Huang
0967d4469b px30: bl31: update version to v1.06
Build from ATF commit:
    fe48ef3 plat: px30: add cluster idle support
update feature:
    fe48ef3 plat: px30: add cluster idle support
    101cf8d plat: px30: suspend: adjust debug information
    0a6c2d9 plat: px30: suspend: fix bugs of pmu counter setting
    a64f8f9 plat: px30: fix bugs of SLP_PLLS_DEEP option
    dff96ee plat: px30: suspend: adjust clk ungate msk
    eecf003 plat: px30: suspend: don't config pmu_peri_clk_src_gt\pmu_bus_clk_src_gt

Change-Id: Ied1c7263f49bbbcf642c1e866adbae3a86b95244
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2018-03-22 19:16:45 +08:00