Re: [PATCH v3 2/3] soc: qcom: ubwc: Get HBB from SMEM
From: Dmitry Baryshkov
Date: Thu Jan 08 2026 - 09:52:31 EST
On Thu, Jan 08, 2026 at 03:21:51PM +0100, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
>
> To make sure the correct settings for a given DRAM configuration get
> applied, attempt to retrieve that data from SMEM (which happens to be
> what the BSP kernel does, albeit with through convoluted means of the
> bootloader altering the DT with this data).
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
>
> ---
> I'm not sure about this approach - perhaps a global variable storing
> the selected config, which would then be non-const would be better?
I'd prefer if const data was const, split HBB to a separate API.
--
With best wishes
Dmitry