diff mbox series

[v4,2/2] arm: actions: remove "CONFIG_SYS_SDRAM_SIZE" for Actions Owl Semi SoCs

Message ID 1589012108-11064-3-git-send-email-amittomer25@gmail.com
State Accepted
Commit 0a7ba7c53c19d24f8de76082ba567a1eb2a04f96
Delegated to: Tom Rini
Headers show
Series Calculate SDRAM size for Actions OWL SoCs | expand

Commit Message

Amit Tomer May 9, 2020, 8:15 a.m. UTC
Now that, we calculate SDRAM size by reading DDR registers,
"CONFIG_SYS_SDRAM_SIZE" is no more needed.

This commit removes "CONFIG_SYS_SDRAM_SIZE" from common configuration
file.

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
---
* No change since previous version.
---
 include/configs/owl-common.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Manivannan Sadhasivam May 9, 2020, 10:12 a.m. UTC | #1
On Sat, May 09, 2020 at 01:45:08PM +0530, Amit Singh Tomar wrote:
> Now that, we calculate SDRAM size by reading DDR registers,
> "CONFIG_SYS_SDRAM_SIZE" is no more needed.
> 
> This commit removes "CONFIG_SYS_SDRAM_SIZE" from common configuration
> file.
> 
> Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Thanks,
Mani

> ---
> * No change since previous version.
> ---
>  include/configs/owl-common.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/configs/owl-common.h b/include/configs/owl-common.h
> index f77a5fa4c114..7634578f856d 100644
> --- a/include/configs/owl-common.h
> +++ b/include/configs/owl-common.h
> @@ -12,7 +12,6 @@
>  
>  /* SDRAM Definitions */
>  #define CONFIG_SYS_SDRAM_BASE		0x0
> -#define CONFIG_SYS_SDRAM_SIZE		0x80000000
>  
>  /* Generic Timer Definitions */
>  #define COUNTER_FREQUENCY		(24000000)	/* 24MHz */
> -- 
> 2.7.4
>
Tom Rini July 8, 2020, 3:02 a.m. UTC | #2
On Sat, May 09, 2020 at 01:45:08PM +0530, Amit Singh Tomar wrote:

> Now that, we calculate SDRAM size by reading DDR registers,
> "CONFIG_SYS_SDRAM_SIZE" is no more needed.
> 
> This commit removes "CONFIG_SYS_SDRAM_SIZE" from common configuration
> file.
> 
> Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/configs/owl-common.h b/include/configs/owl-common.h
index f77a5fa4c114..7634578f856d 100644
--- a/include/configs/owl-common.h
+++ b/include/configs/owl-common.h
@@ -12,7 +12,6 @@ 
 
 /* SDRAM Definitions */
 #define CONFIG_SYS_SDRAM_BASE		0x0
-#define CONFIG_SYS_SDRAM_SIZE		0x80000000
 
 /* Generic Timer Definitions */
 #define COUNTER_FREQUENCY		(24000000)	/* 24MHz */