What if this code is placed in cs_active() with BEGIN flag.?
+ /* setup command reg */
+ qslave-cmd = 0;
+ qslave-cmd |= QSPI_WLEN(8);
+ qslave-cmd |= QSPI_EN_CS(slave-cs);
+ if (flags SPI_3WIRE)
+ qslave-cmd |= QSPI_3_PIN;
+ qslave-cmd |= 0xfff;
On Fri, Oct 04, 2013 at 20:21 +0530, Sourav Poddar wrote:
diff --git a/drivers/mtd/spi/sf_ops.c b/drivers/mtd/spi/sf_ops.c
index c009af5..bee4128 100644
--- a/drivers/mtd/spi/sf_ops.c
+++ b/drivers/mtd/spi/sf_ops.c
@@ -269,7 +269,9 @@ int spi_flash_cmd_read_ops(struct spi_flash *flash, u32
To prevent the confusion, use the get_mmc_clk() instead of mmc_clk().
get_mmc_clk() is more exactly name.
Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com
---
drivers/mmc/dw_mmc.c|6 +++---
drivers/mmc/exynos_dw_mmc.c |2 +-
include/dwmmc.h |2 +-
3 files
On Sunday 06 October 2013 03:03 PM, Gerhard Sittig wrote:
On Fri, Oct 04, 2013 at 20:21 +0530, Sourav Poddar wrote:
diff --git a/drivers/mtd/spi/sf_ops.c b/drivers/mtd/spi/sf_ops.c
index c009af5..bee4128 100644
--- a/drivers/mtd/spi/sf_ops.c
+++ b/drivers/mtd/spi/sf_ops.c
@@ -269,7 +269,9 @@
On Sunday 06 October 2013 02:14 PM, Jagan Teki wrote:
What if this code is placed in cs_active() with BEGIN flag.?
+ /* setup command reg */
+ qslave-cmd = 0;
+ qslave-cmd |= QSPI_WLEN(8);
+ qslave-cmd |= QSPI_EN_CS(slave-cs);
+ if (flags SPI_3WIRE)
+
Dear Mateusz Zalega,
This commit unifies board-specific USB initialization implementations
under one symbol (usb_board_init), declaration of which is available in
usb.h.
New API allows selective initialization of USB controllers whenever needed.
Signed-off-by: Mateusz Zalega
On Sun, Oct 6, 2013 at 3:44 PM, Sourav Poddar sourav.pod...@ti.com wrote:
On Sunday 06 October 2013 02:14 PM, Jagan Teki wrote:
What if this code is placed in cs_active() with BEGIN flag.?
+ /* setup command reg */
+ qslave-cmd = 0;
+ qslave-cmd |= QSPI_WLEN(8);
+
Hello to All,
My name is Dimitar Tomov. I'm student at Technical University of Sofia
(Europe/Bulgaria).
I have interest in embedded systems and some experience with embedded Linux
(have develop some specific Linux drivers, but nothing major).
0. Following U-Boot Porting Guide [Based on
On Sunday 06 October 2013 09:00 PM, Jagan Teki wrote:
On Sun, Oct 6, 2013 at 3:44 PM, Sourav Poddarsourav.pod...@ti.com wrote:
On Sunday 06 October 2013 02:14 PM, Jagan Teki wrote:
What if this code is placed in cs_active() with BEGIN flag.?
+ /* setup command reg */
+
Hi there,
I want to chose from two different Android kernel images to be booted
during SPL execution. Thus, I guess I need to a) pass u-boot.img two
different parameters or b) call two different u-boot.img files, which in
turn call the corresponding kernel images?
Thanks in advance,
-b
Dear Dimitar,
In message 1466257793.96923.1381071203850.javamail.apa...@mail22.abv.bg you
wrote:
My name is Dimitar Tomov. I'm student at Technical University of
Sofia (Europe/Bulgaria).
Welcome.
I hope you are not disappointed when the first thing I do is asking
you to stick to standard
Dear 0xbin4ry,
don't you have a real name?
In message 52518c7e.3010...@gmail.com you wrote:
I want to chose from two different Android kernel images to be booted
during SPL execution. Thus, I guess I need to a) pass u-boot.img two
What would u-boot.img be here - the full U-Boot image loaded
On Sat, Oct 05, 2013 at 10:00:13PM +0200, Wolfgang Denk wrote:
Dear Tom Rini,
In message 1380227287-26057-3-git-send-email-tr...@ti.com you wrote:
Switch the case of non-redundant non-embedded environment to use malloc
to allocate buffers, rather than place them on the stack, like the
On Sat, Oct 05, 2013 at 09:57:28PM +0200, Wolfgang Denk wrote:
Dear Tom Rini,
In message 20131004170203.GL15917@bill-the-cat you wrote:
I really don't like this. We're now allocating for example 256KiB on
the stack, rather than malloc. I posted a patch recently to convert the
On Sat, Oct 05, 2013 at 10:02:12PM +0200, Wolfgang Denk wrote:
Dear Tom Rini,
In message 1380227287-26057-2-git-send-email-tr...@ti.com you wrote:
Currently our limit is too small to allow for /dev/mmcblk0boot0 to work,
for example. Expand to 32 for future needs.
Signed-off-by: Tom
The lower 5 bit of MVBAR is UNK/SBZP.
So, Monitor Vector Base Address must be 32-byte aligned.
On the other hand, the secure monitor handler does not need
32-byte alignment.
This commit moves .algin 5 directive to the correct place.
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com
Cc:
From: Matt Porter matt.por...@linaro.org
Add QSPI definitions and clock configuration support.
Signed-off-by: Matt Porter matt.por...@linaro.org
Signed-off-by: Sourav Poddar sourav.pod...@ti.com
---
arch/arm/cpu/armv7/omap5/hw_data.c |8
arch/arm/cpu/armv7/omap5/prcm-regs.c |
This patch series add support for TI qspi controller and in the process also
add support for quad read and memory mapped read
in mtd spi framework.
Testing details:
Did a boot from qspi mode on DRA7xx.
Testing details present in the last patch of
the series.
Currently, TI qpsi controller
Qspi controller can have a memory mapped port which can be used for
data read. Added support to enable memory mapped port read.
This patch enables the following:
- It enables exchange of memory map address between mtd and qspi
through the introduction of memory_map flag.
- Add support to
Clock requirement for qspi clk is 192 Mhz.
According to the below formulae,
f dpll = f ref * 2 * m /(n + 1)
clockoutx2_Hmn = f dpll / (hmn+ 1)
fref = 20 Mhz, m = 96, n = 4 gives f dpll = 768 Mhz
For clockoutx2_Hmn to be 768, hmn + 1 should be 4.
Signed-off-by: Sourav Poddar sourav.pod...@ti.com
From: Matt Porter matt.por...@linaro.org
Enables support for SPI SPL, QSPI and Spansion serial flash device
on the EVM. Configures pin muxes for QSPI mode.
Signed-off-by: Matt Porter matt.por...@linaro.org
Signed-off-by: Sourav Poddar sourav.pod...@ti.com
---
board/ti/dra7xx/mux_data.h | 10
From: Matt Porter matt.por...@linaro.org
Adds a SPI master driver for the TI QSPI peripheral.
Signed-off-by: Matt Porter matt.por...@linaro.org
Signed-off-by: Sourav Poddar sourav.pod...@ti.com
[Added quad read support and memory mapped support).
---
v4-v5:
- use tabs wherever required.
- remove
Contains documentation and testing details for qspi flash
interface.
Signed-off-by: Sourav Poddar sourav.pod...@ti.com
---
v4-v5:
- Move the doc to doc/SPI
- testing details formatted to actual testing logs done on the
board.
doc/SPI/README.ti_qspi_dra_test | 48
Dear Tom,
In message 20131006204214.GO15917@bill-the-cat you wrote:
Why do you hesitate to use the stack?
Mainly to allow us to work in restricted stack areas like SPL where we
simply may not have that much space available.
But malloc() is drawing from the very same resource as the
Dear Tom,
In message 20131006204046.GN15917@bill-the-cat you wrote:
In message 1380227287-26057-3-git-send-email-tr...@ti.com you wrote:
Switch the case of non-redundant non-embedded environment to use malloc
to allocate buffers, rather than place them on the stack, like the
Dear Tom,
In message 20131006205527.GP15917@bill-the-cat you wrote:
Do we really need a static size here? Can we not auto-adjust to the
needed size, say by dynamically allocating the buffer?
Doesn't look like it, without a big change to the parsing code.
I don't think this requires a
26 matches
Mail list logo