public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] config: arm: exynos5250: remove duplicate defines
@ 2013-11-04  1:12 Luka Perkov
  2013-11-29  0:54 ` Minkyu Kang
  0 siblings, 1 reply; 2+ messages in thread
From: Luka Perkov @ 2013-11-04  1:12 UTC (permalink / raw)
  To: u-boot

The SPI section is already defined in this file (lines 268-288) so we can
remove the duplicate definitions. While at it, also fix one tiny whitespace
typo.

Signed-off-by: Luka Perkov <luka@openwrt.org>
---
 include/configs/exynos5250-dt.h | 23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)

diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 8c07d8f..c168439 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -257,7 +257,7 @@
 #define CONFIG_DRIVER_S3C24X0_I2C
 #define CONFIG_I2C_MULTI_BUS
 #define CONFIG_MAX_I2C_NUM	8
-#define CONFIG_SYS_I2C_SLAVE    0x0
+#define CONFIG_SYS_I2C_SLAVE	0x0
 #define CONFIG_I2C_EDID
 
 /* PMIC */
@@ -292,27 +292,6 @@
 #define CONFIG_POWER_I2C
 #define CONFIG_POWER_MAX77686
 
-/* SPI */
-#define CONFIG_ENV_IS_IN_SPI_FLASH
-#define CONFIG_SPI_FLASH
-
-#ifdef CONFIG_SPI_FLASH
-#define CONFIG_EXYNOS_SPI
-#define CONFIG_CMD_SF
-#define CONFIG_CMD_SPI
-#define CONFIG_SPI_FLASH_WINBOND
-#define CONFIG_SF_DEFAULT_MODE		SPI_MODE_0
-#define CONFIG_SF_DEFAULT_SPEED		50000000
-#define EXYNOS5_SPI_NUM_CONTROLLERS	5
-#endif
-
-#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
-#define CONFIG_ENV_SPI_MODE	SPI_MODE_0
-#define CONFIG_ENV_SECT_SIZE	CONFIG_ENV_SIZE
-#define CONFIG_ENV_SPI_BUS	1
-#define CONFIG_ENV_SPI_MAX_HZ	50000000
-#endif
-
 /* Ethernet Controllor Driver */
 #ifdef CONFIG_CMD_NET
 #define CONFIG_SMC911X
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] config: arm: exynos5250: remove duplicate defines
  2013-11-04  1:12 [U-Boot] [PATCH] config: arm: exynos5250: remove duplicate defines Luka Perkov
@ 2013-11-29  0:54 ` Minkyu Kang
  0 siblings, 0 replies; 2+ messages in thread
From: Minkyu Kang @ 2013-11-29  0:54 UTC (permalink / raw)
  To: u-boot

Dear Luka Perkov,

On 04/11/13 10:12, Luka Perkov wrote:
> The SPI section is already defined in this file (lines 268-288) so we can
> remove the duplicate definitions. While at it, also fix one tiny whitespace
> typo.
> 
> Signed-off-by: Luka Perkov <luka@openwrt.org>
> ---
>  include/configs/exynos5250-dt.h | 23 +----------------------
>  1 file changed, 1 insertion(+), 22 deletions(-)
> 

applied to u-boot-samsung.

Thanks,
Minkyu Kang.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-29  0:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-04  1:12 [U-Boot] [PATCH] config: arm: exynos5250: remove duplicate defines Luka Perkov
2013-11-29  0:54 ` Minkyu Kang

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