From 192a48fc5e9e98841695a95f4c80fd2116f3e69f Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 22 Apr 2022 16:12:39 +0100 Subject: [PATCH] read 2nd word of signature --- coldboot/coldboot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coldboot/coldboot.c b/coldboot/coldboot.c index 5987e74..ee7b74a 100644 --- 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) -- 2.30.2