Commit 32df39c741788e8637cffe6633d73594b26d70fb
mx5: fix get_reset_cause
commit d9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb sets get_reset_cause() as static, but this conflicts with mx5 where its prototype is in sys_proto.h. Drop it from sys_proto.h and drop print_cpuinfo from mx53_loco, factorizing the call for this board. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Jason Liu <jason.hui@linaro.org>
Showing 3 changed files with 2 additions and 17 deletions Side-by-side Diff
... | ... | @@ -366,22 +366,6 @@ |
366 | 366 | return 0; |
367 | 367 | } |
368 | 368 | |
369 | -#if defined(CONFIG_DISPLAY_CPUINFO) | |
370 | -int print_cpuinfo(void) | |
371 | -{ | |
372 | - u32 cpurev; | |
373 | - | |
374 | - cpurev = get_cpu_rev(); | |
375 | - printf("CPU: Freescale i.MX%x family rev%d.%d at %d MHz\n", | |
376 | - (cpurev & 0xFF000) >> 12, | |
377 | - (cpurev & 0x000F0) >> 4, | |
378 | - (cpurev & 0x0000F) >> 0, | |
379 | - mxc_get_clock(MXC_ARM_CLK) / 1000000); | |
380 | - printf("Reset cause: %s\n", get_reset_cause()); | |
381 | - return 0; | |
382 | -} | |
383 | -#endif | |
384 | - | |
385 | 369 | /* |
386 | 370 | * Do not overwrite the console |
387 | 371 | * Use always serial for U-Boot console |
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65
-
mentioned in commit a80a65