[PATCH RFC v2 20/23] rockchip: RV1126: Read the reset cause from clock reset unit for RV1126 SoC

Anand Moon linux.amoon at gmail.com
Sat Jun 1 07:25:14 CEST 2024


Hi Dragan,

On Sat, 1 Jun 2024 at 03:23, Dragan Simic <dsimic at manjaro.org> wrote:
>
> Hello Anand,
>
> On 2024-05-31 16:18, Anand Moon wrote:
> > From: Anand Moon <anand at edgeble.ai>
> >
> > Read the reset cause from clock reset unit for RV1126 SoC.
> >
> > Cc: Jagan Teki <jagan at edgeble.ai>
> > Signed-off-by: Anand Moon <anand at edgeble.ai>
> > Signed-off-by: Anand Moon <linux.amoon at gmail.com>
> > ---
> >  arch/arm/include/asm/arch-rockchip/cru.h | 2 ++
> >  arch/arm/mach-rockchip/cpu-info.c        | 2 ++
> >  2 files changed, 4 insertions(+)
> >
> > diff --git a/arch/arm/include/asm/arch-rockchip/cru.h
> > b/arch/arm/include/asm/arch-rockchip/cru.h
> > index e886adf515..e1a8d8adad 100644
> > --- a/arch/arm/include/asm/arch-rockchip/cru.h
> > +++ b/arch/arm/include/asm/arch-rockchip/cru.h
> > @@ -29,6 +29,8 @@
> >  #include <asm/arch-rockchip/cru_rk3368.h>
>
> Although not related to this patch directly, a single space character
> should be added between "#" and "include", for consistency.
>
Not sure of this.
> >  #elif defined(CONFIG_ROCKCHIP_RV1108)
> >  #include <asm/arch-rockchip/cru_rv1108.h>
>
> The same comment as above.
>
> > +#elif defined(CONFIG_ROCKCHIP_RV1126)
> > +#include <asm/arch-rockchip/cru_rv1126.h>
>
> The same comment as above, but this time related to this patch.
>
> >  #endif

Let me check this again if needed. I will update in the next version.

Thanks
-Anand


More information about the U-Boot mailing list