read 2nd word of signature
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Apr 2022 15:12:39 +0000 (16:12 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Apr 2022 15:12:39 +0000 (16:12 +0100)
coldboot/coldboot.c

index 5987e7475accf5e1019a64d17cc6dee5c68b8255..ee7b74ae2bf36a15db0786116754118e84923bb5 100644 (file)
@@ -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)