u-boot-brain/arch/powerpc/cpu/mpc86xx
Christophe Leroy f3603b4382 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>
2017-07-22 22:22:49 -04:00
..
cache.S powerpc: add 2 common dcache assembly functions 2015-05-04 09:24:42 -07:00
config.mk powerpc/86xx: Pass -mcpu=7400 to GCC 2016-07-25 12:51:16 -07:00
cpu_init.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cpu.c powerpc: Remove unneccessary #ifdefs in reginfo 2017-07-22 22:22:49 -04:00
fdt.c fdt: Move fdt_fixup_ethernet to a common place 2017-05-01 09:11:59 -04:00
interrupts.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig Convert CONFIG_SCSI to Kconfig 2017-07-11 10:08:19 -06:00
Makefile powerpc: MPC8641: Remove macro CONFIG_MPC8641 2016-11-23 23:42:16 -08:00
mp.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8610_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8641_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
release.S remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
speed.c arch: powerpc: update the eLBC IP input clock 2017-02-03 14:31:45 -08:00
start.S powerpc/mpc86xx: Fix boot_flag for calling board_init_f() 2014-05-13 08:31:22 -07:00
traps.c powerpc: get rid of addr_probe() 2017-07-22 22:22:48 -04:00
u-boot.lds powerpc: Finish updating u-boot*lds scripts for newer binutils 2015-11-10 09:20:29 -05:00