u-boot-brain/arch/powerpc/cpu/mpc85xx
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
..
b4860_ids.c powerpc: B4420: Remove macro CONFIG_PPC_B4420 2016-11-23 23:42:12 -08:00
b4860_serdes.c powerpc: B4420: Remove macro CONFIG_PPC_B4420 2016-11-23 23:42:12 -08:00
bsc9132_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
c29x_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
cmd_errata.c mpc85xx: pcie: Implement workaround for Erratum A007815 2017-01-24 13:28:31 -08:00
commproc.c ppc: Move dp_alloc_base, dp_alloc_top to arch_global_data 2013-02-04 09:05:43 -05:00
config.mk powerpc: remove redundant CPU definition 2014-07-30 14:42:03 -04:00
cpu_init_early.c powerpc: QEMU_E500: Remove macro CONFIG_QEMU_E500 2016-11-23 23:42:12 -08:00
cpu_init.c sata: Move drivers into new drivers/ata directory 2017-07-11 10:08:19 -06:00
cpu.c powerpc: Remove unneccessary #ifdefs in reginfo 2017-07-22 22:22:49 -04:00
ether_fcc.c net: mii: Use spatch to update miiphy_register 2016-08-15 15:26:33 -05:00
fdt.c fdt: Move fdt_fixup_ethernet to a common place 2017-05-01 09:11:59 -04:00
fsl_corenet_serdes.c Merge git://git.denx.de/u-boot-mpc85xx 2016-11-29 19:42:48 -05:00
fsl_corenet_serdes.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_corenet2_serdes.c powerpc: T4240QDS: Remove macro CONFIG_T4240QDS 2016-11-23 23:42:15 -08:00
fsl_corenet2_serdes.h powerpc/asm: Move function declaration of 'serdes_get_prtcl' to fsl_serdes.h 2013-08-09 12:41:41 -07:00
interrupts.c mpc85xx: fix interrupt init to not affect watchdog 2014-08-01 14:17:44 -07:00
Kconfig Convert CONFIG_CMD_SATA to Kconfig 2017-07-11 10:08:19 -06:00
liodn.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
Makefile powerpc: mpc85xx: Remove variant SoCs T1020/T1022/T1013/T1014 2017-01-04 19:40:20 -05:00
mp.c Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
mp.h powerpc/mpc85xx: Rewrite spin table to comply with ePAPR v1.1 2012-10-22 14:31:32 -05:00
mpc8536_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8544_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8548_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8568_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8569_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8572_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1010_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1021_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1022_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1023_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p2020_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p2041_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
p2041_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p3041_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
p3041_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p4080_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
p4080_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p5020_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
p5020_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p5040_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
p5040_serdes.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
pci.c powerpc: MPC8555CDS: Remove macro CONFIG_MPC8555CDS 2016-11-23 23:42:05 -08:00
portals.c powerpc/mpc85xx: Don't deref NULL if qman portal lacks cell-index 2015-05-04 09:24:57 -07:00
qe_io.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
release.S remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
resetvec.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
serial_scc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
speed.c arch: powerpc: update the eLBC IP input clock 2017-02-03 14:31:45 -08:00
spl_minimal.c powerpc/mpc85xx: Fix boot_flag for calling board_init_f() 2014-05-13 08:31:22 -07:00
start.S powerpc: e6500: Lock/unlock 1 cache instead of L1 as init_ram 2017-04-17 09:03:30 -07:00
t1024_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t1024_serdes.c powerpc: t1024: Fix SRDS_MAX_LANES value 2017-05-15 09:48:49 -07:00
t1040_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t1040_serdes.c arch/powerpc: Add SGMII support for the L2 Switch ports 2015-01-16 09:32:26 -08:00
t2080_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t2080_serdes.c powerpc: T2080, T2081: Remove macro CONFIG_PPC_T2080 and CONFIG_PPC_T2081 2016-11-23 23:42:15 -08:00
t4240_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t4240_serdes.c powerpc: T4080: Drop configuration for T4080 2016-11-23 23:42:16 -08:00
tlb.c powerpc: Remove __ilog2_u64 and ffs4 from bitops 2015-11-05 16:47:05 -05:00
traps.c powerpc: get rid of addr_probe() 2017-07-22 22:22:48 -04:00
u-boot-nand_spl.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00
u-boot-nand.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00
u-boot-spl.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00
u-boot.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00