summaryrefslogtreecommitdiffstats
path: root/include/configs/M52277EVB.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2017-07-13 15:09:54 +0200
committerTom Rini <trini@konsulko.com>2017-07-22 22:22:49 -0400
commitf3603b438283aa3e47b7bc564ded4b75c6ccf051 (patch)
tree6230a611264cdcbf20c18fb87e41bd392be4f5c8 /include/configs/M52277EVB.h
parentf1cd73674ff19e62c69c942f23abb061c0a26072 (diff)
downloadu-boot-f3603b438283aa3e47b7bc564ded4b75c6ccf051.tar.gz
u-boot-f3603b438283aa3e47b7bc564ded4b75c6ccf051.tar.xz
u-boot-f3603b438283aa3e47b7bc564ded4b75c6ccf051.zip
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>
Diffstat (limited to 'include/configs/M52277EVB.h')
-rw-r--r--include/configs/M52277EVB.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/M52277EVB.h b/include/configs/M52277EVB.h
index fc9b26ff46..e7d99baf25 100644
--- a/include/configs/M52277EVB.h
+++ b/include/configs/M52277EVB.h
@@ -35,9 +35,6 @@
#define CONFIG_BOOTP_GATEWAY
#define CONFIG_BOOTP_HOSTNAME
-/* Command line configuration */
-#define CONFIG_CMD_REGINFO
-
#define CONFIG_HOSTNAME M52277EVB
#define CONFIG_SYS_UBOOT_END 0x3FFFF
#define CONFIG_SYS_LOAD_ADDR2 0x40010007