mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
iot_dk/hsdk: Implement its own print_cpuinfo()
ARC IDENTITY register only encodes major architecture type and version while for a particular board/silicon we may know better which template was used and so we may identify CPU more precise, which exactly we do here. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
This commit is contained in:
parent
ba9f56f3d4
commit
5b86ca96d0
2 changed files with 16 additions and 0 deletions
|
@ -1046,3 +1046,11 @@ int board_mmc_init(bd_t *bis)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_DISPLAY_CPUINFO
|
||||||
|
int print_cpuinfo(void)
|
||||||
|
{
|
||||||
|
printf("CPU: ARC HS38 v2.1c\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif /* CONFIG_DISPLAY_CPUINFO */
|
||||||
|
|
|
@ -166,3 +166,11 @@ int checkboard(void)
|
||||||
puts("Board: Synopsys IoT Development Kit\n");
|
puts("Board: Synopsys IoT Development Kit\n");
|
||||||
return 0;
|
return 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef CONFIG_DISPLAY_CPUINFO
|
||||||
|
int print_cpuinfo(void)
|
||||||
|
{
|
||||||
|
printf("CPU: ARC EM9D\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif /* CONFIG_DISPLAY_CPUINFO */
|
||||||
|
|
Loading…
Reference in a new issue