ARM: SAMSUNG: support sdhci controller
PATCH v5 4/4 ARM: SAMSUNG: support sdhci controller
To support sdhci controller, remove the CONFIG_S5P_MMC.. Instead, use the CONFIG_S5P_SDHCI/CONFIG_SDHCI.
--- include/configs/origen.h | 3 ++- include/configs/s5p_goni.h | 3 ++- include/configs/s5pc210_universal.h | 3 ++- include/configs/smdk5250.h | 3 ++- include/configs/smdkv310.h | 3 ++- include/configs/trats.h | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-)
include/configs/origen.h +2 -1
@@ -71,7 +71,8 @@/* SD/MMC configuration */ #define CONFIG_GENERIC_MMC 1#define CONFIG_MMC 1 -#define CONFIG_S5P_MMC 1 +#define CONFIG_SDHCI 1 +#define CONFIG_S5P_SDHCI 1/* PWM */ #define CONFIG_PWM 1
include/configs/s5p_goni.h +2 -1
@@ -65,7 +65,8 @@/* MMC */ #define CONFIG_GENERIC_MMC 1#define CONFIG_MMC 1 -#define CONFIG_S5P_MMC 1 +#define CONFIG_SDHCI 1 +#define CONFIG_S5P_SDHCI 1/* PWM */ #define CONFIG_PWM 1
include/configs/s5pc210_universal.h +2 -1
@@ -68,7 +68,8 @@/* MMC */ #define CONFIG_GENERIC_MMC 1#define CONFIG_MMC 1 -#define CONFIG_S5P_MMC 1 +#define CONFIG_SDHCI 1 +#define CONFIG_S5P_SDHCI 1/* PWM */ #define CONFIG_PWM 1
include/configs/smdk5250.h +2 -1
@@ -78,7 +78,8 @@/* SD/MMC configuration */ #define CONFIG_GENERIC_MMC #define CONFIG_MMC -#define CONFIG_S5P_MMC +#define CONFIG_SDHCI +#define CONFIG_S5P_SDHCI #define CONFIG_BOARD_EARLY_INIT_F
include/configs/smdkv310.h +2 -1
@@ -70,7 +70,8 @@/* SD/MMC configuration */ #define CONFIG_GENERIC_MMC 1#define CONFIG_MMC 1 -#define CONFIG_S5P_MMC 1 +#define CONFIG_SDHCI 1 +#define CONFIG_S5P_SDHCI 1/* PWM */ #define CONFIG_PWM 1
include/configs/trats.h +2 -1
@@ -74,7 +74,8 @@/* MMC */ #define CONFIG_GENERIC_MMC #define CONFIG_MMC -#define CONFIG_S5P_MMC +#define CONFIG_S5P_SDHCI +#define CONFIG_SDHCI /* PWM */ #define CONFIG_PWM
PATCH v5 4/4 ARM: SAMSUNG: support sdhci controller
Quoted 6 lines · Jaehoon Chung
To support sdhci controller, remove the
CONFIG_S5P_MMC.. Instead, use the CONFIG_S5P_SDHCI/CONFIG_SDHCI.Signed-off-by Jaehoon Chung <[email protected]>Signed-off-by Kyungmin Park <[email protected]>Acked-by Lei Wen<[email protected]>
Quoted 9 lines
---
?include/configs/origen.h ? ? ? ? ? ?| ? ?3 ++- ?include/configs/s5p_goni.h ? ? ? ? ?| ? ?3 ++- ?include/configs/s5pc210_universal.h | ? ?3 ++- ?include/configs/smdk5250.h ? ? ? ? ?| ? ?3 ++- ?include/configs/smdkv310.h ? ? ? ? ?| ? ?3 ++- ?include/configs/trats.h ? ? ? ? ? ? | ? ?3 ++-?6 files changed, 12 insertions(+), 6 deletions(-)
Signature · 2 lines
from. prom. www.promsoft.net
PATCH v5 4/4 ARM: SAMSUNG: support sdhci controller
In reply to Jaehoon ChungHi Jaehoon,
Quoted 65 lines · Jaehoon Chung
To support sdhci controller, remove the
CONFIG_S5P_MMC.. Instead, use the CONFIG_S5P_SDHCI/CONFIG_SDHCI.Signed-off-by Jaehoon Chung <[email protected]>Signed-off-by Kyungmin Park <[email protected]>Acked-by Lei Wen<[email protected]>---
?include/configs/origen.h ? ? ? ? ? ?| ? ?3 ++- ?include/configs/s5p_goni.h ? ? ? ? ?| ? ?3 ++- ?include/configs/s5pc210_universal.h | ? ?3 ++- ?include/configs/smdk5250.h ? ? ? ? ?| ? ?3 ++- ?include/configs/smdkv310.h ? ? ? ? ?| ? ?3 ++- ?include/configs/trats.h ? ? ? ? ? ? | ? ?3 ++-?6 files changed, 12 insertions(+), 6 deletions(-)
include/configs/origen.h +0
-0@@ -71,7 +71,8 @@?/* SD/MMC configuration */
?#defineCONFIG_GENERIC_MMC? ? ? ? ? ? 1
?#defineCONFIG_MMC? ? ? ? ? ? ? ? ? ? 1include/configs/origen.h +2
-1-#define CONFIG_S5P_MMC ? ? ? ? ? ? ? ? 1 +#define CONFIG_SDHCI ? ? ? ? ? ? ? ? ? 1 +#define CONFIG_S5P_SDHCI ? ? ? ? ? ? ? 1?/* PWM */
?#defineCONFIG_PWM? ? ? ? ? ? ? ? ? ? 1include/configs/s5p_goni.h +0
-0@@ -65,7 +65,8 @@?/* MMC */
?#defineCONFIG_GENERIC_MMC? ? ? ? ? ? 1
?#defineCONFIG_MMC? ? ? ? ? ? ? ? ? ? 1include/configs/s5p_goni.h +2
-1-#define CONFIG_S5P_MMC ? ? ? ? ? ? ? ? 1 +#define CONFIG_SDHCI ? ? ? ? ? ? ? ? ? 1 +#define CONFIG_S5P_SDHCI ? ? ? ? ? ? ? 1?/* PWM */
?#defineCONFIG_PWM? ? ? ? ? ? ? ? ? ? 1include/configs/s5pc210_universal.h +0
-0@@ -68,7 +68,8 @@?/* MMC */
?#defineCONFIG_GENERIC_MMC? ? 1
?#defineCONFIG_MMC? ? ? ? ? ? 1include/configs/s5pc210_universal.h +2
-1-#define CONFIG_S5P_MMC ? ? ? ? 1 +#define CONFIG_SDHCI ? ? ? ? ? 1 +#define CONFIG_S5P_SDHCI ? ? ? 1?/* PWM */
?#defineCONFIG_PWM? ? ? ? ? ? ? ? ? ? 1include/configs/smdk5250.h +0
-0@@ -78,7 +78,8 @@?/* SD/MMC configuration */
?#defineCONFIG_GENERIC_MMC
?#defineCONFIG_MMC
include/configs/smdk5250.h line 82
Quoted 3 lines
include/configs/smdk5250.h +2
-1-#define CONFIG_S5P_MMC +#define CONFIG_SDHCI +#define CONFIG_S5P_SDHCI
There is no consistency for the #define CONFIG_S5P_SDHCI, few have been assigned to value 1, And looking at the patchset the value of it is not used if I am not wrong, depending or defined or not some file is built. Best way could be not to assign any value for such cases, just #define CONFIG_S5P_SDHCI would make sense. It would be good If you also do the same for other CONFIG'S defined.
Thx,
--Prabhakar Lad
Quoted 35 lines
?#define
CONFIG_BOARD_EARLY_INIT_Finclude/configs/smdkv310.h +0
-0@@ -70,7 +70,8 @@?/* SD/MMC configuration */
?#defineCONFIG_GENERIC_MMC? ? ? ? ? ? 1
?#defineCONFIG_MMC? ? ? ? ? ? ? ? ? ? 1include/configs/smdkv310.h +2
-1-#define CONFIG_S5P_MMC ? ? ? ? ? ? ? ? 1 +#define CONFIG_SDHCI ? ? ? ? ? ? ? ? ? 1 +#define CONFIG_S5P_SDHCI ? ? ? ? ? ? ? 1?/* PWM */
?#defineCONFIG_PWM? ? ? ? ? ? ? ? ? ? 1include/configs/trats.h +0
-0@@ -74,7 +74,8 @@?/* MMC */
?#defineCONFIG_GENERIC_MMC
?#defineCONFIG_MMCinclude/configs/trats.h +2
-1-#define CONFIG_S5P_MMC +#define CONFIG_S5P_SDHCI +#define CONFIG_SDHCI ?/* PWM */
?#defineCONFIG_PWM
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
PATCH v5 4/4 ARM: SAMSUNG: support sdhci controller
Hi Prabhakar,
Quoted 2 lines · Prabhakar Lad
Hi Jaehoon,
[snip]
Quoted 7 lines
? ?There is no consistency for the #define ?CONFIG_S5P_SDHCI, ? ?few have been assigned to value 1, And looking at the patchset ? ?the value of it is not used if I am not wrong, depending or defined ? ?or not some file is built. Best way could be not to assign any value ? ?for such cases, just ?#define
CONFIG_S5P_SDHCIwould make ? ?sense. It would be good If you also do the same for other CONFIG'S ? ?defined.
All boolean defines should be #define'd with no value
Patches should be submitted to cleanup any that are currently defined with a value. Such patches should be marked 'cosmetic' and be distinctly seperate from any patches that are adding new code, prefferable prior to the patches addding new defines so each file always has a consistent style
Regards,
Graeme
PATCH v5 4/4 ARM: SAMSUNG: support sdhci controller
Quoted 17 lines · Graeme Russ
Hi Prabhakar,
Quoted 2 lines · Prabhakar Lad
Hi Jaehoon,
[snip]
Quoted 7 lines
? ?There is no consistency for the #define ?CONFIG_S5P_SDHCI, ? ?few have been assigned to value 1, And looking at the patchset ? ?the value of it is not used if I am not wrong, depending or defined ? ?or not some file is built. Best way could be not to assign any value ? ?for such cases, just ?#define
CONFIG_S5P_SDHCIwould make ? ?sense. It would be good If you also do the same for other CONFIG'S ? ?defined.
Quoted 8 lines
All boolean defines should be #define'd with no value
Patches should be submitted to cleanup any that are currently defined with a value. Such patches should be marked 'cosmetic' and be distinctly seperate from any patches that are adding new code, prefferable prior to the patches addding new defines so each file always has a consistent style
Regards,
Yes, right.
Need patch for cleanup.
Jaehoon,
Please update this patch.
I'll post cleanup patch for other defines.
Thanks.
Minkyu Kang.
Signature · 2 lines
from. prom. www.promsoft.net