diff options
author | Angelo Dureghello <angelo@sysam.it> | 2017-08-20 00:01:55 +0200 |
---|---|---|
committer | Angelo Dureghello <angelo@sysam.it> | 2018-01-23 23:47:02 +0100 |
commit | b9153fe3088a4ea295d6cd23dd44bed51224679a (patch) | |
tree | ade7049b0c4c8b2d18f3a97adf70c1e331dd20a5 /arch/m68k/cpu/mcf532x/cpu.c | |
parent | c761a7e29d703d60208585bb7d8415e00aa22556 (diff) |
common/board_f.c: align m68k arch to use CONFIG_DISPLAY_CPUINFO
Change all coldfire arch files to use CONFIG_DISPLAY_CPUINFO.
Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Reviewed-by: Tom Rini <trini@konsulko.com>
---
Changes for v2:
- update common/Kconfig to add M68K to the default y list
Diffstat (limited to 'arch/m68k/cpu/mcf532x/cpu.c')
-rw-r--r-- | arch/m68k/cpu/mcf532x/cpu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf532x/cpu.c b/arch/m68k/cpu/mcf532x/cpu.c index 46b57e93b4..602c106627 100644 --- a/arch/m68k/cpu/mcf532x/cpu.c +++ b/arch/m68k/cpu/mcf532x/cpu.c @@ -30,7 +30,8 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) return 0; }; -int checkcpu(void) +#if defined(CONFIG_DISPLAY_CPUINFO) +int print_cpuinfo(void) { ccm_t *ccm = (ccm_t *) MMAP_CCM; u16 msk; @@ -95,6 +96,7 @@ int checkcpu(void) return 0; }; +#endif /* CONFIG_DISPLAY_CPUINFO */ #if defined(CONFIG_WATCHDOG) /* Called by macro WATCHDOG_RESET */ |