[PATCH 1/2] lmb: Fix lmb property's defination under struct lmb

Michal Simek monstr at monstr.eu
Mon Feb 7 13:31:22 CET 2022


po 7. 2. 2022 v 10:40 odesílatel Michal Simek <monstr at monstr.eu> napsal:
>
> pá 14. 1. 2022 v 13:14 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
> >
> > From: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
> >
> > Under struct lmb {} the lmb property's should be defined only if
> > CONFIG_LMB_MEMORY_REGIONS is defined.
> >
> > Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
> > Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> > ---
> >
> >  include/lmb.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/include/lmb.h b/include/lmb.h
> > index ab277ca80004..1476d78c2823 100644
> > --- a/include/lmb.h
> > +++ b/include/lmb.h
> > @@ -68,7 +68,7 @@ struct lmb_region {
> >  struct lmb {
> >         struct lmb_region memory;
> >         struct lmb_region reserved;
> > -#if !IS_ENABLED(CONFIG_LMB_USE_MAX_REGIONS)
> > +#if IS_ENABLED(CONFIG_LMB_MEMORY_REGIONS)
> >         struct lmb_property memory_regions[CONFIG_LMB_MEMORY_REGIONS];
> >         struct lmb_property reserved_regions[CONFIG_LMB_RESERVED_REGIONS];
> >  #endif
> > --
> > 2.34.1
> >
>
> applied.
> M

ci loop found an issue that's why I have sent v2 and remove these
patches from my queue.

M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list