All of lore.kernel.org
 help / color / mirror / Atom feed
From: York Sun <york.sun@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag
Date: Fri, 12 May 2017 10:53:08 -0700	[thread overview]
Message-ID: <63df3ab2-aac1-8859-94ef-8728bb743823@nxp.com> (raw)
In-Reply-To: <DB5PR04MB135061721934F81316BF97F480130@DB5PR04MB1350.eurprd04.prod.outlook.com>

On 04/27/2017 10:26 PM, Suresh Gupta wrote:
>
>
>> -----Original Message-----
>> From: York Sun [mailto:york.sun at nxp.com]
>> Sent: Thursday, April 27, 2017 10:18 PM
>> To: Suresh Gupta <suresh.gupta@nxp.com>; Jagan Teki
>> <jagannadh.teki@gmail.com>
>> Cc: u-boot at lists.denx.de; Jagan Teki <jagan@openedev.com>; Yao Yuan
>> <yao.yuan@nxp.com>
>> Subject: Re: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K
>> flag
>>
>> On 04/26/2017 10:17 PM, Suresh Gupta wrote:
>>>
>>>
>>
>> <snip>
>>
>>>>>
>>>> Suresh,
>>>>
>>>> Did you test your patch after removing CONFIG_SPI_FLASH_BAR? Why
>>>> doesn't this flash support BAR commands? How did it work before broken?
>>>>
>>>
>>> York, the flash s25fs512s support 32 bit address to handle >16M memory
>> access.
>>> With and without CONFIG_SPI_FLASH_BAR the u-boot only access up to 16M
>>> of flash memory for this particular flash which is installed on our boards
>> (LS1012ARDB, LS1046ARDB, LS1088ARDB, LS2088ARDB).
>>> So, anyhow we need to remove this CONFIG_SPI_FLASH_BAR from our boards
>> configs.
>>>
>>> For accessing >16M of flash memory (to support 32 bit address) I
>>> already start discussion [2] with Jagan. Hopefully We have a solution for that
>> in near future.
>>> [2] https://patchwork.ozlabs.org/patch/676152/
>>>
>>
>> How did it (>16MB) work before?
>>
>> York
>
> According to me for this s25fs512s  particular flash,  >16M should not work in open source code.
> If you have any commit id where it works, let me know.
> I will try at my end and update you
>

Suresh,

Where are we on this? The internal U-Boot has it working (previous SDK 
release). Did you check?

York

  reply	other threads:[~2017-05-12 17:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-25  9:21 [U-Boot] [PATCH] config: remove CONFIG_SPI_FLASH_BAR from some platforms Suresh Gupta
2017-04-25  9:21 ` [U-Boot] [PATCH] LS1012A: change the size of flash Suresh Gupta
2017-05-23 16:20   ` york sun
2017-05-24  5:52     ` Suresh Gupta
2017-05-25 15:01       ` york sun
2017-04-25  9:21 ` [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag Suresh Gupta
2017-04-26  7:30   ` Jagan Teki
2017-04-26  7:47     ` Suresh Gupta
2017-04-26 23:05       ` York Sun
2017-04-27  5:17         ` Suresh Gupta
2017-04-27 16:47           ` York Sun
2017-04-28  5:26             ` Suresh Gupta
2017-05-12 17:53               ` York Sun [this message]
2017-05-15  6:47                 ` Suresh Gupta
2017-06-07  7:03                   ` Jagan Teki
2017-06-07  7:41                     ` Suresh Gupta
2017-06-07  9:37                       ` Jagan Teki
2017-06-08  7:30                         ` Suresh Gupta
2017-06-12  6:07                           ` Jagan Teki
2017-06-12  8:48                             ` Suresh Gupta
2017-06-12 14:03                               ` Suresh Gupta
2017-09-13  7:56                                 ` Suresh Gupta
2017-05-25 14:59 ` [U-Boot] [PATCH] config: remove CONFIG_SPI_FLASH_BAR from some platforms york sun

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=63df3ab2-aac1-8859-94ef-8728bb743823@nxp.com \
    --to=york.sun@nxp.com \
    --cc=u-boot@lists.denx.de \
    /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.