]> git.dujemihanovic.xyz Git - u-boot.git/commit
soc: qcom: cmd-db: adjust for U-Boot API
authorCaleb Connolly <caleb.connolly@linaro.org>
Mon, 15 Jul 2024 10:08:06 +0000 (12:08 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Thu, 25 Jul 2024 23:28:10 +0000 (01:28 +0200)
commitfb0fd32a4d0337dc107cea52247029ed5cc6a4c2
treefd372c21fdf7a366963b7a87af4f3e185b798f82
parent1a2df137aad97d0021ccbf4be5497414159babbd
soc: qcom: cmd-db: adjust for U-Boot API

Keep the header pointer in the .data section so we don't initialize it
again after relocation, adjust cmd_db_get_header() to work with the
U-Boot API, and skip validating the header since all cmd-db users are
children of the rpmh-rsc and those children will only probe if cmd-db
initializes successfully.

Acked-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/soc/qcom/cmd-db.c