All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 01/17] Kconfig: Introduce CONFIG_SYS_HAS_SRAM
@ 2020-07-20 14:13 Ovidiu Panait
  2020-07-20 14:13 ` [PATCH v3 02/17] Kconfig: Convert CONFIG_SYS_SRAM_BASE to Kconfig Ovidiu Panait
                   ` (15 more replies)
  0 siblings, 16 replies; 29+ messages in thread
From: Ovidiu Panait @ 2020-07-20 14:13 UTC (permalink / raw)
  To: u-boot

In order to be able to replace "#ifdef CONFIG_SYS_SRAM_BASE" sequences
with the IS_ENABLED() equivalent, introduce a new boolean Kconfig option
that signals whether the platform has SRAM support.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
---

 Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Kconfig b/Kconfig
index 566ca72c92..934c020a2f 100644
--- a/Kconfig
+++ b/Kconfig
@@ -350,6 +350,17 @@ config PLATFORM_ELFENTRY
 	default "__start" if MIPS
 	default "_start"
 
+config SYS_HAS_SRAM
+	bool
+	default y if TARGET_PIC32MZDASK
+	default y if TARGET_DEVKIT8000
+	default y if TARGET_TRICORDER
+	default n
+	help
+	  Enable this to allow support for the on board SRAM.
+	  SRAM base address is controlled by CONFIG_SYS_SRAM_BASE.
+	  SRAM size is controlled by CONFIG_SYS_SRAM_SIZE.
+
 endmenu		# General setup
 
 menu "Boot images"
-- 
2.17.1

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

end of thread, other threads:[~2020-07-29  6:41 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-20 14:13 [PATCH v3 01/17] Kconfig: Introduce CONFIG_SYS_HAS_SRAM Ovidiu Panait
2020-07-20 14:13 ` [PATCH v3 02/17] Kconfig: Convert CONFIG_SYS_SRAM_BASE to Kconfig Ovidiu Panait
2020-07-20 14:13 ` [PATCH v3 03/17] Kconfig: Convert CONFIG_SYS_SRAM_SIZE " Ovidiu Panait
2020-07-20 14:13 ` [PATCH v3 04/17] Kconfig: Remove CONFIG_SYS_SRAM_START Ovidiu Panait
2020-07-20 14:13 ` [PATCH v3 05/17] cmd: bdinfo: Move sram info prints to generic code Ovidiu Panait
2020-07-21 14:17   ` Simon Glass
2020-07-20 14:13 ` [PATCH v3 06/17] board_f: Introduce setup_bdinfo initcall Ovidiu Panait
2020-07-21 14:17   ` Simon Glass
2020-07-20 14:13 ` [PATCH v3 07/17] board_f: Introduce arch_setup_bdinfo initcall Ovidiu Panait
2020-07-20 14:13 ` [PATCH v3 08/17] board_f: Introduce board_setup_bdinfo_mem initcall Ovidiu Panait
2020-07-21  7:05   ` Alexey Brodkin
2020-07-23  8:17     ` Ovidiu Panait
2020-07-21 14:07   ` Simon Glass
2020-07-20 14:13 ` [PATCH v3 09/17] board_f: Move sram bdinfo assignments to generic code Ovidiu Panait
2020-07-21 14:17   ` Simon Glass
2020-07-20 14:14 ` [PATCH v3 10/17] board_f: m68k: Factor out m68k-specific bdinfo setup Ovidiu Panait
2020-07-21 14:17   ` Simon Glass
2020-07-20 14:14 ` [PATCH v3 11/17] board_f: ppc: Factor out ppc-specific " Ovidiu Panait
2020-07-21 14:17   ` Simon Glass
2020-07-21 16:42     ` Ovidiu Panait
2020-07-28 18:58       ` Simon Glass
2020-07-29  6:41         ` Ovidiu Panait
2020-07-20 14:14 ` [PATCH v3 12/17] board_f: Remove setup_board_part1 Ovidiu Panait
2020-07-21 14:17   ` Simon Glass
2020-07-20 14:14 ` [PATCH v3 13/17] dm: blk: Use IS_ENABLED() instead of #ifdefs in blk_post_probe Ovidiu Panait
2020-07-20 14:14 ` [PATCH v3 14/17] drivers: serial: Make serial_initialize return int Ovidiu Panait
2020-07-20 14:14 ` [PATCH v3 15/17] common/board_r: Remove initr_serial wrapper Ovidiu Panait
2020-07-20 14:14 ` [PATCH v3 16/17] blkcache: Extend blkcache_init to cover CONFIG_NEEDS_MANUAL_RELOC Ovidiu Panait
2020-07-20 14:14 ` [PATCH v3 17/17] common/board_r: Move blkcache_init call earlier in the boot sequence Ovidiu Panait

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.