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

Integrate cmd-db into the U-Boot driver model.

This is just a wrapper around an in-memory database, so we just need to
get the address and validate that cmd-db is there.

Since cmd_db_header will be stored in the .data section we can skip
bind if it's already set.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/soc/qcom/cmd-db.c
include/soc/qcom/cmd-db.h