Patchwork [U-Boot,PATCHv3,3/4] at91sam9x5ek: regroup FAT/DOS features

login
register
mail settings
Submitter Richard Genoud
Date Nov. 30, 2012, 9:18 a.m.
Message ID <50b879fb.0652b40a.733e.74b6@mx.google.com>
Download mbox | patch
Permalink /patch/202893/
State Accepted
Delegated to: Andreas Bießmann
Headers show

Comments

Richard Genoud - Nov. 30, 2012, 9:18 a.m.
From: Richard Genoud <richard.genoud@gmail.com>

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
---
 include/configs/at91sam9x5ek.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
Bo Shen - Nov. 30, 2012, 9:37 a.m.
On 11/30/2012 17:18, richard.genoud@gmail.com wrote:
> From: Richard Genoud <richard.genoud@gmail.com>
>
> Signed-off-by: Richard Genoud <richard.genoud@gmail.com>

Acked-by: Bo Shen <voice.shen@atmel.com

Best Regards,
Bo Shen

> ---
>   include/configs/at91sam9x5ek.h |    6 +++++-
>   1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h
> index 71f765b..5e5f9c1 100644
> --- a/include/configs/at91sam9x5ek.h
> +++ b/include/configs/at91sam9x5ek.h
> @@ -90,6 +90,7 @@
>   #define CONFIG_CMD_NAND
>   #define CONFIG_CMD_SF
>   #define CONFIG_CMD_MMC
> +#define CONFIG_CMD_FAT
>
>   /* SDRAM */
>   #define CONFIG_NR_DRAM_BANKS		1
> @@ -142,9 +143,12 @@
>   /* MMC */
>   #ifdef CONFIG_CMD_MMC
>   #define CONFIG_MMC
> -#define CONFIG_CMD_FAT
>   #define CONFIG_GENERIC_MMC
>   #define CONFIG_GENERIC_ATMEL_MCI
> +#endif
> +
> +/* FAT */
> +#ifdef CONFIG_CMD_FAT
>   #define CONFIG_DOS_PARTITION
>   #endif
>
>
Andreas Bießmann - Dec. 9, 2012, 9:43 p.m.
Dear richard.genoud@gmail.com,

On 30.11.2012 10:18, richard.genoud@gmail.com wrote:
> From: Richard Genoud <richard.genoud@gmail.com>
>
> Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
> ---
>   include/configs/at91sam9x5ek.h |    6 +++++-
>   1 files changed, 5 insertions(+), 1 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards

Andreas Bießmann

Patch

diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h
index 71f765b..5e5f9c1 100644
--- a/include/configs/at91sam9x5ek.h
+++ b/include/configs/at91sam9x5ek.h
@@ -90,6 +90,7 @@ 
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_SF
 #define CONFIG_CMD_MMC
+#define CONFIG_CMD_FAT
 
 /* SDRAM */
 #define CONFIG_NR_DRAM_BANKS		1
@@ -142,9 +143,12 @@ 
 /* MMC */
 #ifdef CONFIG_CMD_MMC
 #define CONFIG_MMC
-#define CONFIG_CMD_FAT
 #define CONFIG_GENERIC_MMC
 #define CONFIG_GENERIC_ATMEL_MCI
+#endif
+
+/* FAT */
+#ifdef CONFIG_CMD_FAT
 #define CONFIG_DOS_PARTITION
 #endif