rv1126-uboot/arch/powerpc/include/asm
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
..
arch-mpc83xx
arch-mpc85xx
arch-ppc4xx
8xx_immap.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
atomic.h
bitops.h
byteorder.h
cache.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
config.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
config_mpc85xx.h powerpc: mpc85xx: Move macro CONFIG_SYS_PPC64 to Kconfig 2017-01-04 19:40:56 -05:00
config_mpc86xx.h fsl_ddr: Move DDR config options to driver Kconfig 2017-01-04 19:40:41 -05:00
cpm_85xx.h
e300.h
fsl_dma.h
fsl_fdt.h
fsl_i2c.h
fsl_law.h powerpc: MPC8641: Remove macro CONFIG_MPC8641 2016-11-23 23:42:16 -08:00
fsl_lbc.h
fsl_liodn.h
fsl_mpc83xx_serdes.h
fsl_pamu.h
fsl_pci.h mpc85xx: pcie: Implement workaround for Erratum A007815 2017-01-24 13:28:31 -08:00
fsl_portals.h
fsl_secure_boot.h Convert CONFIG_CMD_ESBC_VALIDATE to Kconfig 2017-05-22 09:33:55 -04:00
fsl_serdes.h
fsl_srio.h
global_data.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
gpio.h
immap_83xx.h
immap_85xx.h powerpc: t1024: Fix SRDS_MAX_LANES value 2017-05-15 09:48:49 -07:00
immap_86xx.h
interrupt.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
io.h
iopin_8xx.h powerpc, 8xx: Handle checkpatch errors and some of the warnings/checks 2017-07-08 15:55:34 -04:00
linkage.h
mc146818rtc.h
mmu.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
mp.h
mpc8xxx_spi.h
mpc85xx_gpio.h
mpc8349_pci.h
pci_io.h
posix_types.h
ppc.h powerpc: Remove unneccessary #ifdefs in reginfo 2017-07-22 22:22:49 -04:00
processor.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
ptrace.h
sections.h
sigcontext.h
signal.h
spl.h
string.h
types.h
u-boot.h common: powerpc: Move arch-specific headers 2017-06-05 11:02:40 -04:00
unaligned.h
xilinx_irq.h