diff options
| author | Caleb Connolly <[email protected]> | 2024-07-15 12:08:05 +0200 |
|---|---|---|
| committer | Caleb Connolly <[email protected]> | 2024-07-26 01:28:10 +0200 |
| commit | 1a2df137aad97d0021ccbf4be5497414159babbd (patch) | |
| tree | d161439117561501ad1fe57beb6f0661d228d32e /include/soc | |
| parent | bb991ab7a9bb0d070728fd5c9876f84cbe8bd325 (diff) | |
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 <[email protected]>
Signed-off-by: Caleb Connolly <[email protected]>
Diffstat (limited to 'include/soc')
| -rw-r--r-- | include/soc/qcom/cmd-db.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/soc/qcom/cmd-db.h b/include/soc/qcom/cmd-db.h index 753c7923f8e..1190f2c22ca 100644 --- a/include/soc/qcom/cmd-db.h +++ b/include/soc/qcom/cmd-db.h @@ -22,12 +22,9 @@ enum cmd_db_hw_type { #if IS_ENABLED(CONFIG_QCOM_COMMAND_DB) u32 cmd_db_read_addr(const char *resource_id); -int cmd_db_ready(void); #else static inline u32 cmd_db_read_addr(const char *resource_id) { return 0; } -static inline int cmd_db_ready(void) -{ return -ENODEV; } #endif /* CONFIG_QCOM_COMMAND_DB */ #endif /* __QCOM_COMMAND_DB_H__ */ |
