From 9c5df7a2a9f72ee397a67c2f19476566a35d7c18 Mon Sep 17 00:00:00 2001 From: Mario Six Date: Mon, 21 Jan 2019 09:17:58 +0100 Subject: mpc83xx: Migrate LBLAW_* to Kconfig The LBLAW_* values determine the window configuration of the memory controller. Hence, they must be known at compile time, and cannot be implemented in the DT mechanism. Configuration of this crucial variable should still be somewhat comfortable. Hence, make its fields configurable in Kconfig, and assemble the final value from these. Signed-off-by: Mario Six --- include/configs/sbc8349.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/configs/sbc8349.h') diff --git a/include/configs/sbc8349.h b/include/configs/sbc8349.h index 8179147bc2..edf76e5851 100644 --- a/include/configs/sbc8349.h +++ b/include/configs/sbc8349.h @@ -114,10 +114,6 @@ | OR_GPCM_EAD) /* 0xFF806FF7 */ - /* window base at flash base */ -#define CONFIG_SYS_LBLAWBAR0_PRELIM CONFIG_SYS_FLASH_BASE -#define CONFIG_SYS_LBLAWAR0_PRELIM (LBLAWAR_EN | LBLAWAR_8MB) - #define CONFIG_SYS_MAX_FLASH_BANKS 1 /* number of banks */ #define CONFIG_SYS_MAX_FLASH_SECT 64 /* sectors per device */ @@ -180,9 +176,6 @@ | BR_MS_SDRAM \ | BR_V) /* 0xF0001861 */ -#define CONFIG_SYS_LBLAWBAR2_PRELIM CONFIG_SYS_LBC_SDRAM_BASE -#define CONFIG_SYS_LBLAWAR2_PRELIM (LBLAWAR_EN | LBLAWAR_64MB) - /* * The SDRAM size in MB, CONFIG_SYS_LBC_SDRAM_SIZE, is 64. * -- cgit v1.2.3