public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v4 01/17] Kconfig: Introduce CONFIG_SYS_HAS_SRAM
@ 2020-07-24 11:12 Ovidiu Panait
  2020-07-24 11:12 ` [PATCH v4 02/17] Kconfig: Convert CONFIG_SYS_SRAM_BASE to Kconfig Ovidiu Panait
                   ` (16 more replies)
  0 siblings, 17 replies; 38+ messages in thread
From: Ovidiu Panait @ 2020-07-24 11:12 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] 38+ messages in thread

end of thread, other threads:[~2020-08-14  1:54 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-24 11:12 [PATCH v4 01/17] Kconfig: Introduce CONFIG_SYS_HAS_SRAM Ovidiu Panait
2020-07-24 11:12 ` [PATCH v4 02/17] Kconfig: Convert CONFIG_SYS_SRAM_BASE to Kconfig Ovidiu Panait
2020-08-07  2:14   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 03/17] Kconfig: Convert CONFIG_SYS_SRAM_SIZE " Ovidiu Panait
2020-08-07  2:14   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 04/17] Kconfig: Remove CONFIG_SYS_SRAM_START Ovidiu Panait
2020-08-07  2:14   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 05/17] cmd: bdinfo: Move sram info prints to generic code Ovidiu Panait
2020-08-07  2:15   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 06/17] board_f: Introduce setup_bdinfo initcall Ovidiu Panait
2020-08-07  2:15   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 07/17] board_f: Introduce arch_setup_bdinfo initcall Ovidiu Panait
2020-08-07  2:15   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 08/17] board_f: Factor out bdinfo bi_mem{start, size} to setup_bdinfo Ovidiu Panait
2020-07-24 12:14   ` Alexey Brodkin
2020-08-04  2:00   ` Simon Glass
2020-08-07  2:15   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 09/17] board_f: Move sram bdinfo assignments to generic code Ovidiu Panait
2020-08-07  2:15   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 10/17] board_f: m68k: Factor out m68k-specific bdinfo setup Ovidiu Panait
2020-08-07  2:15   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 11/17] board_f: ppc: Factor out ppc-specific " Ovidiu Panait
2020-08-07  2:15   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 12/17] board_f: Remove setup_board_part1 Ovidiu Panait
2020-08-07  2:15   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 13/17] dm: blk: Use IS_ENABLED() instead of #ifdefs in blk_post_probe Ovidiu Panait
2020-08-07  2:15   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 14/17] drivers: serial: Make serial_initialize return int Ovidiu Panait
2020-08-07  2:15   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 15/17] common/board_r: Remove initr_serial wrapper Ovidiu Panait
2020-08-07  2:16   ` Tom Rini
2020-08-14  1:50   ` Sean Anderson
2020-08-14  1:54     ` Sean Anderson
2020-07-24 11:12 ` [PATCH v4 16/17] blkcache: Extend blkcache_init to cover CONFIG_NEEDS_MANUAL_RELOC Ovidiu Panait
2020-08-07  2:16   ` Tom Rini
2020-07-24 11:12 ` [PATCH v4 17/17] common/board_r: Move blkcache_init call earlier in the boot sequence Ovidiu Panait
2020-08-07  2:16   ` Tom Rini
2020-08-07  2:14 ` [PATCH v4 01/17] Kconfig: Introduce CONFIG_SYS_HAS_SRAM Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox