* [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config
@ 2013-11-14 15:31 Sourav Poddar
2013-11-14 15:31 ` [U-Boot] [UBOOT][PATCH 1/2] config: dra7_evm: Add Bank Address Register(BAR) config Sourav Poddar
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Sourav Poddar @ 2013-11-14 15:31 UTC (permalink / raw)
To: u-boot
Hi Jagan,
Here are the miscellaneous fix and config update for dra7 qspi flash.
Patch series adds:
Add BAR config in dra7 config file.
Set spi controller device control registers before
doing a memory mapped read.
Patches available here:
git://gitorious.org/u-boot-shared/u-boot-qspi.git debug_dra_qspi
Tested on dra7 evm with qspi boot.
Sourav Poddar (2):
config: dra7_evm: Add Bank Address Register(BAR) config
driver: mtd: sf_ops: claim bus while doing memcpy
drivers/mtd/spi/sf_ops.c | 6 ++++++
include/configs/dra7xx_evm.h | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [UBOOT][PATCH 1/2] config: dra7_evm: Add Bank Address Register(BAR) config
2013-11-14 15:31 [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config Sourav Poddar
@ 2013-11-14 15:31 ` Sourav Poddar
2013-11-14 15:31 ` [U-Boot] [UBOOT][PATCH 2/2] driver: mtd: sf_ops: claim bus while doing memcpy Sourav Poddar
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Sourav Poddar @ 2013-11-14 15:31 UTC (permalink / raw)
To: u-boot
Add config to support bank address register.
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Yebio Mesfin <ymesfin@ti.com>
---
include/configs/dra7xx_evm.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 1600131..46cc6db 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -54,6 +54,7 @@
#define CONFIG_SPI_FLASH_SPANSION
#define CONFIG_CMD_SF
#define CONFIG_CMD_SPI
+#define CONFIG_SPI_FLASH_BAR
#define CONFIG_TI_SPI_MMAP
#define CONFIG_SF_DEFAULT_SPEED 48000000
#define CONFIG_DEFAULT_SPI_MODE SPI_MODE_3
--
1.7.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [U-Boot] [UBOOT][PATCH 2/2] driver: mtd: sf_ops: claim bus while doing memcpy
2013-11-14 15:31 [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config Sourav Poddar
2013-11-14 15:31 ` [U-Boot] [UBOOT][PATCH 1/2] config: dra7_evm: Add Bank Address Register(BAR) config Sourav Poddar
@ 2013-11-14 15:31 ` Sourav Poddar
2013-11-25 10:57 ` [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config Sourav Poddar
2013-12-19 5:06 ` Sourav Poddar
3 siblings, 0 replies; 9+ messages in thread
From: Sourav Poddar @ 2013-11-14 15:31 UTC (permalink / raw)
To: u-boot
claim spi bus while doing memory copy, this will set up
the spi controller device control register before doing
a memory read.
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Yebio Mesfin <ymesfin@ti.com>
---
drivers/mtd/spi/sf_ops.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/spi/sf_ops.c b/drivers/mtd/spi/sf_ops.c
index 108665f..e316a69 100644
--- a/drivers/mtd/spi/sf_ops.c
+++ b/drivers/mtd/spi/sf_ops.c
@@ -273,9 +273,15 @@ int spi_flash_cmd_read_ops(struct spi_flash *flash, u32 offset,
/* Handle memory-mapped SPI */
if (flash->memory_map) {
+ ret = spi_claim_bus(flash->spi);
+ if (ret) {
+ debug("SF: unable to claim SPI bus\n");
+ return ret;
+ }
spi_xfer(flash->spi, 0, NULL, NULL, SPI_XFER_MMAP);
memcpy(data, flash->memory_map + offset, len);
spi_xfer(flash->spi, 0, NULL, NULL, SPI_XFER_MMAP_END);
+ spi_release_bus(flash->spi);
return 0;
}
--
1.7.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config
2013-11-14 15:31 [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config Sourav Poddar
2013-11-14 15:31 ` [U-Boot] [UBOOT][PATCH 1/2] config: dra7_evm: Add Bank Address Register(BAR) config Sourav Poddar
2013-11-14 15:31 ` [U-Boot] [UBOOT][PATCH 2/2] driver: mtd: sf_ops: claim bus while doing memcpy Sourav Poddar
@ 2013-11-25 10:57 ` Sourav Poddar
2013-12-19 5:06 ` Sourav Poddar
3 siblings, 0 replies; 9+ messages in thread
From: Sourav Poddar @ 2013-11-25 10:57 UTC (permalink / raw)
To: u-boot
Hi Jagan,
On Thursday 14 November 2013 09:01 PM, Sourav Poddar wrote:
> Hi Jagan,
> Here are the miscellaneous fix and config update for dra7 qspi flash.
>
> Patch series adds:
> Add BAR config in dra7 config file.
> Set spi controller device control registers before
> doing a memory mapped read.
>
> Patches available here:
> git://gitorious.org/u-boot-shared/u-boot-qspi.git debug_dra_qspi
>
> Tested on dra7 evm with qspi boot.
Can these patches be picked?
> Sourav Poddar (2):
> config: dra7_evm: Add Bank Address Register(BAR) config
> driver: mtd: sf_ops: claim bus while doing memcpy
>
> drivers/mtd/spi/sf_ops.c | 6 ++++++
> include/configs/dra7xx_evm.h | 1 +
> 2 files changed, 7 insertions(+), 0 deletions(-)
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config
2013-11-14 15:31 [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config Sourav Poddar
` (2 preceding siblings ...)
2013-11-25 10:57 ` [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config Sourav Poddar
@ 2013-12-19 5:06 ` Sourav Poddar
2013-12-19 6:11 ` Jagan Teki
3 siblings, 1 reply; 9+ messages in thread
From: Sourav Poddar @ 2013-12-19 5:06 UTC (permalink / raw)
To: u-boot
Jagan,
On Thursday 14 November 2013 09:01 PM, Sourav Poddar wrote:
> Hi Jagan,
> Here are the miscellaneous fix and config update for dra7 qspi flash.
>
> Patch series adds:
> Add BAR config in dra7 config file.
> Set spi controller device control registers before
> doing a memory mapped read.
>
> Patches available here:
> git://gitorious.org/u-boot-shared/u-boot-qspi.git debug_dra_qspi
>
> Tested on dra7 evm with qspi boot.
>
> Sourav Poddar (2):
> config: dra7_evm: Add Bank Address Register(BAR) config
> driver: mtd: sf_ops: claim bus while doing memcpy
>
> drivers/mtd/spi/sf_ops.c | 6 ++++++
> include/configs/dra7xx_evm.h | 1 +
> 2 files changed, 7 insertions(+), 0 deletions(-)
>
Ping on this.
This are miscellaneous fixes for dra7 qspi uboot.
Can you pick this up ?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config
2013-12-19 5:06 ` Sourav Poddar
@ 2013-12-19 6:11 ` Jagan Teki
2013-12-19 6:18 ` Sourav Poddar
0 siblings, 1 reply; 9+ messages in thread
From: Jagan Teki @ 2013-12-19 6:11 UTC (permalink / raw)
To: u-boot
On Thu, Dec 19, 2013 at 10:36 AM, Sourav Poddar <sourav.poddar@ti.com> wrote:
> Jagan,
> On Thursday 14 November 2013 09:01 PM, Sourav Poddar wrote:
>>
>> Hi Jagan,
>> Here are the miscellaneous fix and config update for dra7 qspi flash.
>>
>> Patch series adds:
>> Add BAR config in dra7 config file.
>> Set spi controller device control registers before
>> doing a memory mapped read.
>>
>> Patches available here:
>> git://gitorious.org/u-boot-shared/u-boot-qspi.git debug_dra_qspi
>>
>> Tested on dra7 evm with qspi boot.
>>
>> Sourav Poddar (2):
>> config: dra7_evm: Add Bank Address Register(BAR) config
>> driver: mtd: sf_ops: claim bus while doing memcpy
>>
>> drivers/mtd/spi/sf_ops.c | 6 ++++++
>> include/configs/dra7xx_evm.h | 1 +
>> 2 files changed, 7 insertions(+), 0 deletions(-)
>>
> Ping on this.
> This are miscellaneous fixes for dra7 qspi uboot.
> Can you pick this up ?
What is this series - I couldn't find it on patchwork.
You sent a series with 0/5 and these two are part of that is it?
--
Thanks,
Jagan.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config
2013-12-19 6:11 ` Jagan Teki
@ 2013-12-19 6:18 ` Sourav Poddar
2013-12-19 6:55 ` Jagan Teki
0 siblings, 1 reply; 9+ messages in thread
From: Sourav Poddar @ 2013-12-19 6:18 UTC (permalink / raw)
To: u-boot
On Thursday 19 December 2013 11:41 AM, Jagan Teki wrote:
> On Thu, Dec 19, 2013 at 10:36 AM, Sourav Poddar<sourav.poddar@ti.com> wrote:
>> Jagan,
>> On Thursday 14 November 2013 09:01 PM, Sourav Poddar wrote:
>>> Hi Jagan,
>>> Here are the miscellaneous fix and config update for dra7 qspi flash.
>>>
>>> Patch series adds:
>>> Add BAR config in dra7 config file.
>>> Set spi controller device control registers before
>>> doing a memory mapped read.
>>>
>>> Patches available here:
>>> git://gitorious.org/u-boot-shared/u-boot-qspi.git debug_dra_qspi
>>>
>>> Tested on dra7 evm with qspi boot.
>>>
>>> Sourav Poddar (2):
>>> config: dra7_evm: Add Bank Address Register(BAR) config
>>> driver: mtd: sf_ops: claim bus while doing memcpy
>>>
>>> drivers/mtd/spi/sf_ops.c | 6 ++++++
>>> include/configs/dra7xx_evm.h | 1 +
>>> 2 files changed, 7 insertions(+), 0 deletions(-)
>>>
>> Ping on this.
>> This are miscellaneous fixes for dra7 qspi uboot.
>> Can you pick this up ?
> What is this series - I couldn't find it on patchwork.
> You sent a series with 0/5 and these two are part of that is it?
>
This is a differnet series for dra7 soc, it has miscellaneous cleanup
and fixes.
The other series (0/5) is for qspi on am43x soc
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config
2013-12-19 6:18 ` Sourav Poddar
@ 2013-12-19 6:55 ` Jagan Teki
2013-12-19 7:06 ` Sourav Poddar
0 siblings, 1 reply; 9+ messages in thread
From: Jagan Teki @ 2013-12-19 6:55 UTC (permalink / raw)
To: u-boot
On Thu, Dec 19, 2013 at 11:48 AM, Sourav Poddar <sourav.poddar@ti.com> wrote:
> On Thursday 19 December 2013 11:41 AM, Jagan Teki wrote:
>>
>> On Thu, Dec 19, 2013 at 10:36 AM, Sourav Poddar<sourav.poddar@ti.com>
>> wrote:
>>>
>>> Jagan,
>>> On Thursday 14 November 2013 09:01 PM, Sourav Poddar wrote:
>>>>
>>>> Hi Jagan,
>>>> Here are the miscellaneous fix and config update for dra7 qspi flash.
>>>>
>>>> Patch series adds:
>>>> Add BAR config in dra7 config file.
>>>> Set spi controller device control registers before
>>>> doing a memory mapped read.
>>>>
>>>> Patches available here:
>>>> git://gitorious.org/u-boot-shared/u-boot-qspi.git debug_dra_qspi
>>>>
>>>> Tested on dra7 evm with qspi boot.
>>>>
>>>> Sourav Poddar (2):
>>>> config: dra7_evm: Add Bank Address Register(BAR) config
>>>> driver: mtd: sf_ops: claim bus while doing memcpy
>>>>
>>>> drivers/mtd/spi/sf_ops.c | 6 ++++++
>>>> include/configs/dra7xx_evm.h | 1 +
>>>> 2 files changed, 7 insertions(+), 0 deletions(-)
>>>>
>>> Ping on this.
>>> This are miscellaneous fixes for dra7 qspi uboot.
>>> Can you pick this up ?
>>
>> What is this series - I couldn't find it on patchwork.
>> You sent a series with 0/5 and these two are part of that is it?
>>
> This is a differnet series for dra7 soc, it has miscellaneous cleanup
> and fixes.
>
> The other series (0/5) is for qspi on am43x soc
Applied to u-boot-spi/master
--
Thanks,
Jagan.
--------
Jagannadha Sutradharudu Teki,
E: jagannadh.teki at gmail.com, P: +91-9676773388
Engineer - System Software Hacker
U-boot - SPI Custodian and Zynq APSOC
Ln: http://www.linkedin.com/in/jaganteki
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config
2013-12-19 6:55 ` Jagan Teki
@ 2013-12-19 7:06 ` Sourav Poddar
0 siblings, 0 replies; 9+ messages in thread
From: Sourav Poddar @ 2013-12-19 7:06 UTC (permalink / raw)
To: u-boot
On Thursday 19 December 2013 12:25 PM, Jagan Teki wrote:
> On Thu, Dec 19, 2013 at 11:48 AM, Sourav Poddar<sourav.poddar@ti.com> wrote:
>> On Thursday 19 December 2013 11:41 AM, Jagan Teki wrote:
>>> On Thu, Dec 19, 2013 at 10:36 AM, Sourav Poddar<sourav.poddar@ti.com>
>>> wrote:
>>>> Jagan,
>>>> On Thursday 14 November 2013 09:01 PM, Sourav Poddar wrote:
>>>>> Hi Jagan,
>>>>> Here are the miscellaneous fix and config update for dra7 qspi flash.
>>>>>
>>>>> Patch series adds:
>>>>> Add BAR config in dra7 config file.
>>>>> Set spi controller device control registers before
>>>>> doing a memory mapped read.
>>>>>
>>>>> Patches available here:
>>>>> git://gitorious.org/u-boot-shared/u-boot-qspi.git debug_dra_qspi
>>>>>
>>>>> Tested on dra7 evm with qspi boot.
>>>>>
>>>>> Sourav Poddar (2):
>>>>> config: dra7_evm: Add Bank Address Register(BAR) config
>>>>> driver: mtd: sf_ops: claim bus while doing memcpy
>>>>>
>>>>> drivers/mtd/spi/sf_ops.c | 6 ++++++
>>>>> include/configs/dra7xx_evm.h | 1 +
>>>>> 2 files changed, 7 insertions(+), 0 deletions(-)
>>>>>
>>>> Ping on this.
>>>> This are miscellaneous fixes for dra7 qspi uboot.
>>>> Can you pick this up ?
>>> What is this series - I couldn't find it on patchwork.
>>> You sent a series with 0/5 and these two are part of that is it?
>>>
>> This is a differnet series for dra7 soc, it has miscellaneous cleanup
>> and fixes.
>>
>> The other series (0/5) is for qspi on am43x soc
> Applied to u-boot-spi/master
>
Thanks!
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-12-19 7:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-14 15:31 [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config Sourav Poddar
2013-11-14 15:31 ` [U-Boot] [UBOOT][PATCH 1/2] config: dra7_evm: Add Bank Address Register(BAR) config Sourav Poddar
2013-11-14 15:31 ` [U-Boot] [UBOOT][PATCH 2/2] driver: mtd: sf_ops: claim bus while doing memcpy Sourav Poddar
2013-11-25 10:57 ` [U-Boot] [UBOOT][PATCH 0/2] misc fix for memory mapped support, dra config Sourav Poddar
2013-12-19 5:06 ` Sourav Poddar
2013-12-19 6:11 ` Jagan Teki
2013-12-19 6:18 ` Sourav Poddar
2013-12-19 6:55 ` Jagan Teki
2013-12-19 7:06 ` Sourav Poddar
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.