handle a little more memory usage.
---
Kconfig | 9 +++--
configs/10m50_defconfig | 1 +
configs/3c120_defconfig | 1 +
Reviewed-by: Thomas Chou
rs so far.
Maybe you can pick up this serial
(or at least pick up this one which fixes build error).
Applied to nios branch. Thanks and sorry for late response.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listi
ses.
Applied to nios branch. Thanks and sorry for late response.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
oc_serial_setbrg() implementation
drivers/serial/opencores_yanu.c | 52 +
1 file changed, 11 insertions(+), 41 deletions(-)
Best regards,
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http
y mails about such warnings on different architectures.
This patch limits itself to the nios2 architecture.
Applied. Thanks a lot.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
This patch implements the generic board init as described in
doc/README.generic-board.
Signed-off-by: Thomas Chou
Signed-off-by: Scott McNutt
---
arch/nios2/config.mk|2 +
arch/nios2/cpu/cpu.c| 12 +++-
arch/nios2/cpu/start.S | 34 -
arch/nios2
This patch implements the generic board init as described in
doc/README.generic-board.
Signed-off-by: Thomas Chou
Signed-off-by: Scott McNutt
---
arch/nios2/config.mk|2 +
arch/nios2/cpu/cpu.c| 12 +++-
arch/nios2/cpu/start.S | 34 -
arch/nios2
This patch implements the generic board init as described in
doc/README.generic-board.
Signed-off-by: Thomas Chou
Signed-off-by: Scott McNutt
Reviewed-by: Stefan Roese
---
Changes in v2:
- Coding style clean up
arch/nios2/config.mk|2 +
arch/nios2/cpu/cpu.c| 12
Signed-off-by: Thomas Chou
---
arch/nios2/Kconfig |8 --
board/psyent/common/AMDLV065D.c | 170
board/psyent/pci5441/Kconfig | 15 ---
board/psyent/pci5441/MAINTAINERS |6 -
board/psyent/pci5441/Makefile|8 --
board/psyent
This patch implements the generic board init as described in
doc/README.generic-board.
Signed-off-by: Thomas Chou
Signed-off-by: Scott McNutt
Reviewed-by: Stefan Roese
---
Changes in v2:
- Coding style clean up
Changes in v3:
- Add display cpu and board info to nios2-generic board
arch
The Altera EPCS is SPI flash. We have been using SPI flash driver
to access EPCS for years. The old EPCS driver could be removed.
Signed-off-by: Thomas Chou
---
arch/nios2/cpu/Makefile |2 +-
arch/nios2/cpu/epcs.c | 717 ---
include/nios2
Applied.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Applied.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Applied.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Tom,
Please pull
The following changes since commit 7f6b8315d18f683c5181d0c3694818c1b2a20dcd:
buildman: refactor help message (2014-08-22 10:42:36 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Thomas Chou (3):
nios2: remove obsolete
Hi Masahiro,
On 08/25/2014 09:37 AM, Masahiro Yamada wrote:
Commit 70fbc461 removed obsolete PCI5441 and PK1C20 boards.
This commit adds them to README.scrapyard and also fills
some commit IDs and dates for removed boards.
Signed-off-by: Masahiro Yamada
Cc: Thomas Chou
---
doc
The epled driver was replaced by altera_pio and gpio_led.
Signed-off-by: Thomas Chou
---
board/altera/common/epled.c | 46 ---
board/altera/nios2-generic/Makefile |1 -
2 files changed, 0 insertions(+), 47 deletions(-)
delete mode 100644 board
will help modularity and maintenance.
Signed-off-by: Thomas Chou
---
arch/nios2/cpu/cpu.c |1 -
arch/nios2/cpu/interrupts.c | 20 +-
arch/nios2/cpu/sysid.c|8 ++-
drivers/serial/altera_jtag_uart.c | 20 +-
drivers/serial/altera_uart.c | 39
The nios2.h is nios2 cpu specific, and should go arch asm
directory.
Signed-off-by: Thomas Chou
---
arch/nios2/cpu/cpu.c |2 +-
arch/nios2/cpu/interrupts.c|2 +-
arch/nios2/include/asm/nios2.h | 40
include/nios2.h
The nios2-yanu.h contains hardware registers and bits of
opencores yanu. As there is no other user of this header
, it should be moved into the driver.
Signed-off-by: Thomas Chou
CC: Renato Andreola
---
drivers/serial/opencores_yanu.c | 87 +-
include/nios2
This patch changes the link script to base at CONFIG_SYS_MONITOR_BASE.
Then we can remove the text_base hook in nios2-generic board.
Signed-off-by: Thomas Chou
---
arch/nios2/cpu/u-boot.lds |2 +
board/altera/nios2-generic/Makefile|1 -
board/altera/nios2
/cpu/fdt.c
+++ b/arch/nios2/cpu/fdt.c
@@ -34,7 +34,5 @@ void ft_cpu_setup(void *blob, bd_t *bd)
* Note: aliases in the dts are required for this
*/
fdt_fixup_ethernet(blob);
-
- return 0;
}
#endif /* CONFIG_OF_LIBFDT && CONFIG_OF_BOARD_SETUP */
Acked-by
This patch changes the link script to base at CONFIG_SYS_MONITOR_BASE.
Then we can remove the text_base hook in nios2-generic board.
Signed-off-by: Thomas Chou
---
Changes in v2:
- Remove text_base_hook() proto in nios2-generic.c
arch/nios2/cpu/u-boot.lds |2 +
board
Though nios2-generic board meant to be a template, it is helpful
to be able to test on a real hardware. As the nios2 linux is
developed and tested on a 3c120 FPGA based Golden Hardware Reference
Design, it makes sense to rebase nios2-generic on this FPGA design.
Signed-off-by: Thomas Chou
Hi Thomas,
On 08/25/2014 04:05 PM, Thomas Chou wrote:
The epled driver was replaced by altera_pio and gpio_led.
Signed-off-by: Thomas Chou
Applied.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Thomas,
On 08/25/2014 04:53 PM, Thomas Chou wrote:
The nios2-io.h defines hardware registers and bits of several FPGA
IP cores. It could be divided in to the specific drivers, including
altera timer, altera sysid, altera uart and altera jtag uart. The
altera pio and altera spi drivers use
On 08/25/2014 05:48 PM, Thomas Chou wrote:
The nios2-yanu.h contains hardware registers and bits of
opencores yanu. As there is no other user of this header
, it should be moved into the driver.
Signed-off-by: Thomas Chou
CC: Renato Andreola
Applied
On 08/25/2014 05:10 PM, Thomas Chou wrote:
The nios2.h is nios2 cpu specific, and should go arch asm
directory.
Signed-off-by: Thomas Chou
Applied.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 08/28/2014 05:35 PM, Thomas Chou wrote:
This patch changes the link script to base at CONFIG_SYS_MONITOR_BASE.
Then we can remove the text_base hook in nios2-generic board.
Signed-off-by: Thomas Chou
---
Changes in v2:
- Remove text_base_hook() proto in nios2-generic.c
Applied
On 08/30/2014 05:47 PM, Thomas Chou wrote:
Though nios2-generic board meant to be a template, it is helpful
to be able to test on a real hardware. As the nios2 linux is
developed and tested on a 3c120 FPGA based Golden Hardware Reference
Design, it makes sense to rebase nios2-generic on this
Hi Tom,
Please pull
The following changes since commit 6defdc0b5552ab1af4a66a8abac8196cbb6b9e15:
Merge branch 'master' of git://git.denx.de/u-boot-ti (2014-08-29 13:47:42
-0400)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Thomas Chou (6):
;callr" instruction to do the job.
Signed-off-by: Thomas Chou
---
arch/nios2/cpu/cpu.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/arch/nios2/cpu/cpu.c b/arch/nios2/cpu/cpu.c
index 6379534..d9c3003 100644
--- a/arch/nios2/cpu/cpu.c
+++ b/arch/nios2/cpu
On 08/13/2010 10:52 AM, Mike Frysinger wrote:
> On Thu, Aug 12, 2010 at 10:40 PM, Thomas Chou wrote:
>> The "Nios II Processor Reference Handbook" said,
>> "call can transfer execution anywhere within the 256 MByte range
>> determined by PC31..28. The Nios
On 08/14/2010 07:51 AM, Brad Parker wrote:
> As a comment, that patch looks pretty ugly. I might suggest an inline
> function (called "callr" or "nios2_callr") which
> encapsulates the __asm__. That would make the code much easier to read.
>
> You could put the inline function in one of the asm
Processor Reference Handbook" said,
"call can transfer execution anywhere within the 256 MByte range
determined by PC31..28. The Nios II GNU linker does not automatically
handle cases in which the address is out of this range."
So we have to use registered "callr" inst
t; take are of it.
>
> While we're at it, we can be a bit more clever in the LIST_xxx handling
> and avoid duplicating the list names too.
>
> Signed-off-by: Mike Frysinger
> ---
> v2
> - keep $(...) style consistent
Build nios2 targets
Add smc_write_hwaddr() to set mac address.
Clear dev before use.
Signed-off-by: Thomas Chou
---
drivers/net/smc9.c | 40
1 files changed, 24 insertions(+), 16 deletions(-)
diff --git a/drivers/net/smc9.c b/drivers/net/smc9.c
index 54a1bfb
Add smc_write_hwaddr() to set mac address.
Clear dev before use.
Signed-off-by: Thomas Chou
---
drivers/net/smc9.c | 40
1 files changed, 24 insertions(+), 16 deletions(-)
diff --git a/drivers/net/smc9.c b/drivers/net/smc9.c
index 54a1bfb
Mike Frysinger wrote:
> On Tuesday, October 05, 2010 21:16:10 Thomas Chou wrote:
>> Add smc_write_hwaddr() to set mac address.
>> Clear dev before use.
>
> how is this different from the one sent earlier today ? when re-submitting,
> you should note what changed.
>
On 10/07/2010 06:27 PM, Detlev Zundel wrote:
> Hi Wolfgang,
>
>> Dear Thomas Chou,
>>
>> In message<4cac0b1e.1050...@wytron.com.tw> you wrote:
>>>
>>> I was confused by the greylisting of denx mail server and wondered why
>>> the firs
changed, 15 insertions(+), 120 deletions(-)
Tested on nios2 boards.
Tested-by: Thomas Chou
Best regards,
Thomas
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 10/31/2011 02:13 PM, Purushothamrao wrote:
Kindly guide me how to configure u-boot to generate u-boot.bin for
NIOS-2 processor.
Dear Purushothamrao,
Please follow the wiki page,
http://alterawiki.com/wiki/DasUBoot
Best regards,
Thomas
___
U-Boo
Hi Mike,
I got this warning on cmd_sf.c,
cmd_sf.c: In function `spi_flash_update_block':
cmd_sf.c:130: warning: unsigned int format, size_t arg (arg 4)
cmd_sf.c:135: warning: unsigned int format, size_t arg (arg 3)
It was related to our arch/avr32|blackfin|nios2/asm/posix_types.h
typedef unsig
.
Tested-by: Thomas Chou
I would suggest splitting this patch into three, as they related to
different custodians.
Best regards,
Thomas
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Dear Wolfgang,
The following changes since commit bfcc40bb09b05c90cc3b1496abb270eb8aa72134:
Merge branch 'next' of ../next (2011-12-23 20:53:58 +0100)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Stefan Kristiansson (1):
nios2: add flush_dcache_ran
On 04/24/2012 09:38 AM, thomas wrote:
The following changes since commit 61ddce07f8b96c5df7d00466b4da9edaecb0eff1:
sandbox: Use the new run_command() (2012-04-23 22:53:54 +0200)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Thomas Chou (1
. Also, add a weak implementation
of default_serial_console() returning this driver.
Signed-off-by: Marek Vasut
Cc: Marek Vasut
Cc: Tom Rini
Cc: Thomas Chou
---
common/serial.c |2 ++
drivers/serial/altera_jtag_uart.c | 71 +
2
insertions(+), 12 deletions(-)
Dear Marek,
Please include the following headers.
--- a/drivers/serial/altera_uart.c
+++ b/drivers/serial/altera_uart.c
@@ -26,6 +26,8 @@
#include
#include
#include
+#include
+#include
DECLARE_GLOBAL_DATA_PTR;
Otherwise,
Acked-by: Thomas Chou
Best
3254 23181 161885 2785d /home/thomas/tmp/u-boot/u-boot
Thank you very much.
Best regards
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 02/20/2012 03:34 PM, Alex Hornung wrote:
* Copy over Blackfin's get_ticks and get_tbclk - they work just fine on
Nios2.
Signed-off-by: Alex Hornung
---
arch/nios2/cpu/interrupts.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
Dear Alex,
Applied.
On 02/20/2012 03:45 PM, Alex Hornung wrote:
On 20/02/12 07:33, Alex Hornung wrote:
* Before, the normal altera UART driver was compiled in unconditionally
and the JTAG UART was missed out.
* Work around this by conditionalizing the driver to use based on the
UART choice in the user'
On 02/21/2012 07:45 AM, Alex Hornung wrote:
* Adjust the GBL_DATA_OFFSET to account for the fact that we'll be
using the space between that offset and the start of the malloc
region to allocate both a gd structure and a board info structure.
* This fixes a memory corruption bug due t
Dear Wolfgang,
The following changes since commit 2acca35ce4604dcef933f07d90aa9c9c930e1049:
Merge branch 'master' of git://git.denx.de/u-boot-mmc (2012-02-17 23:54:46
+0100)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Alex Hornung (2):
nios2: imp
As suggested by Graeme Russ, move gd and bd data structrures
to BSS instead of calculating the locations around the stack
and heap.
CC: Graeme Russ
CC: Mike Frysinger
CC: Alex Hornung
Signed-off-by: Thomas Chou
---
For u-boot.
arch/nios2/lib/board.c | 13 ++---
include
As suggested by Graeme Russ, move gd and bd data structrures
to BSS instead of calculating the locations around the stack
and heap.
Signed-off-by: Thomas Chou
---
For u-boot.
v2, mark gd/bd static
arch/nios2/lib/board.c | 12 +---
include/configs/nios2-generic.h | 12
Dear Wolfgang,
On 03/31/2012 05:58 AM, Wolfgang Denk wrote:
Just one note:
After you have pulled these patches, we should also apply two
other patches of the series from from Stefan Kristiansson:
http://patchwork.ozlabs.org/patch/123622/ 1/3
http://patchwork.ozlabs.org/patch/123623/
Dear Wolfgang,
On 04/02/2012 10:40 AM, Thomas Chou wrote:
Dear Wolfgang,
On 03/31/2012 05:58 AM, Wolfgang Denk wrote:
Just one note:
After you have pulled these patches, we should also apply two
other patches of the series from from Stefan Kristiansson:
http://patchwork.ozlabs.org/patch
Dear Wolfgang,
On 04/02/2012 10:50 AM, Thomas Chou wrote:
I hit more build error after rc1. I will send new pull request after I
fix them.
The problem was solved with Marek's recent patch as Mike Frysinger said.
http://patchwork.ozlabs.org/patch/149924/
So please pull the u-boot
Signed-off-by: Thomas Chou
---
include/asm-nios2/unaligned.h | 19 +++
1 files changed, 19 insertions(+), 0 deletions(-)
create mode 100644 include/asm-nios2/unaligned.h
diff --git a/include/asm-nios2/unaligned.h b/include/asm-nios2/unaligned.h
new file mode 100644
index
On 03/05/2010 07:40 PM, Mike Frysinger wrote:
> i posted an asm-generic version recently i think you should be able to
> leverage ...
> -mike
>
>
>
Hi Mke,
Thanks. I will take it.
On the other side, I think it will be helpful if we have a generic
bitops.h. We need it for ubifs/ubi support on
status correctly. So we have to poll DQ7, which will be inverted
when the chip is busy.
This feature is enabled with the config def,
CONFIG_SYS_CFI_FLASH_STATUS_POLL
Signed-off-by: Thomas Chou
---
drivers/mtd/cfi_flash.c | 91 +++
1 files changed, 91
The patch follows the asm-generic/unaligned.h patch from
Mike Frysigner.
Signed-off-by: Thomas Chou
---
include/asm-nios2/unaligned.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 include/asm-nios2/unaligned.h
diff --git a/include/asm-nios2/unaligned.h b
on tools generated header
file which contains the devices base address, instead of entering the hex
numbers by hand.
Thomas Chou (28):
nios2: add nios2-generic board
cfi flash: add status polling method for amd flash
serial: move altera uart driver to drivers/serial
serial: move altera
status correctly. So we have to poll DQ7, which will be inverted
when the chip is busy.
This feature is enabled with the config def,
CONFIG_SYS_CFI_FLASH_STATUS_POLL
Signed-off-by: Thomas Chou
---
drivers/mtd/cfi_flash.c | 94 ++-
1 files changed, 92
This patch moves the altera uart driver from cpu/nios2/serial.c to
drivers/serial/altera_uart.c.
The registers access is changed from "volatile struct" to readl()/
writel(). This is consistent with Altera HAL and Linux.
Signed-off-by: Thomas Chou
---
drivers/serial/Makefile
This patch moves the altera jtaguart driver from cpu/nios2/serial.c to
drivers/serial/altera_jtaguart.c.
The registers access is changed from "volatile struct" to readl()/
writel(). This is consistent with Altera HAL and Linux.
Signed-off-by: Thomas Chou
---
drivers/seria
/custom_fpga.h .
Then when you reassign the base address or turn on/off the MMU,
you will only need to regenerate the header file.
Signed-off-by: Thomas Chou
---
MAINTAINERS|1 +
MAKEALL|1 +
Makefile
This patch moves the opencore yanu serial driver to the
drivers/serial directory.
The nios2-yanu.h header is moved to drivers/serial/yanu.h.
The args of writel() are changed to writel(val, port).
Signed-off-by: Thomas Chou
---
drivers/serial/Makefile |1 +
drivers/serial/yanu.c | 187
This patch adds the driver of altera spi controller, which is also
used as epcs/spi flash controller.
With the spi_flash driver, they can replace the epcs driver at
cpu/nios2/epcs.c.
Signed-off-by: Thomas Chou
---
drivers/spi/Makefile |1 +
drivers/spi/altera_spi.c | 103
This driver supports the opencore 10/100 ethernet mac.
Signed-off-by: Thomas Chou
---
drivers/net/Makefile |1 +
drivers/net/ethoc.c | 536 ++
2 files changed, 537 insertions(+), 0 deletions(-)
create mode 100644 drivers/net/ethoc.c
diff
archs.
Signed-off-by: Thomas Chou
---
include/asm-nios2/io.h | 59 +++
1 files changed, 24 insertions(+), 35 deletions(-)
diff --git a/include/asm-nios2/io.h b/include/asm-nios2/io.h
index 01d11ef..11f59ea 100644
--- a/include/asm-nios2/io.h
+++ b
This driver supports the altera triple speeds 10/100/1000 ethernet
mac.
Signed-off-by: Thomas Chou
---
drivers/net/Makefile |1 +
drivers/net/altera_tse.c | 969 ++
drivers/net/altera_tse.h | 500
3 files changed
Just pull in asm-generic.
Signed-off-by: Thomas Chou
---
include/asm-nios2/errno.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 include/asm-nios2/errno.h
diff --git a/include/asm-nios2/errno.h b/include/asm-nios2/errno.h
new file mode 100644
index 000
These are needed to use ubi/ubifs.
Signed-off-by: Thomas Chou
---
include/asm-nios2/bitops.h| 14 +--
include/asm-nios2/bitops/atomic.h | 189 +
include/asm-nios2/bitops/ffs.h| 41 +++
include/asm-nios2/bitops/non-atomic.h | 108
Signed-off-by: Thomas Chou
---
include/asm-nios2/byteorder.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/asm-nios2/byteorder.h b/include/asm-nios2/byteorder.h
index 495c823..dbee62e 100644
--- a/include/asm-nios2/byteorder.h
+++ b/include/asm-nios2
Copy from linux header. This is needed for generic bitops.
Signed-off-by: Thomas Chou
---
include/asm-nios2/system.h | 33 +
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/include/asm-nios2/system.h b/include/asm-nios2/system.h
index ec84f59
This function return cache-line aligned allocation which is mapped
to uncached io region.
Signed-off-by: Thomas Chou
---
include/asm-nios2/dma-mapping.h | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
create mode 100644 include/asm-nios2/dma-mapping.h
diff --git a
We will remove the TEXT_BASE def in board config.mk.
And compute the text base in board config header file.
Signed-off-by: Thomas Chou
---
cpu/nios2/start.S |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/cpu/nios2/start.S b/cpu/nios2/start.S
index 31cd5b0..4b4c560
This gpio core is described in http://nioswiki.com/GPIO.
Signed-off-by: Thomas Chou
---
include/asm-nios2/gpio.h | 72 ++
1 files changed, 72 insertions(+), 0 deletions(-)
create mode 100644 include/asm-nios2/gpio.h
diff --git a/include/asm-nios2
is updated with the removal of serial.c and
epcs.c, as the serial drivers are moved to drivers/serial/ and the
epcs flash is supported with altera_spi and spi_flash drivers.
Signed-off-by: Thomas Chou
---
cpu/nios2/Makefile |2 +-
cpu/nios2/interrupts.c | 64 +-
This patch adds various initializations for eth, flash protection,
no flash, nand flash and mmc.
Signed-off-by: Thomas Chou
---
lib_nios2/board.c | 33 +
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/lib_nios2/board.c b/lib_nios2/board.c
index
The bootargs passing to nios2 linux is enabled with 'NIOS' magic as
the first argument.
Signed-off-by: Thomas Chou
---
lib_nios2/bootm.c | 19 ---
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/lib_nios2/bootm.c b/lib_nios2/bootm.c
index 675bfa
The args to writel() is changed to (val,port).
The base address is renamed to CONFIG_SYS_LED_PIO_BASE,
which is consistent with the name used in altera example
designs.
Signed-off-by: Thomas Chou
---
board/altera/common/epled.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions
Ths patch adds status led driver based on gpio interface.
The STATUS_LED_BIT specifies the gpio pin number.
Signed-off-by: Thomas Chou
---
board/altera/common/gpioled.c | 31 +++
1 files changed, 31 insertions(+), 0 deletions(-)
create mode 100644 board/altera
This patch adds the init and reset of cf card controllers.
Signed-off-by: Thomas Chou
---
board/altera/common/cfide.c | 79 +++
1 files changed, 79 insertions(+), 0 deletions(-)
create mode 100644 board/altera/common/cfide.c
diff --git a/board/altera
The patch converts the ep1s10 board to use the common cfi flash
driver.
The addressing of devices is changed to virtual address.
Signed-off-by: Thomas Chou
---
board/altera/ep1s10/Makefile |2 +-
board/altera/ep1s10/config.mk |2 +-
board/altera/ep1s10/u-boot.lds |1 +
include
The patch converts the ep1c20 board to use the common cfi flash
and spi driver.
The addressing of devices is changed to virtual address.
Signed-off-by: Thomas Chou
---
board/altera/ep1c20/Makefile |2 +-
board/altera/ep1c20/config.mk |2 +-
board/altera/ep1c20/u-boot.lds |1
The patch converts the pci5441 board to use the common cfi flash
driver.
The addressing of devices is changed to virtual address.
Signed-off-by: Thomas Chou
---
board/psyent/pci5441/Makefile |2 +-
board/psyent/pci5441/config.mk |2 +-
board/psyent/pci5441/u-boot.lds |1
This is needed for jffs2 support.
Signed-off-by: Thomas Chou
---
include/linux/stat.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/stat.h b/include/linux/stat.h
index 2ce1c25..cef6369 100644
--- a/include/linux/stat.h
+++ b/include/linux/stat.h
The patch converts the ep1s40 board to use the common cfi flash
driver.
The addressing of devices is changed to virtual address.
Signed-off-by: Thomas Chou
---
board/altera/ep1s40/Makefile |2 +-
board/altera/ep1s40/config.mk |2 +-
board/altera/ep1s40/u-boot.lds |1 +
include
The patch converts the pk1c20 board to use the common cfi flash
and spi driver.
The addressing of devices is changed to virtual address.
The args to writel() is changed to (val,port) in led.c.
Signed-off-by: Thomas Chou
---
board/psyent/pk1c20/Makefile |2 +-
board/psyent/pk1c20
On 03/19/2010 03:43 PM, Thomas Chou wrote:
> These patches are for next u-boot release. I udnerstand the merge window is
> not opened yet. But there are quite a few things to review, so please
> allow me submit them early.
>
> This is a generic approach to port u-boot for nios2 bo
On 03/19/2010 10:55 PM, Peter Tyser wrote:
>>
>> Please disregard these patches. I will resubmit after reorganization.
>>
> Hi Thomas,
> When you resubmit, please use the "--no-chain-reply-to" option for git
> send-email. It will properly thread your patch series to prevent the
> later patch
status correctly. So we have to poll DQ7, which will be inverted
when the chip is busy.
This feature is enabled with the config def,
CONFIG_SYS_CFI_FLASH_STATUS_POLL
Signed-off-by: Thomas Chou
---
drivers/mtd/cfi_flash.c | 94 ++-
1 files changed, 92
Just pull in asm-generic.
Signed-off-by: Thomas Chou
---
include/asm-nios2/errno.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 include/asm-nios2/errno.h
diff --git a/include/asm-nios2/errno.h b/include/asm-nios2/errno.h
new file mode 100644
index 000
These are needed to use ubi/ubifs.
Signed-off-by: Thomas Chou
---
include/asm-nios2/bitops.h| 14 +--
include/asm-nios2/bitops/atomic.h | 189 +
include/asm-nios2/bitops/ffs.h| 41 +++
include/asm-nios2/bitops/non-atomic.h | 108
Copy from linux header. This is needed for generic bitops.
Signed-off-by: Thomas Chou
---
include/asm-nios2/system.h | 33 +
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/include/asm-nios2/system.h b/include/asm-nios2/system.h
index ec84f59
This is needed for jffs2 support.
Signed-off-by: Thomas Chou
---
include/linux/stat.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/stat.h b/include/linux/stat.h
index 2ce1c25..cef6369 100644
--- a/include/linux/stat.h
+++ b/include/linux/stat.h
On 03/22/2010 07:05 PM, Stefan Roese wrote:
> I realise that this is copied from flash_status_check(). There has been a
> discussion and a not yet finished patch for this part. Please take a look at
> this thread:
>
> http://www.mail-archive.com/u-boot@lists.denx.de/msg19297.html
>
> And the last v
dro Rubini
Renato Andreola
Signed-off-by: Thomas Chou
---
drivers/mtd/cfi_flash.c | 78 ++-
1 files changed, 77 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index fdba297..db22255 100644
--- a/drivers/mtd/c
1 - 100 of 958 matches
Mail list logo