projects
/
ls2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c377a0c
)
read 2nd word of signature
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 22 Apr 2022 15:12:39 +0000
(16:12 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 22 Apr 2022 15:12:39 +0000
(16:12 +0100)
coldboot/coldboot.c
patch
|
blob
|
history
diff --git
a/coldboot/coldboot.c
b/coldboot/coldboot.c
index 5987e7475accf5e1019a64d17cc6dee5c68b8255..ee7b74ae2bf36a15db0786116754118e84923bb5 100644
(file)
--- a/
coldboot/coldboot.c
+++ b/
coldboot/coldboot.c
@@
-232,6
+232,8
@@
int main(void) {
puts(" Soc signature: ");
tmp = readl(SYSCON_BASE + SYS_REG_SIGNATURE);
uart_writeuint32(tmp);
+ tmp = readl(SYSCON_BASE + SYS_REG_SIGNATURE+4);
+ uart_writeuint32(tmp);
puts(" Soc features: ");
ftr = readl(SYSCON_BASE + SYS_REG_INFO);
if (ftr & SYS_REG_INFO_HAS_UART)