(such as avoiding top
posting etc.) if you want a genuine response. Otherwise, your messages
would be considered simply as noise and no one would bother to respond.
Regards
Amit Virdi
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de
Dear Marek,
On 10/16/2012 11:54 AM, Marek Vasut wrote:
Dear Amit Virdi,
[...]
Did we get any further with this patch please?
Vipin shall send V3 on this soon.
Regards
Amit Virdi
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de
HTXFIFO | readl(&dma_p->opmode),&dma_p->opmode);
- writel(STOREFORWARD | TXSECONDFRAME,&dma_p->opmode);
+ writel(readl(&dma_p->opmode) | FLUSHTXFIFO | STOREFORWARD |
+ TXSECONDFRAME,&dma_p->opmode);
conf = FRAMEBURSTENAB
2012
+ * Amit Virdi, ST Micoelectronics, amit.vi...@st.com.
Regards
Amit Virdi
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Scott,
On 5/24/2012 10:04 PM, Vikram Narayanan wrote:
+/*
+ * (C) Copyright 2010
+ * Vipin Kumar, ST Micoelectronics, vipin.ku...@st.com.
+ *
+ * (C) Copyright 2012
+ * Amit Virdi, ST Micoelectronics, amit.vi...@st.com.
Fix the typo please. In all the copyright headers.
If you're fine
From: Vipin KUMAR
Since, SPEAr platform uses generic FSMC driver now, so spear specific files
drivers/mtd/nand/spr_nand.c, arch/arm/include/asm/arch-spear/spr_nand.h are
removed
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include/asm/arch-spear/spr_nand.h | 57
Signed-off-by: Amit Virdi
---
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/fsmc_nand.c | 487 +
include/linux/mtd/fsmc_nand.h | 101 +
3 files changed, 589 insertions(+), 0 deletions(-)
create mode 100644 drivers/mtd/nand/fsmc_nand.c
From: Vipin KUMAR
Since FSMC is a standard IP and it supports different memory interfaces, it
is supported independent of spear platform and spear is configured to use that
driver for interfacing with the NAND device
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include
This patchset adds support for ST's FSMC controller. In the current u-boot, a
SPEAr specific driver exists for FSMC controller. This patchset adds a full
fledged driver that can be used across multiple platforms and removes the
obsolete SPEAr specific driver.
V4 -> V5
- Dropped the patch that de
On 5/22/2012 3:45 PM, Amit VIRDI wrote:
This patchset adds support for ST's FSMC controller. In the current u-boot, a
SPEAr specific driver exists for FSMC controller. This patchset adds a full
fledged driver that can be used across multiple platforms and removes the
obsolete SPEAr spe
Hi Wolfgang,
On 5/22/2012 9:21 PM, Wolfgang Denk wrote:
Dear Amit Virdi,
In message<4fbb6712.3040...@st.com> you wrote:
Alright, I shall be soon sending V5 that drops this patch and uses
__change_bit directly.
It would be a much better investment in time if you come up with
patche
From: Vipin KUMAR
Since, SPEAr platform uses generic FSMC driver now, so spear specific files
drivers/mtd/nand/spr_nand.c, arch/arm/include/asm/arch-spear/spr_nand.h are
removed
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include/asm/arch-spear/spr_nand.h | 57
Signed-off-by: Amit Virdi
---
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/fsmc_nand.c | 486 +
include/linux/mtd/fsmc_nand.h | 101 +
3 files changed, 588 insertions(+), 0 deletions(-)
create mode 100644 drivers/mtd/nand/fsmc_nand.c
From: Vipin KUMAR
Since FSMC is a standard IP and it supports different memory interfaces, it
is supported independent of spear platform and spear is configured to use that
driver for interfacing with the NAND device
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include
This patchset adds support for ST's FSMC controller. In the current u-boot, a
SPEAr specific driver exists for FSMC controller. This patchset adds a full
fledged driver that can be used across multiple platforms and removes the
obsolete SPEAr specific driver.
V4 -> V5
- Dropped the patch that de
have interrupt support (at
least on powerpc -- not sure about ARM), so this should be atomic
against interrupts.
The NAND driver should be using __change_bit() instead.
Alright, I shall be soon sending V5 that drops this patch and uses
__change_bit directly.
Thanks
Amit
From: Vipin KUMAR
Since, SPEAr platform uses generic FSMC driver now, so spear specific files
drivers/mtd/nand/spr_nand.c, arch/arm/include/asm/arch-spear/spr_nand.h are
removed
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include/asm/arch-spear/spr_nand.h | 57
From: Vipin KUMAR
Since FSMC is a standard IP and it supports different memory interfaces, it
is supported independent of spear platform and spear is configured to use that
driver for interfacing with the NAND device
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include
Signed-off-by: Amit Virdi
---
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/fsmc_nand.c | 486 +
include/linux/mtd/fsmc_nand.h | 101 +
3 files changed, 588 insertions(+), 0 deletions(-)
create mode 100644 drivers/mtd/nand/fsmc_nand.c
. FSMC is a memory controller
peripheral from ST. The new driver implements the NAND interface part
of the peripheral.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include/asm/bitops.h |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/arch/arm
This patchset adds support for ST's FSMC controller. In the current u-boot, a
SPEAr specific driver exists for FSMC controller. This patchset adds a full
fledged driver that can be used across multiple platforms and removes the
obsolete SPEAr specific driver.
V3->V4
- Removed local_irq_save and
On 5/16/2012 10:24 PM, Scott Wood wrote:
On 05/16/2012 07:06 AM, Amit Virdi wrote:
+ if ((bits_ecc + bits_data)<= 8) {
+ if (bits_data)
+ memset(dat, 0xff, 512);
+ return bits_data;
return bits_d
the data area are not contiguous here as
they are at different parts of RAM so we couldn't have done
if (err_idx[i]< (512+13) * 8) {
here.
You could still increment the error count.
Yes.
Thanks
Amit Virdi
___
U-Boot mailing list
U-Boot@lists
From: Vipin KUMAR
Since, SPEAr platform uses generic FSMC driver now, so spear specific files
drivers/mtd/nand/spr_nand.c, arch/arm/include/asm/arch-spear/spr_nand.h are
removed
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include/asm/arch-spear/spr_nand.h | 57
From: Vipin KUMAR
Since FSMC is a standard IP and it supports different memory interfaces, it
is supported independent of spear platform and spear is configured to use that
driver for interfacing with the NAND device
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include
Signed-off-by: Amit Virdi
---
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/fsmc_nand.c | 486 +
include/linux/mtd/fsmc_nand.h | 101 +
3 files changed, 588 insertions(+), 0 deletions(-)
create mode 100644 drivers/mtd/nand/fsmc_nand.c
new driver implements the NAND interface part
of the peripheral.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include/asm/bitops.h | 11 +--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm
This patchset adds support for ST's FSMC controller. In the current u-boot, a
SPEAr specific driver exists for FSMC controller. This patchset adds a full
fledged driver that can be used across multiple platforms and removes the
obsolete SPEAr specific driver.
V2 -> V3
- Implemented timeout durin
Kindly discard this patchset, it is same as V2 as I used older sha key
to generate the patchset. I'm so sorry for this mess. Sending the
correct patchset
On 5/16/2012 5:15 PM, Amit VIRDI wrote:
This patchset adds support for ST's FSMC controller. In the current u-boot, a
SPEA
From: Vipin KUMAR
Since, SPEAr platform uses generic FSMC driver now, so spear specific files
drivers/mtd/nand/spr_nand.c, arch/arm/include/asm/arch-spear/spr_nand.h are
removed
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include/asm/arch-spear/spr_nand.h | 57
Signed-off-by: Amit Virdi
---
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/fsmc_nand.c | 484 +
include/linux/mtd/fsmc_nand.h | 110 ++
3 files changed, 595 insertions(+), 0 deletions(-)
create mode 100644 drivers/mtd/nand/fsmc_nand.c
From: Vipin KUMAR
Since FSMC is a standard IP and it supports different memory interfaces, it
is supported independent of spear platform and spear is configured to use that
driver for interfacing with the NAND device
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include
This patchset adds support for ST's FSMC controller. In the current u-boot, a
SPEAr specific driver exists for FSMC controller. This patchset adds a full
fledged driver that can be used across multiple platforms and removes the
obsolete SPEAr specific driver.
V2 -> V3
- Implemented timeout durin
new driver implements the NAND interface part
of the peripheral.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include/asm/bitops.h | 11 +--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm
Three fixups.
Signed-off-by: Amit Virdi
Please discard this. I'll send changes in the V3 patchset.
Thanks
Amit Virdi
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
5,
>> +FSMC_VER6,
>> +FSMC_VER7,
>> +FSMC_VER8,
>> +};
>
> Is this really necessary?
>
Three fixups.
Signed-off-by: Amit Virdi
---
drivers/mtd/nand/fsmc_nand.c | 24 +---
include/linux/mtd/fsmc_nand.h | 12 ++--
2 files c
Hi Scott,
On 5/16/2012 2:44 AM, Scott Wood wrote:
On 05/07/2012 02:26 AM, Amit Virdi wrote:
+ while (num_err--) {
+ change_bit(0,&err_idx[i]);
+ change_bit(1,&err_idx[i]);
+
+ if (err_idx[i]< 512 * 8) {
+ change_
Stefan,
On 5/8/2012 1:00 PM, Stefan Roese wrote:
Signed-off-by: Stefan Roese
Cc: Amit Virdi
Cc: Vipin Kumar
---
board/spear/common/Makefile |2 ++
board/spear/spear600/Makefile |2 ++
2 files changed, 4 insertions(+)
diff --git a/board/spear/common/Makefile b/board/spear/common
: 128 MiB
Tested on x600 (SPEAr600).
Signed-off-by: Stefan Roese
Cc: Amit Virdi
Cc: Vipin Kumar
Cc: Scott Wood
---
drivers/mtd/nand/nand_base.c |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index bef79be..bfd6
() to read
link status from PHY.
- Print status and progress of auto negotiation.
- Print link status (speed, dupex) upon first usage.
Signed-off-by: Stefan Roese
Cc: Amit Virdi
Cc: Vipin Kumar
Cc: Joe Hershberger
---
drivers/net/designware.c | 114 +---
From: Vipin Kumar
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear-common.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 89fbb15..ec4642f
In SPEAr, some of the configuration flags eg. CONFIG_SPEAR_EMI, were given value
"1", which isn't required. Define the flags without assigning any value
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear-common.h | 16
include/configs
In SPEAr configuration files, unnecessary paranthesis are used in some
\#defines. Remove them as they serve no purpose
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
arch/arm/include/asm/arch-spear/spr_gpt.h |4 ++--
include/configs/spear-common.h|8
include
From: Shiraz Hashim
SoC Core ID offset is 0x30 in miscellaneous configuration address
space. It was wrongly mentioned as periph2 clk enable.
Signed-off-by: Shiraz Hashim
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
arch/arm/include/asm/arch-spear/spr_misc.h |2 +-
1 files
When CONFIG_MTD_NAND_VERIFY_WRITE is defined, nand driver read back the data
everytime it writes. This process unnecessarily slows down the nand access.
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear-common.h |1 -
1 files changed, 0 insertions(+), 1 deletions
From: Shiraz Hashim
UART in u-boot intends to run on 48MHz clock supplied by USB PLL.
Explicitly select the intended clock source.
Signed-off-by: Shiraz Hashim
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
arch/arm/cpu/arm926ejs/spear/cpu.c |7 ++-
arch/arm/include
From: Vipin Kumar
Enable CONFIG_SYS_FLASH_EMPTY_INFO macro to enable reporting of empty sector
information through flinfo command.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear-common.h |3 ++-
1 files changed, 2 insertions(+), 1
booting from flash.
This patch corrects the definition of CONFIG_SYS_MONITOR_BASE and sets it to
TEXT_BASE
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
include/configs/spear-common.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/spear
0m0.002s
sys 0m0.064s
After Enhancements
==
$ time ukermit.large -p /dev/ttyACM0 -f spear320_uImage.img
Downloading file: 100.00% completed(2014080/2014080 bytes)
real0m5.441s
user0m0.001s
sys 0m0.001s
Signed-off-by: Shiraz Hashim
Signed-off-by: Amit Virdi
---
board
unlocked explicitly
before being erased or written.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear3xx_evb.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/spear3xx_evb.h b/include/configs/spear3xx_evb.h
From: Vipin KUMAR
This patch enables the support for usb high speed device for spear platform SOCs
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
include/configs/spear-common.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/spear-common.h b
From: Vipin KUMAR
This patch enables the UDC and usb-console support only for usbtty
configurations
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear-common.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a
command in u-boot starts to timeout
very often.
When Autoneg is ON, same phys started working perfectly.
Reported-by: Deepak Sikri
Reported-by: Armando Visconti
Signed-off-by: Shiraz Hashim
Signed-off-by: Amit Virdi
---
include/configs/spear-common.h |1 +
1 files changed, 1 insertions(+), 0
From: Vipin Kumar
Few Designware peripheral registers need to be modified based on the
ethernet interface selected by the board. This patch supports interface
information in ethernet driver
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
board/spear/spear300/spear300.c | 11
configurations
1. Environment placed in NAND
2. Console on usb device
3. Console on usb device with environment placed in NAND
4. SPEAr310 and SPEAr320 support environment variables in parallel
NOR flash.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
board/spear/spear300/config.mk
flash reading is required earlier than flash_init is called since the env_init
is called before flash_init. This makes the smi_init necessary before env_init
being called.
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
board/spear/common/spr_misc.c |8
include/configs/spear
. This
is necessary because the Parallel NOR flash connected on the spear310 and
spear320 boards, M28W64, has all its sectors in locked state at reset and these
have to be unlocked explicitly before being erased or written.
Signed-off-by: Vipin Kumar
Signed-off-by: Shiraz Hashim
Signed-off-by: Amit Vi
From: Vipin KUMAR
SPEAr doesn't need CONFIG_SYS_HZ_CLOCK. This commit removes it.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear-common.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/include/configs/
From: Vipin KUMAR
Earlier, architecture specific init code was mixed with board initialization
code in board/spear/... This patch updates architecture support for SPEAr in
latest u-boot and prints the SoC information.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
From: Vipin KUMAR
SPEAr310 and SPEAr320 SoCs have an extra ethernet controller. The
driver for this device is already supported by u-boot, so configuring
board configuration file and defining base addresses etc to make use
of the common driver
Signed-off-by: Vipin Kumar
Signed-off-by: Amit
From: Vipin KUMAR
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include/asm/arch-spear/hardware.h |1 +
board/spear/spear300/spear300.c| 10 ++
board/spear/spear310/spear310.c| 10 ++
board/spear/spear320/spear320.c
From: Vipin KUMAR
ethaddr can be optionally read from i2c memory. So, chip_config command supports
reading/writing hw mac id into i2c memory. Placing this code within
CONFIG_CMD_NET as this would only be needed when network interface is configured
Signed-off-by: Vipin Kumar
Signed-off-by: Amit
Xloader table was used primarily to inform u-boot about the DDR size. However,
now the ddr size is calculated at runtime which eliminates any need for the
Xloader table. So removing this unnecessary code.
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
arch/arm/include/asm/arch-spear
relocation wasn't complete,
dram_init populated an uninitialized global variable resulting in corruption of
.rel.dyn area, which resulted in u-boot crash.
This commit fixes this problem by removing code that accesses bss segment
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
board/spear/c
emoved following config variables:
CONFIG_MONITOR_IS_IN_RAM
CONFIG_MTD_NAND_VERIFY_WRITE
- Defined CONFIG_EXTRA_ENV_UNLOCK only for SPEAr310 and SPEAr320
- Some cosmetic cleanups
Amit Virdi (6):
SPEAr: Fix ARM relocation support
SPEAr: Eliminate dependency on Xloader table
SPEAr: Initializ
From: Armando Visconti
Signed-off-by: Armando Visconti
Signed-off-by: Amit Virdi
---
drivers/mtd/st_smi.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/st_smi.c b/drivers/mtd/st_smi.c
index bd5602b..3f689e7 100644
--- a/drivers/mtd/st_smi.c
+++ b
There are two problems in the current timeout loop implementation:
1. In case initial test failing, there will always be a delay of 1 ms
2. The delay duration is not tunable
The new implementation addresses both these limitations.
Signed-off-by: Amit Virdi
---
drivers/mtd/st_smi.c | 27
From: Armando Visconti
If the flash size was smaller than 1MB then flash_print_info()
was erroneously reporting 0 MB.
Signed-off-by: Armando Visconti
Signed-off-by: Amit Virdi
---
drivers/mtd/st_smi.c |9 +++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers
From: Armando Visconti
THis patch introduces a new methodology for flash probing
in which flash_devices[] table, looked-up thru the dev_id, is
used to locate the flash geometry and information.
Signed-off-by: Armando Visconti
Signed-off-by: Amit Virdi
---
drivers/mtd/st_smi.c | 92
From: Vipin KUMAR
SMI driver read status fails because the control register could not be
overwritten. Instead, the read status should be tried until timeout.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
drivers/mtd/st_smi.c |2 +-
1 files changed, 1 insertions(+), 1 deletions
From: Armando Visconti
Since the smi erase code is very generic and works for any kind
of flash, there is no need to test for ST_M25Pxx_ID flash types
like m25p40 flashes).
Signed-off-by: Armando Visconti
Signed-off-by: Amit Virdi
---
drivers/mtd/st_smi.c | 50
From: Vipin Kumar
smi_read_sr fails sometimes because of TFF not getting set within assumed time.
This condition may arise because of, for example, smi memory being in a erase
mode.
This fix is to enable reading the status register until timeout.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit
From: Shiraz Hashim
Signed-off-by: Shiraz Hashim
Signed-off-by: Amit Virdi
---
drivers/mtd/st_smi.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/st_smi.c b/drivers/mtd/st_smi.c
index 7b4c6f3..eb902b2 100644
--- a/drivers/mtd/st_smi.c
+++ b/drivers
This commit does the following:
- Reports error if SNOR flash is not found on the board
- Changes smi_read_sr to return error using which a retry mechanism is
implemented for reading flash status
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
drivers/mtd/st_smi.c | 34
Signed-off-by: Amit Virdi
---
include/linux/mtd/st_smi.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/mtd/st_smi.h b/include/linux/mtd/st_smi.h
index b7a78ac..04f81ea 100644
--- a/include/linux/mtd/st_smi.h
+++ b/include/linux/mtd/st_smi.h
@@ -109,8
renamed to st_smi.c and
st_smi.h and moved into drivers/mtd folder for reusability by other platforms
using smi controller peripheral.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
drivers/mtd/Makefile |2 +-
drivers/mtd/{spr_smi.c => st_sm
Curently the code makes wrong assumption that the Transfer finished flag shall
be set within the stipulated time. However, there may occur a scenario in which
the TFF flag is not set. Return error in that case.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
drivers/mtd/st_smi.c
duced so as to make the driver generic.
This patchset is rebased on "next".
Amit Virdi (4):
st_smi: Return error in case TFF is not set
st_smi: Change SMI timeout values
st_smi: Enhance the error handling
st_smi: Change timeout loop implementation
Armando Visconti (4):
st_
From: Vipin KUMAR
Since, SPEAr platform uses generic FSMC driver now, so spear specific files
drivers/mtd/nand/spr_nand.c, arch/arm/include/asm/arch-spear/spr_nand.h are
removed
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include/asm/arch-spear/spr_nand.h | 57
From: Vipin KUMAR
Since FSMC is a standard IP and it supports different memory interfaces, it
is supported independent of spear platform and spear is configured to use that
driver for interfacing with the NAND device
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include
Signed-off-by: Amit Virdi
---
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/fsmc_nand.c | 484 +
include/linux/mtd/fsmc_nand.h | 110 ++
3 files changed, 595 insertions(+), 0 deletions(-)
create mode 100644 drivers/mtd/nand/fsmc_nand.c
This patchset adds support for ST's FSMC controller. In the current u-boot, a
SPEAr specific driver exists for FSMC controller. This patchset adds a full
fledged driver that can be used across multiple platforms and removes the
obsolete SPEAr specific driver.
V1 -> V2
- Defined CONFIG_SYS_NAND_S
new driver implements the NAND interface part
of the peripheral.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
arch/arm/include/asm/bitops.h | 11 +--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm
;ep0;
+
+ for (i = 0; i< num_out_eps; ++i) {
i++ ... ++i has no meaning here (not even a compiler hint).
Ok, 'll amend
+ if (pcd->out_ep[i].num == num)
+ return&pcd->out_ep[i];
+ }
+
+ return 0;
+}
+
[...]
+ * t
Hi Joe,
On 3/26/2012 3:39 PM, Amit VIRDI wrote:
From: Vipin KUMAR
The code assumes the phy address to be> 0, which is not true, the phy address
can be in the range 0-31.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
Could you please confirm if you have applied this patch
Signed-off-by: Amit Virdi
---
drivers/serial/usbtty.h |2 +
drivers/usb/gadget/Makefile |1 +
drivers/usb/gadget/designware_otg.c | 990 +++
include/usb/designware_otg.h| 523 ++
4 files changed, 1516 insertions
Dear Marek,
On 3/31/2012 11:58 PM, Marek Vasut wrote:
Dear Amit Virdi,
From: Vipin KUMAR
Cc me with usb related stuff please.
Ok, I'll take care in future.
Does USBTTY work for you? Tom complained about it.
Yes it works and we haven't found any issue till date. Infact,
In SPEAr, some of the configuration flags eg. CONFIG_SPEAR_EMI, were given value
"1", which isn't required. Define the flags without assigning any value
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear-common.h | 16
include/configs
In SPEAr configuration files, unnecessary paranthesis are used in some
\#defines. Remove them as they serve no purpose
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
arch/arm/include/asm/arch-spear/spr_gpt.h |4 ++--
include/configs/spear-common.h|8
include
From: Shiraz Hashim
SoC Core ID offset is 0x30 in miscellaneous configuration address
space. It was wrongly mentioned as periph2 clk enable.
Signed-off-by: Shiraz Hashim
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
arch/arm/include/asm/arch-spear/spr_misc.h |2 +-
1 files
From: Vipin Kumar
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear-common.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 97c278f..76248e6
From: Shiraz Hashim
UART in u-boot intends to run on 48MHz clock supplied by USB PLL.
Explicitly select the intended clock source.
Signed-off-by: Shiraz Hashim
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
arch/arm/cpu/arm926ejs/spear/cpu.c |7 ++-
arch/arm/include
0m0.002s
sys 0m0.064s
After Enhancements
==
$ time ukermit.large -p /dev/ttyACM0 -f spear320_uImage.img
Downloading file: 100.00% completed(2014080/2014080 bytes)
real0m5.441s
user0m0.001s
sys 0m0.001s
Signed-off-by: Shiraz Hashim
Signed-off-by: Amit Virdi
---
board
When CONFIG_MTD_NAND_VERIFY_WRITE is defined, nand driver read back the data
everytime it writes. This process unnecessarily slows down the nand access.
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear-common.h |1 -
1 files changed, 0 insertions(+), 1 deletions
From: Vipin Kumar
Enable CONFIG_SYS_FLASH_EMPTY_INFO macro to enable reporting of empty sector
information through flinfo command.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear-common.h |3 ++-
1 files changed, 2 insertions(+), 1
booting from flash.
This patch corrects the definition of CONFIG_SYS_MONITOR_BASE and sets it to
TEXT_BASE
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
include/configs/spear-common.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/spear
command in u-boot starts to timeout
very often.
When Autoneg is ON, same phys started working perfectly.
Reported-by: Deepak Sikri
Reported-by: Armando Visconti
Signed-off-by: Shiraz Hashim
Signed-off-by: Amit Virdi
---
include/configs/spear-common.h |1 +
1 files changed, 1 insertions(+), 0
unlocked explicitly
before being erased or written.
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear3xx_evb.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/spear3xx_evb.h b/include/configs/spear3xx_evb.h
From: Vipin KUMAR
This patch enables the support for usb high speed device for spear platform SOCs
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
---
include/configs/spear-common.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/spear-common.h b
From: Vipin KUMAR
This patch enables the UDC and usb-console support only for usbtty
configurations
Signed-off-by: Vipin Kumar
Signed-off-by: Amit Virdi
Acked-by: Stefan Roese
---
include/configs/spear-common.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a
1 - 100 of 258 matches
Mail list logo