All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR
@ 2016-03-09  2:55 Alison Wang
  2016-03-09  2:55 ` [U-Boot] [PATCH 2/2] defconfig: ls1021atwr_sdcard_qspi: Enable CONFIG_MTD Alison Wang
  2016-03-09 16:59 ` [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR york sun
  0 siblings, 2 replies; 5+ messages in thread
From: Alison Wang @ 2016-03-09  2:55 UTC (permalink / raw)
  To: u-boot

As QSPI driver is supported in ls1021aqds_sdcard_qspi_defconfig, SPI-NOR
with MTD uclass, CONFIG_MTD_DATAFLASH and new flash vendor config
CONFIG_SPI_NOR_SPANSION need be enabled.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
---
 configs/ls1021aqds_sdcard_qspi_defconfig | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/configs/ls1021aqds_sdcard_qspi_defconfig b/configs/ls1021aqds_sdcard_qspi_defconfig
index cd75af6..25ab3ee 100644
--- a/configs/ls1021aqds_sdcard_qspi_defconfig
+++ b/configs/ls1021aqds_sdcard_qspi_defconfig
@@ -7,8 +7,11 @@ CONFIG_DEFAULT_DEVICE_TREE="ls1021a-qds-duart"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
-CONFIG_SPI_FLASH=y
-CONFIG_SPI_FLASH_SPANSION=y
+CONFIG_MTD=y
+CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_DATAFLASH=y
+CONFIG_SPI_NOR_SPANSION=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
 CONFIG_SYS_NS16550=y
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 2/2] defconfig: ls1021atwr_sdcard_qspi: Enable CONFIG_MTD
  2016-03-09  2:55 [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR Alison Wang
@ 2016-03-09  2:55 ` Alison Wang
  2016-03-09 16:59 ` [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR york sun
  1 sibling, 0 replies; 5+ messages in thread
From: Alison Wang @ 2016-03-09  2:55 UTC (permalink / raw)
  To: u-boot

As QSPI driver is supported in ls1021atwr_sdcard_qspi_defconfig,
CONFIG_MTD needs to be enabled for SPI-NOR with MTD uclass.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
---
 configs/ls1021atwr_sdcard_qspi_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/ls1021atwr_sdcard_qspi_defconfig b/configs/ls1021atwr_sdcard_qspi_defconfig
index 05f0806..867aaf7 100644
--- a/configs/ls1021atwr_sdcard_qspi_defconfig
+++ b/configs/ls1021atwr_sdcard_qspi_defconfig
@@ -6,6 +6,7 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT,SD_BOOT_QSPI"
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
+CONFIG_MTD=y
 CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_M25P80=y
 CONFIG_SPI_NOR_MISC=y
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR
  2016-03-09  2:55 [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR Alison Wang
  2016-03-09  2:55 ` [U-Boot] [PATCH 2/2] defconfig: ls1021atwr_sdcard_qspi: Enable CONFIG_MTD Alison Wang
@ 2016-03-09 16:59 ` york sun
  2016-03-10 18:53   ` Jagan Teki
  1 sibling, 1 reply; 5+ messages in thread
From: york sun @ 2016-03-09 16:59 UTC (permalink / raw)
  To: u-boot

On 03/08/2016 07:04 PM, Alison Wang wrote:
> As QSPI driver is supported in ls1021aqds_sdcard_qspi_defconfig, SPI-NOR
> with MTD uclass, CONFIG_MTD_DATAFLASH and new flash vendor config
> CONFIG_SPI_NOR_SPANSION need be enabled.
> 
> Signed-off-by: Alison Wang <alison.wang@nxp.com>
> ---
>  configs/ls1021aqds_sdcard_qspi_defconfig | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/configs/ls1021aqds_sdcard_qspi_defconfig b/configs/ls1021aqds_sdcard_qspi_defconfig
> index cd75af6..25ab3ee 100644
> --- a/configs/ls1021aqds_sdcard_qspi_defconfig
> +++ b/configs/ls1021aqds_sdcard_qspi_defconfig
> @@ -7,8 +7,11 @@ CONFIG_DEFAULT_DEVICE_TREE="ls1021a-qds-duart"
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_OF_CONTROL=y
>  CONFIG_DM=y
> -CONFIG_SPI_FLASH=y
> -CONFIG_SPI_FLASH_SPANSION=y
> +CONFIG_MTD=y
> +CONFIG_MTD_SPI_NOR=y
> +CONFIG_MTD_M25P80=y
> +CONFIG_MTD_DATAFLASH=y
> +CONFIG_SPI_NOR_SPANSION=y
>  CONFIG_NETDEVICES=y
>  CONFIG_E1000=y
>  CONFIG_SYS_NS16550=y
> 

Put a note for myself, this patch is on top of spi-nor patchset Jagan is working on.

York

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR
  2016-03-09 16:59 ` [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR york sun
@ 2016-03-10 18:53   ` Jagan Teki
  2016-03-10 18:55     ` Jagan Teki
  0 siblings, 1 reply; 5+ messages in thread
From: Jagan Teki @ 2016-03-10 18:53 UTC (permalink / raw)
  To: u-boot

On 9 March 2016 at 22:29, york sun <york.sun@nxp.com> wrote:
> On 03/08/2016 07:04 PM, Alison Wang wrote:
>> As QSPI driver is supported in ls1021aqds_sdcard_qspi_defconfig, SPI-NOR
>> with MTD uclass, CONFIG_MTD_DATAFLASH and new flash vendor config
>> CONFIG_SPI_NOR_SPANSION need be enabled.
>>
>> Signed-off-by: Alison Wang <alison.wang@nxp.com>
>> ---
>>  configs/ls1021aqds_sdcard_qspi_defconfig | 7 +++++--
>>  1 file changed, 5 insertions(+), 2 deletions(-)
>>
>> diff --git a/configs/ls1021aqds_sdcard_qspi_defconfig b/configs/ls1021aqds_sdcard_qspi_defconfig
>> index cd75af6..25ab3ee 100644
>> --- a/configs/ls1021aqds_sdcard_qspi_defconfig
>> +++ b/configs/ls1021aqds_sdcard_qspi_defconfig
>> @@ -7,8 +7,11 @@ CONFIG_DEFAULT_DEVICE_TREE="ls1021a-qds-duart"
>>  # CONFIG_CMD_SETEXPR is not set
>>  CONFIG_OF_CONTROL=y
>>  CONFIG_DM=y
>> -CONFIG_SPI_FLASH=y
>> -CONFIG_SPI_FLASH_SPANSION=y
>> +CONFIG_MTD=y
>> +CONFIG_MTD_SPI_NOR=y
>> +CONFIG_MTD_M25P80=y
>> +CONFIG_MTD_DATAFLASH=y
>> +CONFIG_SPI_NOR_SPANSION=y
>>  CONFIG_NETDEVICES=y
>>  CONFIG_E1000=y
>>  CONFIG_SYS_NS16550=y
>>
>
> Put a note for myself, this patch is on top of spi-nor patchset Jagan is working on.



-- 
Jagan.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR
  2016-03-10 18:53   ` Jagan Teki
@ 2016-03-10 18:55     ` Jagan Teki
  0 siblings, 0 replies; 5+ messages in thread
From: Jagan Teki @ 2016-03-10 18:55 UTC (permalink / raw)
  To: u-boot

On 11 March 2016 at 00:23, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> On 9 March 2016 at 22:29, york sun <york.sun@nxp.com> wrote:
>> On 03/08/2016 07:04 PM, Alison Wang wrote:
>>> As QSPI driver is supported in ls1021aqds_sdcard_qspi_defconfig, SPI-NOR
>>> with MTD uclass, CONFIG_MTD_DATAFLASH and new flash vendor config
>>> CONFIG_SPI_NOR_SPANSION need be enabled.
>>>
>>> Signed-off-by: Alison Wang <alison.wang@nxp.com>
>>> ---
>>>  configs/ls1021aqds_sdcard_qspi_defconfig | 7 +++++--
>>>  1 file changed, 5 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/configs/ls1021aqds_sdcard_qspi_defconfig b/configs/ls1021aqds_sdcard_qspi_defconfig
>>> index cd75af6..25ab3ee 100644
>>> --- a/configs/ls1021aqds_sdcard_qspi_defconfig
>>> +++ b/configs/ls1021aqds_sdcard_qspi_defconfig
>>> @@ -7,8 +7,11 @@ CONFIG_DEFAULT_DEVICE_TREE="ls1021a-qds-duart"
>>>  # CONFIG_CMD_SETEXPR is not set
>>>  CONFIG_OF_CONTROL=y
>>>  CONFIG_DM=y
>>> -CONFIG_SPI_FLASH=y
>>> -CONFIG_SPI_FLASH_SPANSION=y
>>> +CONFIG_MTD=y
>>> +CONFIG_MTD_SPI_NOR=y
>>> +CONFIG_MTD_M25P80=y
>>> +CONFIG_MTD_DATAFLASH=y
>>> +CONFIG_SPI_NOR_SPANSION=y
>>>  CONFIG_NETDEVICES=y
>>>  CONFIG_E1000=y
>>>  CONFIG_SYS_NS16550=y
>>>
>>
>> Put a note for myself, this patch is on top of spi-nor patchset Jagan is working on.

Will add these on to my spi-nor series and send for final review and
test early on next week. - same as Qianyu Gong changes.

thanks!
-- 
Jagan.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-10 18:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-09  2:55 [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR Alison Wang
2016-03-09  2:55 ` [U-Boot] [PATCH 2/2] defconfig: ls1021atwr_sdcard_qspi: Enable CONFIG_MTD Alison Wang
2016-03-09 16:59 ` [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR york sun
2016-03-10 18:53   ` Jagan Teki
2016-03-10 18:55     ` Jagan Teki

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.