linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* RE: [PATCH v2 2/2] arm64: defconfig: Enable access to CFI-compliant memory mapped NOR flash
       [not found] ` <1557231354-11758-2-git-send-email-jagdish.gediya@nxp.com>
@ 2019-05-07 18:33   ` Leo Li
  0 siblings, 0 replies; only message in thread
From: Leo Li @ 2019-05-07 18:33 UTC (permalink / raw)
  To: Jagdish Gediya, linux-mtd, linux-arm-kernel, Olof Johansson,
	Arnd Bergmann, shawnguo
  Cc: Prabhakar Kushwaha, Jagdish Gediya, bbrezillon



> -----Original Message-----
> From: Jagdish Gediya <jagdish.gediya@nxp.com>
> Sent: Tuesday, May 7, 2019 7:16 AM
> To: linux-mtd@lists.infradead.org
> Cc: bbrezillon@kernel.org; Leo Li <leoyang.li@nxp.com>; Prabhakar
> Kushwaha <prabhakar.kushwaha@nxp.com>; Jagdish Gediya
> <jagdish.gediya@nxp.com>
> Subject: [PATCH v2 2/2] arm64: defconfig: Enable access to CFI-compliant
> memory mapped NOR flash

This should be sent to arm mailing list and arm maintainers(added for you), and cc the MTD owners.

> 
> Enable below configs in arm64 defconfig file,
> CONFIG_MTD_CFI=y
> CONFIG_MTD_CFI_INTELEXT=y
> CONFIG_MTD_CFI_AMDSTD=y
> CONFIG_MTD_CFI_STAA=y
> CONFIG_MTD_PHYSMAP=y
> CONFIG_MTD_PHYSMAP_OF=y

This include both CFI and PHYSMAP changes, and probably better to be separate.  And it will be good to mention that CONFIG_MTD_PHYSMAP_OF has been enabled previously in the defconfig.  It is because of the following change to the driver that it is no longer selectable alone but need CONFIG_MTD_PHYSMAP to be selectable.

commit 642b1e8dbed7bbbf8c4deb3c9a0496f17278badc
Author: Boris Brezillon <boris.brezillon@bootlin.com>
Date:   Fri Oct 19 09:49:04 2018 +0200

    mtd: maps: Merge physmap_of.c into physmap-core.c

    There's no real reason to have two separate driver for the DT and pdata
    case. Just do what we do everywhere else and handle DT and pdata
    parsing in the same driver.

    Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
    Reviewed-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
    Acked-by: Linus Walleij <linus.walleij@linaro.org>

> 
> These configs are needed to access CFI compliant memory mapped NOR
> flashes e.g. NOR flash connected over Freescale IFC.
> 
> Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
> ---
> Change since v2:
>  Split the defconfig changes between,
>  1. Changes as a result of 'make savedefconfig' command
>  2. Enablement of actually needed configs
> 
>  arch/arm64/configs/defconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index aff014e..ac06501 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -193,6 +193,12 @@ CONFIG_HISILICON_LPC=y
>  CONFIG_SIMPLE_PM_BUS=y
>  CONFIG_MTD=y
>  CONFIG_MTD_BLOCK=y
> +CONFIG_MTD_CFI=y
> +CONFIG_MTD_CFI_INTELEXT=y
> +CONFIG_MTD_CFI_AMDSTD=y
> +CONFIG_MTD_CFI_STAA=y
> +CONFIG_MTD_PHYSMAP=y
> +CONFIG_MTD_PHYSMAP_OF=y
>  CONFIG_MTD_M25P80=y
>  CONFIG_MTD_NAND=y
>  CONFIG_MTD_NAND_DENALI_DT=y
> --
> 2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-07 18:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1557231354-11758-1-git-send-email-jagdish.gediya@nxp.com>
     [not found] ` <1557231354-11758-2-git-send-email-jagdish.gediya@nxp.com>
2019-05-07 18:33   ` [PATCH v2 2/2] arm64: defconfig: Enable access to CFI-compliant memory mapped NOR flash Leo Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).