| f5b76de4 | 14-Nov-2015 |
Thomas Chou <thomas@wytron.com.tw> |
nios2: zap ioremap
Zap ioremap(), as it is replaced by map_physmem(,,MAP_NOCACHE).
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Marek Vasut <marex@denx.de> |
| 5c0f9822 | 09-Nov-2015 |
Thomas Chou <thomas@wytron.com.tw> |
nios2: add 10m50 devboard support
Add 10m50 devboard support. It is based on the Golden Hardware Reference Design (GHRD), available at,
http://rocketboards.org/foswiki/view/Documentation/ AlteraMAX
nios2: add 10m50 devboard support
Add 10m50 devboard support. It is based on the Golden Hardware Reference Design (GHRD), available at,
http://rocketboards.org/foswiki/view/Documentation/ AlteraMAX1010M50RevCDevelopmentKitLinuxSetup
Though we supported only one nios2-generic board in the past. Now, with the removal of the nios2-generic board dir, adding new nios2 boards to u-boot is easier than before. It should be helpful to add those boards supported in Linux mainline. There are only two such nios2 boards, the 3c120 devboard and 10m50 devboard. The nios2-generic is actually 3c120, and should restore the name. The 10m50 is this one.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Marek Vasut <marex@denx.de>
show more ...
|
| 9208d7eb | 03-Nov-2015 |
Thomas Chou <thomas@wytron.com.tw> |
nios2: fix cached mode in clearing the BSS
As the generic board runs in cached mode, it should not use "stwio" which bypass the cache.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
nios2: fix cached mode in clearing the BSS
As the generic board runs in cached mode, it should not use "stwio" which bypass the cache.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Chin Liang See <clsee@altera.com>
show more ...
|
| 2de4823d | 27-Oct-2015 |
Thomas Chou <thomas@wytron.com.tw> |
nios2: change virt_to_phys to use physaddr_mask in global data
As virt_to_phys() is used a lot in DMA transfer, change it to use physaddr_mask in global data. This will save an "if" statement and ge
nios2: change virt_to_phys to use physaddr_mask in global data
As virt_to_phys() is used a lot in DMA transfer, change it to use physaddr_mask in global data. This will save an "if" statement and get a little faster.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Marek Vasut <marex@denx.de>
show more ...
|
| 1cda48f3 | 29-Oct-2015 |
Thomas Chou <thomas@wytron.com.tw> |
nios2: remove the useless parenthesis in asm/io.h
Remove the useless parenthesis in asm/io.h as suggested by Marek.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Marek Vasut <marex@de
nios2: remove the useless parenthesis in asm/io.h
Remove the useless parenthesis in asm/io.h as suggested by Marek.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Marek Vasut <marex@denx.de>
show more ...
|
| 8a3ea979 | 22-Oct-2015 |
Thomas Chou <thomas@wytron.com.tw> |
nios2: fix virt_to_phys for nios2 with MMU
As the virtual address and physical address mapping of nios2 with MMU are different. Add a check of MMU, and fix the mapping.
Signed-off-by: Thomas Chou <
nios2: fix virt_to_phys for nios2 with MMU
As the virtual address and physical address mapping of nios2 with MMU are different. Add a check of MMU, and fix the mapping.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Marek Vasut <marex@denx.de> Reviewed-by: Ley Foon Tan <lftan@altera.com>
show more ...
|