Re: [U-Boot] [PATCH 1/2] include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled

2017-04-18 Thread Jean-Jacques Hiblot



On 16/04/2017 21:33, Simon Glass wrote:

Hi,

On 14 April 2017 at 11:50, Jean-Jacques Hiblot  wrote:

Signed-off-by: Jean-Jacques Hiblot 
---
  include/configs/am335x_evm.h | 1 +
  include/configs/am335x_shc.h | 1 +
  include/configs/chiliboard.h | 1 +
  3 files changed, 3 insertions(+)

Reviewed-by: Simon Glass 

This seems unfortunate. Is there not enough space in SPL?*
I guess it would work. It adds about 11kB to the MLO. I'll do the test 
on a am335x evm but won't be able to test on the other two platforms.




___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH 1/2] include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled

2017-04-16 Thread Simon Glass
Hi,

On 14 April 2017 at 11:50, Jean-Jacques Hiblot  wrote:
> Signed-off-by: Jean-Jacques Hiblot 
> ---
>  include/configs/am335x_evm.h | 1 +
>  include/configs/am335x_shc.h | 1 +
>  include/configs/chiliboard.h | 1 +
>  3 files changed, 3 insertions(+)

Reviewed-by: Simon Glass 

This seems unfortunate. Is there not enough space in SPL?
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 1/2] include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled

2017-04-14 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot 
---
 include/configs/am335x_evm.h | 1 +
 include/configs/am335x_shc.h | 1 +
 include/configs/chiliboard.h | 1 +
 3 files changed, 3 insertions(+)

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 2712687..d7787a1 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -284,6 +284,7 @@
  */
 #ifdef CONFIG_SPL_BUILD
 #undef CONFIG_DM_MMC
+#undef CONFIG_DM_MMC_OPS
 #undef CONFIG_TIMER
 #undef CONFIG_DM_USB
 #endif
diff --git a/include/configs/am335x_shc.h b/include/configs/am335x_shc.h
index c100fbc..2f35a2c 100644
--- a/include/configs/am335x_shc.h
+++ b/include/configs/am335x_shc.h
@@ -262,6 +262,7 @@
  */
 #ifdef CONFIG_SPL_BUILD
 #undef CONFIG_DM_MMC
+#undef CONFIG_DM_MMC_OPS
 #undef CONFIG_TIMER
 #endif
 
diff --git a/include/configs/chiliboard.h b/include/configs/chiliboard.h
index c1669fa..0577c57 100644
--- a/include/configs/chiliboard.h
+++ b/include/configs/chiliboard.h
@@ -188,6 +188,7 @@
  */
 #ifdef CONFIG_SPL_BUILD
 #undef CONFIG_DM_MMC
+#undef CONFIG_DM_MMC_OPS
 #undef CONFIG_TIMER
 #undef CONFIG_DM_USB
 #endif
-- 
1.9.1

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot