Hi all,
Did anybody get a chance to review those 5 small patches? I would like
to get some feedback and work on it, if needed - to get them upstream.
On 10/17/2011 05:24 PM, Joachim Foerster wrote:
> This patch series comprises small, but relevant fixes, regarding the
> driver for Altera
set - including other really, really minor stuff.
> I am going to test your patches on 3C120 and NEEK boards. And will let
> you know my results.
Ok, thanks.
--
Joachim Foerster
Missing Link Electronics
http://www.missinglinkelectronics.com
Office EU: +49 (731) 141-149-0
Office
This patch series comprises small, but relevant fixes, regarding the
driver for Altera's TSE ip core. They are needed to make it run on a
Terasic DE4 board.
The new feature is the support for dedicated descriptor memory.
Joachim Foerster (5):
altera_tse: Clear SGDMA's RUN bit in asyn
Signed-off-by: Joachim Foerster
---
Changes for v2:
- Remove period from end of summary line
- Fix typo in added comment in code
drivers/net/altera_tse.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/net/altera_tse.c b/drivers/net
The SW_RESET needs to be set instead of being masked out!
Signed-off-by: Joachim Foerster
---
Changes for v2:
- Remove period from end of summary line
- Be more specific in commit message
drivers/net/altera_tse.c |8
1 files changed, 4 insertions(+), 4 deletions
Signed-off-by: Joachim Foerster
---
Changes for v2:
- Remove period from end of summary line
board/altera/nios2-generic/nios2-generic.c | 10 +-
drivers/net/altera_tse.c | 19 ---
include/netdev.h |3 ++-
3
Note: This is kind of guess work. The current code is preserved for
all RGMII related modes. It is different for flags=0 (GMII) and flags=5
(SGMII). The last case, SGMII, is successfully tested on
Altera's Terasic DE4.
Signed-off-by: Joachim Foerster
---
Changes for v2:
- Remove p
It seems to be good practice to return the number of received bytes in the
eth_device's recv() callback, here: tse_eth_rx().
Signed-off-by: Joachim Foerster
---
Changes for v2:
- Remove period from end of summary line
- Be more precise why/add reason to commit message
dr
The main motivation is, to have the local-mac-address property of the
ethernet peripherals fixed/synced with U-Boot's environment settings.
Signed-off-by: Joachim Foerster
---
arch/nios2/cpu/Makefile |1 +
arch/nios2/cpu/fdt.c| 53 +
Note: This is kind of guess work. The current code is preserved for
all RGMII related modes. It is different for flags=0 (GMII) and flags=5
(SGMII). The last case, SGMII, is successfully tested on
Altera's Terasic DE4.
Signed-off-by: Joachim Foerster
---
drivers/net/altera_tse.c |
The SW_RESET needs to be set!
Signed-off-by: Joachim Foerster
---
drivers/net/altera_tse.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c
index c7f8ba9..8bc600a 100644
--- a/drivers/net/altera_tse.c
+++ b
Signed-off-by: Joachim Foerster
---
drivers/net/altera_tse.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c
index 54a944b..c7f8ba9 100644
--- a/drivers/net/altera_tse.c
+++ b/drivers/net/altera_tse.c
@@ -199,6
This patch series comprises small, but relevant fixes, regarding the
driver for Altera's TSE ip core. They are needed to make it run on a
Terasic DE4 board.
The new feature is the support for dedicated descriptor memory.
Joachim Foerster (5):
altera_tse: Clear SGDMA's RUN bit in async
Signed-off-by: Joachim Foerster
---
board/altera/nios2-generic/nios2-generic.c | 10 +-
drivers/net/altera_tse.c | 19 ---
include/netdev.h |3 ++-
3 files changed, 27 insertions(+), 5 deletions(-)
diff --git a/board
Signed-off-by: Joachim Foerster
---
drivers/net/altera_tse.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c
index 04e19cb..c4ff8c7 100644
--- a/drivers/net/altera_tse.c
+++ b/drivers/net/altera_tse.c
@@ -323,6 +323,8
This driver may handle multiple PIO cores and thus needs to be
setup by calling the altera_pio_init() function within the early
board setup routine.
The driver comes with some extras, see below the copyleft header.
Signed-off-by: Joachim Foerster
---
arch/nios2/include/asm/gpio.h
Let's have a dedicated driver for Altera's PIO ip core, which does not
have to be duplicated for each board using PIO.
Joachim Foerster (2):
gpio: Add driver for Altera's PIO core
board/nios2-generic: Use altera_pio driver and remove board specific
driver
arch/nios2/inc
Signed-off-by: Joachim Foerster
---
board/altera/nios2-generic/Makefile |1 -
board/altera/nios2-generic/gpio.c | 71 ---
include/configs/nios2-generic.h |4 ++
3 files changed, 4 insertions(+), 72 deletions(-)
delete mode 100644 board/altera
AFAIK the NIOS2 architecture does not have any possibility to
dynamically switch off the data cache. So _status() always reports 1 and
_enable/_disable() just issue a flush of everything.
For example, common/cmd_elf.c depends on these symbols.
Signed-off-by: Joachim Foerster
---
arch/nios2/cpu
AFAIK the NIOS2 architecture does not have any possibility to
dynamically switch off the data cache. So _status() always reports 1 and
_enable/_disable() just issue a flush of everything.
For example, common/cmd_elf.c depends on these symbols.
Signed-off-by: Joachim Foerster
---
Changes for v2
AFAIK the NIOS2 architecture does not have any possibility to
dynamically switch off the data cache. So _status() always reports 1 and
_enable/_disable() just issue a flush of everything.
For example, common/cmd_elf.c depends on these symbols.
Signed-off-by: Joachim Foerster
---
Changes for v3
Let's have a dedicated driver for Altera's PIO ip core, which does not
have to be duplicated for each board using PIO.
Joachim Foerster (2):
gpio: Add driver for Altera's PIO core
board/nios2-generic: Use altera_pio driver and remove board specific
driver
Changes for v2:
Signed-off-by: Joachim Foerster
---
board/altera/nios2-generic/Makefile |1 -
board/altera/nios2-generic/gpio.c | 71 ---
include/configs/nios2-generic.h |4 ++
3 files changed, 4 insertions(+), 72 deletions(-)
delete mode 100644 board/altera
This driver may handle multiple PIO cores and thus needs to be
setup by calling the altera_pio_init() function within the early
board setup routine.
The driver comes with some extras, see below the copyleft header.
Signed-off-by: Joachim Foerster
Tested-by: Thomas Chou
---
arch/nios2/include
On 10/21/2011 09:21 AM, Thomas Chou wrote:
> On 10/17/2011 11:36 PM, Joachim Foerster wrote:
>> This driver may handle multiple PIO cores and thus needs to be
>> setup by calling the altera_pio_init() function within the early
>> board setup routine.
>>
>> The d
25 matches
Mail list logo