[PATCH v5 05/23] soc: qcom: cmd-db: replace cmd_db_ready() with cmd_db_init()

Simon Glass sjg at chromium.org
Sat Jul 13 17:13:42 CEST 2024


Hi Caleb,

On Thu, 11 Jul 2024 at 17:47, Caleb Connolly <caleb.connolly at linaro.org> wrote:
>
> Using the driver model for cmd-db is fine, but it's unnecessary
> complexity which we can just avoid in U-Boot. Instead let's just have a
> function to initialize it and call said function when initializing rpmh.
>
> Acked-by: Sumit Garg <sumit.garg at linaro.org>
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
> ---
>  drivers/soc/qcom/cmd-db.c | 74 ++++++++++++++---------------------------------
>  include/soc/qcom/cmd-db.h |  4 +--
>  2 files changed, 24 insertions(+), 54 deletions(-)

We should use driver model for drivers.

Regards,
Simon


More information about the U-Boot mailing list