ff83066c | 30-Apr-2018 |
Bryan O'Donoghue <pure.logic@nexus-software.ie> |
nios2: Define PLATFORM__CLEAR_BIT for generic_clear_bit()
nios2 bitops.h provides a __clear_bit() but does not define PLATFORM__CLEAR_BIT as a result generic_clear_bit() is used instead of the archi
nios2: Define PLATFORM__CLEAR_BIT for generic_clear_bit()
nios2 bitops.h provides a __clear_bit() but does not define PLATFORM__CLEAR_BIT as a result generic_clear_bit() is used instead of the architecturally provided __clear_bit().
This patch defines PLATFORM__CLEAR_BIT which means that __clear_bit() in nios2 bitops.h will be called whenever generic_clear_bit() is called - as opposed to the default cross-platform generic_clear_bit().
Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie> Cc: Thomas Chou <thomas@wytron.com.tw>
show more ...
|
f5b76de4 | 13-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 | 02-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 ...
|