All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] lmb: Add config for the number of memory and reserved regions
@ 2021-02-02 12:59 Patrick Delaunay
  2021-02-02 12:59 ` [PATCH 1/5] lmb: move CONFIG_LMB in Kconfig Patrick Delaunay
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Patrick Delaunay @ 2021-02-02 12:59 UTC (permalink / raw)
  To: u-boot


Hi,

I propose a update of the lmb library to allow the configuration
with Kconfig of the number of memory and reserved regions in lmb
libary:
- CONFIG_LMB_RESERVED_REGIONS
- CONFIG_LMB_MEMORY_REGIONS

By default, I keep the default value of 8 regions.

This serie avoids issue on stm32mp15 platform,
as the kernel device tree defines many and non contiguous reserved
regions.



Patrick Delaunay (5):
  lmb: move CONFIG_LMB in Kconfig
  lmb: remove lmb_region.size
  lmb: Move lmb property arrays in struct lmb
  lmb: Add 2 config to define the max number of regions
  configs: stm32mp15: increase the number of reserved memory region in
    lmb

 arch/arc/include/asm/config.h        |  2 --
 arch/arm/include/asm/config.h        |  1 -
 arch/m68k/include/asm/config.h       |  1 -
 arch/microblaze/include/asm/config.h |  2 --
 arch/mips/include/asm/config.h       |  1 -
 arch/nds32/include/asm/config.h      |  1 -
 arch/powerpc/include/asm/config.h    |  1 -
 arch/riscv/include/asm/config.h      |  1 -
 arch/sh/include/asm/config.h         |  2 --
 arch/x86/include/asm/config.h        |  1 -
 arch/xtensa/include/asm/config.h     |  2 --
 configs/stm32mp15_basic_defconfig    |  1 +
 configs/stm32mp15_trusted_defconfig  |  1 +
 include/configs/10m50_devboard.h     |  5 ----
 include/configs/3c120_devboard.h     |  5 ----
 include/configs/sandbox.h            |  2 --
 include/configs/x86-common.h         |  2 --
 include/image.h                      |  2 +-
 include/lmb.h                        | 34 ++++++++++++++++++++++++----
 lib/Kconfig                          | 23 +++++++++++++++++++
 lib/lmb.c                            | 14 ++++++------
 scripts/config_whitelist.txt         |  1 -
 22 files changed, 63 insertions(+), 42 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-03-03  9:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 12:59 [PATCH 0/5] lmb: Add config for the number of memory and reserved regions Patrick Delaunay
2021-02-02 12:59 ` [PATCH 1/5] lmb: move CONFIG_LMB in Kconfig Patrick Delaunay
2021-02-02 12:59 ` [PATCH 2/5] lmb: remove lmb_region.size Patrick Delaunay
2021-02-02 12:59 ` [PATCH 3/5] lmb: Move lmb property arrays in struct lmb Patrick Delaunay
2021-02-02 12:59 ` [PATCH 4/5] lmb: Add 2 config to define the max number of regions Patrick Delaunay
2021-02-02 12:59 ` [PATCH 5/5] configs: stm32mp15: increase the number of reserved memory region in lmb Patrick Delaunay
2021-03-02 20:50 ` [PATCH 0/5] lmb: Add config for the number of memory and reserved regions Tom Rini
2021-03-03  9:57   ` Patrick DELAUNAY

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.