72281c5c | 13-Jul-2017 |
Christophe Leroy <christophe.leroy@c-s.fr> |
powerpc: Remove 8260 remainders
commit 2eb48ff7a210d ("powerpc, 8260: remove support for mpc8260") removed support for 8260 CPU.
This patch remove some remainders.
Signed-off-by: Christophe Leroy
powerpc: Remove 8260 remainders
commit 2eb48ff7a210d ("powerpc, 8260: remove support for mpc8260") removed support for 8260 CPU.
This patch remove some remainders.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
show more ...
|
08dd988b | 13-Jul-2017 |
Christophe Leroy <christophe.leroy@c-s.fr> |
powerpc, 8xx: fix missing function declarations.
Add missing .h and add missing declarations in .h Declare local functions as static. Make interrupt_init_cpu function signatures consistent with how
powerpc, 8xx: fix missing function declarations.
Add missing .h and add missing declarations in .h Declare local functions as static. Make interrupt_init_cpu function signatures consistent with how decrementer_count is declared.
Based on warnings reported by 'make C=2'
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> [trini: drop cpu_init_f as 8xx/83xx are different from the rest, rework interrupt_init_cpu/decrementer_count] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
1e7cefef | 13-Jul-2017 |
Christophe Leroy <christophe.leroy@c-s.fr> |
powerpc, 8xx: Move cache function into C files
Avoid unnecessary assembly functions when they can easily be written in C.
Also remove dc_read() as it is nowhere referenced
Signed-off-by: Christoph
powerpc, 8xx: Move cache function into C files
Avoid unnecessary assembly functions when they can easily be written in C.
Also remove dc_read() as it is nowhere referenced
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
show more ...
|
36d32607 | 13-Jul-2017 |
Christophe Leroy <christophe.leroy@c-s.fr> |
powerpc, 8xx: Simplifying check_CPU()
All complex case have been removed and we now only support MPC866 and MPC885 families.
So check_CPU() can be made a lot simpler.
Signed-off-by: Christophe Ler
powerpc, 8xx: Simplifying check_CPU()
All complex case have been removed and we now only support MPC866 and MPC885 families.
So check_CPU() can be made a lot simpler.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
show more ...
|
f3603b43 | 13-Jul-2017 |
Christophe Leroy <christophe.leroy@c-s.fr> |
powerpc: Remove unneccessary #ifdefs in reginfo
reginfo command is calling mpc8xx_reginfo(), mpc85xx_reginfo() or mpc86xx_reginfo() based on CONFIG_ symbol. As those 3 functions can't me defined at
powerpc: Remove unneccessary #ifdefs in reginfo
reginfo command is calling mpc8xx_reginfo(), mpc85xx_reginfo() or mpc86xx_reginfo() based on CONFIG_ symbol. As those 3 functions can't me defined at the same time, let's rename them print_reginfo() to avoid the #ifdefs The name is kept generic as it is not at all dependent on powerpc arch and any other arch could want to also print such information.
In addition, as the Makefile compiles cmd/reginfo.c only when CONFIG_CMD_REGINFO is set, there is no need to enclose the U_BOOT_CMD definition inside a #ifdef CONFIG_CMD_REGINFO
Lets all remove the #ifdefs around the U_BOOT_CMD as this file is only compiled when CONFIG_CMD_REGINFO is defined
Finally, this is a PowerPC-only command, disable it on a number of non-PowerPC platforms.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
f0eda3cb | 13-Jul-2017 |
Christophe Leroy <christophe.leroy@c-s.fr> |
power, timer: reset TBL before TBU
In order to avoid TBU increment due to TBL reaching its max and wrapping, reset TBL before resetting TBU
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> |
93e85d02 | 13-Jul-2017 |
Christophe Leroy <christophe.leroy@c-s.fr> |
powerpc, timer: Does 8xx specific actions in 8xx cpu_init
The actions inside #ifdef CONFIG_8xx in arch/powerpc/lib/time.c can be performed before, in a 8xx dedicated function.
Signed-off-by: Christ
powerpc, timer: Does 8xx specific actions in 8xx cpu_init
The actions inside #ifdef CONFIG_8xx in arch/powerpc/lib/time.c can be performed before, in a 8xx dedicated function.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
show more ...
|
53193a4f | 07-Jul-2017 |
Christophe Leroy <christophe.leroy@c-s.fr> |
powerpc, 8xx: Add support for MCR3000 board from CSSI
CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885 processors
powerpc, 8xx: Add support for MCR3000 board from CSSI
CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885 processors.
This patch adds support for the first board.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
show more ...
|