u-boot-brain/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 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-mpc85xx dm: gpio: MPC85XX GPIO platform data support 2016-07-11 14:06:44 -06:00
arch-ppc4xx powerpc: ppc4xx: Add a gpio.h header file 2015-02-12 10:35:31 -07:00
8xx_immap.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
atomic.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
bitops.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
byteorder.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
cache.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -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
config.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
cpm_85xx.h powerpc: MPC8555: Remove macro CONFIG_MPC8555 2016-11-23 23:42:05 -08:00
e300.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_dma.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fsl_fdt.h t1040d4rdb: assign muxed pins to qe-tdm when set hwconfig qe-tdm 2015-11-02 08:48:20 -08:00
fsl_i2c.h dm: fsl_i2c: Enable DM for FSL I2C 2016-05-17 08:28:55 +02:00
fsl_law.h powerpc: MPC8641: Remove macro CONFIG_MPC8641 2016-11-23 23:42:16 -08:00
fsl_lbc.h powerpc: MPC8560: Remove macro CONFIG_MPC8560 2016-11-23 23:42:05 -08:00
fsl_liodn.h net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
fsl_mpc83xx_serdes.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_pamu.h powerpc/SECURE_BOOT: Add PAMU driver 2016-02-24 08:40:55 -08:00
fsl_pci.h mpc85xx: pcie: Implement workaround for Erratum A007815 2017-01-24 13:28:31 -08:00
fsl_portals.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_secure_boot.h Convert CONFIG_CMD_ESBC_VALIDATE to Kconfig 2017-05-22 09:33:55 -04:00
fsl_serdes.h fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
fsl_srio.h powerpc: Remove __ilog2_u64 and ffs4 from bitops 2015-11-05 16:47:05 -05:00
global_data.h powerpc: Partialy restore core of mpc8xx 2017-07-08 15:55:26 -04:00
gpio.h mpc83xx: Add a GPIO driver for the MPC83XX family 2012-01-09 20:10:33 -06:00
immap_83xx.h Driver/DDR: combine ccsr_ddr for 83xx, 85xx and 86xx 2013-11-25 11:43:46 -08:00
immap_85xx.h powerpc: t1024: Fix SRDS_MAX_LANES value 2017-05-15 09:48:49 -07:00
immap_86xx.h powerpc: MPC8610: Remove macro CONFIG_MPC8610 2016-11-23 23:42:16 -08:00
interrupt.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
io.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
iopin_8xx.h powerpc, 8xx: Handle checkpatch errors and some of the warnings/checks 2017-07-08 15:55:34 -04:00
linkage.h powerpc: Add linkage.h file 2015-02-12 10:35:32 -07:00
mc146818rtc.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mmu.h powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
mp.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8xxx_spi.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
mpc85xx_gpio.h powerpc/mpc85xx: Fix compiling error for common/cmd_gpio.c 2015-05-04 09:26:09 -07:00
mpc8349_pci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
pci_io.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
posix_types.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
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 include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
sections.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sigcontext.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
signal.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
spl.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
string.h Add strcasecmp() and strncasecmp() 2012-12-11 13:17:34 -07:00
types.h fsl_sec: Add hardware accelerated SHA256 and SHA1 2014-10-16 14:17:07 -07:00
u-boot.h common: powerpc: Move arch-specific headers 2017-06-05 11:02:40 -04:00
unaligned.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
xilinx_irq.h mailaddr: Update mail address 2016-01-27 15:32:05 +01:00