| 5bda114b | 16-Mar-2018 |
Christophe Leroy <christophe.leroy@c-s.fr> |
UPSTREAM: powercp: mpc8xx: move commproc.h
include/commproc.h is dedicated to the 8xx, rename it cpm_8xx.h and move it into arch/powerpc/include/asm
Change-Id: I37b02101bd88b607f0f9eca79fdbb7cc1e85
UPSTREAM: powercp: mpc8xx: move commproc.h
include/commproc.h is dedicated to the 8xx, rename it cpm_8xx.h and move it into arch/powerpc/include/asm
Change-Id: I37b02101bd88b607f0f9eca79fdbb7cc1e85ed4d Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 18f8d4c60d26e6cd113461c5d716c64897c3f112)
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 ...
|
| 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 ...
|