[PATCH v2 2/2] i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree

Heiko Schocher hs at denx.de
Mon Feb 13 09:56:08 CET 2023


Hello Pei,

On 13.02.23 09:02, Pei Yue Ho wrote:
> Enable driver to fetch the optional parameter (fifo-depth) from device
> tree. If the parameter is not found in the device tree, it will use
> the default value declared in the driver.
> 
> Signed-off-by: Pei Yue Ho <peiyue.ho at starfivetech.com>
> Reviewed-by: Wei Liang Lim <weiliang.lim at starfivetech.com>
> Reviewed-by: Eng Lee Teh <englee.teh at starfivetech.com>
> ---
>  drivers/i2c/i2c-cdns.c | 30 ++++++++++++++++++------------
>  1 file changed, 18 insertions(+), 12 deletions(-)

Thanks for fixing the build error!

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list