* [U-Boot] [PATCH] ARM: socfpga: remove unneeded NAND config options
@ 2017-09-02 1:53 Masahiro Yamada
2017-09-02 9:23 ` Marek Vasut
0 siblings, 1 reply; 4+ messages in thread
From: Masahiro Yamada @ 2017-09-02 1:53 UTC (permalink / raw)
To: u-boot
CONFIG_NAND_DENALI select's CONFIG_SYS_NAND_SELF_INIT, so the
NAND initialization process is driven by the driver itself.
CONFIG_SYS_NAND_MAX_CHIPS and CONFIG_SYS_NAND_BASE are unused.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
include/configs/socfpga_common.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 175b01ef84a9..4f64c3281e42 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -144,12 +144,10 @@
*/
#ifdef CONFIG_NAND_DENALI
#define CONFIG_SYS_MAX_NAND_DEVICE 1
-#define CONFIG_SYS_NAND_MAX_CHIPS 1
#define CONFIG_SYS_NAND_ONFI_DETECTION
#define CONFIG_NAND_DENALI_ECC_SIZE 512
#define CONFIG_SYS_NAND_REGS_BASE SOCFPGA_NANDREGS_ADDRESS
#define CONFIG_SYS_NAND_DATA_BASE SOCFPGA_NANDDATA_ADDRESS
-#define CONFIG_SYS_NAND_BASE (CONFIG_SYS_NAND_DATA_BASE + 0x10)
#endif
/*
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] ARM: socfpga: remove unneeded NAND config options
2017-09-02 1:53 [U-Boot] [PATCH] ARM: socfpga: remove unneeded NAND config options Masahiro Yamada
@ 2017-09-02 9:23 ` Marek Vasut
2017-09-02 14:18 ` Masahiro Yamada
0 siblings, 1 reply; 4+ messages in thread
From: Marek Vasut @ 2017-09-02 9:23 UTC (permalink / raw)
To: u-boot
On 09/02/2017 03:53 AM, Masahiro Yamada wrote:
> CONFIG_NAND_DENALI select's CONFIG_SYS_NAND_SELF_INIT, so the
> NAND initialization process is driven by the driver itself.
> CONFIG_SYS_NAND_MAX_CHIPS and CONFIG_SYS_NAND_BASE are unused.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Marek Vasut <marex@denx.de>
Is this for -master or for -next ?
> ---
>
> include/configs/socfpga_common.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
> index 175b01ef84a9..4f64c3281e42 100644
> --- a/include/configs/socfpga_common.h
> +++ b/include/configs/socfpga_common.h
> @@ -144,12 +144,10 @@
> */
> #ifdef CONFIG_NAND_DENALI
> #define CONFIG_SYS_MAX_NAND_DEVICE 1
> -#define CONFIG_SYS_NAND_MAX_CHIPS 1
> #define CONFIG_SYS_NAND_ONFI_DETECTION
> #define CONFIG_NAND_DENALI_ECC_SIZE 512
> #define CONFIG_SYS_NAND_REGS_BASE SOCFPGA_NANDREGS_ADDRESS
> #define CONFIG_SYS_NAND_DATA_BASE SOCFPGA_NANDDATA_ADDRESS
> -#define CONFIG_SYS_NAND_BASE (CONFIG_SYS_NAND_DATA_BASE + 0x10)
> #endif
>
> /*
>
--
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] ARM: socfpga: remove unneeded NAND config options
2017-09-02 9:23 ` Marek Vasut
@ 2017-09-02 14:18 ` Masahiro Yamada
2017-09-02 15:13 ` Marek Vasut
0 siblings, 1 reply; 4+ messages in thread
From: Masahiro Yamada @ 2017-09-02 14:18 UTC (permalink / raw)
To: u-boot
Hi Marek.
2017-09-02 18:23 GMT+09:00 Marek Vasut <marex@denx.de>:
> On 09/02/2017 03:53 AM, Masahiro Yamada wrote:
>> CONFIG_NAND_DENALI select's CONFIG_SYS_NAND_SELF_INIT, so the
>> NAND initialization process is driven by the driver itself.
>> CONFIG_SYS_NAND_MAX_CHIPS and CONFIG_SYS_NAND_BASE are unused.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>
> Acked-by: Marek Vasut <marex@denx.de>
>
> Is this for -master or for -next ?
>
It is up to you,
but no need to rush for this patch.
It will just reduce the source file size.
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] ARM: socfpga: remove unneeded NAND config options
2017-09-02 14:18 ` Masahiro Yamada
@ 2017-09-02 15:13 ` Marek Vasut
0 siblings, 0 replies; 4+ messages in thread
From: Marek Vasut @ 2017-09-02 15:13 UTC (permalink / raw)
To: u-boot
On 09/02/2017 04:18 PM, Masahiro Yamada wrote:
> Hi Marek.
Hello Masahiro,
> 2017-09-02 18:23 GMT+09:00 Marek Vasut <marex@denx.de>:
>> On 09/02/2017 03:53 AM, Masahiro Yamada wrote:
>>> CONFIG_NAND_DENALI select's CONFIG_SYS_NAND_SELF_INIT, so the
>>> NAND initialization process is driven by the driver itself.
>>> CONFIG_SYS_NAND_MAX_CHIPS and CONFIG_SYS_NAND_BASE are unused.
>>>
>>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>>
>> Acked-by: Marek Vasut <marex@denx.de>
>>
>> Is this for -master or for -next ?
>>
>
>
> It is up to you,
> but no need to rush for this patch.
> It will just reduce the source file size.
OK, I doubt anyone really uses the Denali NAND on SoCFPGA now anyway.
Applied, thanks.
--
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-09-02 15:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-02 1:53 [U-Boot] [PATCH] ARM: socfpga: remove unneeded NAND config options Masahiro Yamada
2017-09-02 9:23 ` Marek Vasut
2017-09-02 14:18 ` Masahiro Yamada
2017-09-02 15:13 ` Marek Vasut
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.