All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick DELAUNAY <patrick.delaunay@foss.st.com>
To: Simon Glass <sjg@chromium.org>
Cc: "U-Boot Mailing List" <u-boot@lists.denx.de>,
	"Marek Vasut" <marex@denx.de>,
	"Eugen Hristev" <eugen.hristev@microchip.com>,
	"Marek Behún" <marek.behun@nic.cz>,
	"Priyanka Jain" <priyanka.jain@nxp.com>,
	"Stefan Roese" <sr@denx.de>, "egnite GmbH" <info@egnite.de>,
	"U-Boot STM32" <uboot-stm32@st-md-mailman.stormreply.com>
Subject: Re: [RFC PATCH 5/5] Convert CONFIG_AT91_EFLASH to Kconfig
Date: Mon, 3 Jan 2022 20:23:40 +0100	[thread overview]
Message-ID: <470d4868-d0b7-4047-d9f9-2a0f5aec3565@foss.st.com> (raw)
In-Reply-To: <CAPnjgZ3hrh4S7XC3xKEHaCmC67-FZe9BwP7H0M80Zqz+S+pPug@mail.gmail.com>

Hi Simon,

On 12/28/21 9:32 AM, Simon Glass wrote:
> On Tue, 14 Dec 2021 at 09:57, Patrick Delaunay
> <patrick.delaunay@foss.st.com> wrote:
>> This converts the following to Kconfig:
>>     CONFIG_AT91_EFLASH
>>
>> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
>> ---
>>
>>   arch/arm/mach-at91/Kconfig   | 8 ++++++++
>>   configs/ethernut5_defconfig  | 2 +-
>>   include/configs/ethernut5.h  | 1 -
>>   scripts/config_whitelist.txt | 1 -
>>   4 files changed, 9 insertions(+), 3 deletions(-)
>>
>> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
>> index 4448ca1592..5267a7d15d 100644
>> --- a/arch/arm/mach-at91/Kconfig
>> +++ b/arch/arm/mach-at91/Kconfig
>> @@ -302,6 +302,14 @@ config ATMEL_SFR
>>   config SYS_SOC
>>          default "at91"
>>
>> +config AT91_EFLASH
>> +       bool "Support AT91 flash driver"
>> +       depends on AT91SAM9XE
>> +       select USE_SYS_MAX_FLASH_BANKS
>> +       help
>> +         Enable the driver for the enhanced embedded flash in the Atmel
>> +         AT91SAM9XE devices.
> Reviewed-by: Simon Glass <sjg@chromium.org>
>
> Please describe what it actually means. Enhanced in what way?

I will dropped the "enhanced" word, copied for header
of arch/arm/mach-at91/arm926ejs/eflash.c


/*
  * this driver supports the enhanced embedded flash in the Atmel
  * AT91SAM9XE devices with the following geometry:
  *
  * AT91SAM9XE128: 1 plane of  8 regions of 32 pages (total  256 pages)
  * AT91SAM9XE256: 1 plane of 16 regions of 32 pages (total  512 pages)
  * AT91SAM9XE512: 1 plane of 32 regions of 32 pages (total 1024 pages)
  * (the exact geometry is read from the flash at runtime, so any
  *  future devices should already be covered)

....


but not present in commit header

d88bebe16d81 ("AT91SAM9XE: add embedded flash support")


It is more clear

>
> Regards,
> Simon


Thanks

Patrick


      reply	other threads:[~2022-01-03 19:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14 16:56 [RFC PATCH 0/5] configs: Migrate CONFIG_SYS_MAX_FLASH_BANKS to Kconfig Patrick Delaunay
2021-12-14 16:57 ` [RFC PATCH 1/5] cmd: Fix up warnings in flash.c Patrick Delaunay
2021-12-28  8:32   ` Simon Glass
2021-12-14 16:57 ` [RFC PATCH 2/5] mtd: cfi: introduce CFI_FLASH_BANKS Patrick Delaunay
2021-12-28  8:32   ` Simon Glass
2021-12-14 16:57 ` [RFC PATCH 3/5] mtd: cfi: change CONFIG_SYS_MAX_FLASH_BANKS_DETECT as boolean Patrick Delaunay
2021-12-14 16:57 ` [RFC PATCH 4/5] configs: Migrate CONFIG_SYS_MAX_FLASH_BANKS to Kconfig Patrick Delaunay
2021-12-28  8:33   ` Simon Glass
2021-12-14 16:57 ` [RFC PATCH 5/5] Convert CONFIG_AT91_EFLASH " Patrick Delaunay
2021-12-28  8:32   ` Simon Glass
2022-01-03 19:23     ` Patrick DELAUNAY [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=470d4868-d0b7-4047-d9f9-2a0f5aec3565@foss.st.com \
    --to=patrick.delaunay@foss.st.com \
    --cc=eugen.hristev@microchip.com \
    --cc=info@egnite.de \
    --cc=marek.behun@nic.cz \
    --cc=marex@denx.de \
    --cc=priyanka.jain@nxp.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-stm32@st-md-mailman.stormreply.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.