diff options
author | Tom Rini <trini@konsulko.com> | 2018-10-15 07:20:07 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-10-15 07:20:07 -0400 |
commit | 6e7a186dc5d50f563e224e9ae7be70defff7ee0d (patch) | |
tree | 6dd8a9f9ec9a8ed48538e6d621a51939a2d36af9 /arch | |
parent | 19ca29f3ff5811e058360aa275208d219b3078c2 (diff) | |
parent | 6e63314f432d32d2ce12a51dafa78129e81fe9cf (diff) | |
download | u-boot-6e7a186dc5d50f563e224e9ae7be70defff7ee0d.zip u-boot-6e7a186dc5d50f563e224e9ae7be70defff7ee0d.tar.gz u-boot-6e7a186dc5d50f563e224e9ae7be70defff7ee0d.tar.bz2 |
Merge tag 'arc-more-updates-for-2018.11-rc2-2' of git://git.denx.de/u-boot-arc
More fixes and improvements for ARC here:
Fixes (this time included for real):
* Take care of global uninitialized variables
They used to be put right after .bss section and were never
zeroed as they should be. Now merged with normal .bss
Improvements:
* Print more verbose CPU info for boards built on real silicon
* Add support for SD-card detection on all ARC boards
* Quite a few fixes for IoT DK
- Support reset by command
- Print of CPU freq on boot
- Link for eFlash etc
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arc/config.mk | 2 | ||||
-rw-r--r-- | arch/arc/lib/cpu.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/config.mk b/arch/arc/config.mk index d255c90..18005d9 100644 --- a/arch/arc/config.mk +++ b/arch/arc/config.mk @@ -43,7 +43,7 @@ PLATFORM_CPPFLAGS += -mcpu=archs endif PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 -mno-sdata -PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections +PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections -fno-common # Needed for relocation LDFLAGS_FINAL += -pie --gc-sections diff --git a/arch/arc/lib/cpu.c b/arch/arc/lib/cpu.c index 50cd7cd..a969a16 100644 --- a/arch/arc/lib/cpu.c +++ b/arch/arc/lib/cpu.c @@ -60,7 +60,7 @@ const char *decode_identity(void) } } -int print_cpuinfo(void) +__weak int print_cpuinfo(void) { printf("CPU: %s\n", decode_identity()); return 0; |