Skip to content

Commit 23f1f6d

Browse files
loader: hot-fix for RPi4B
See #401 for motivation. I am going on leave until the start of January so to get at least the single-core configuration of RPi4B I am making this hot-fix right now. Signed-off-by: Ivan Velickovic <[email protected]>
1 parent ca58186 commit 23f1f6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

loader/src/aarch64/init.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ void arch_init(void)
9797
puts("LDR|ERROR: unknown EL level for MMU disable\n");
9898
}
9999

100+
// TODO: handle non-PSCI platforms better, see https://github.com/seL4/microkit/issues/401.
101+
#if !defined(CONFIG_PLAT_BCM2711)
100102
uint32_t ret = arm_smc32_call(PSCI_FUNCTION_VERSION, /* unused */ 0, 0, 0);
101103
/* the return value has no error codes, but if we get it wrong this is what we will get */
102104
if (ret == PSCI_RETURN_NOT_SUPPORTED) {
@@ -112,6 +114,7 @@ void arch_init(void)
112114
putdecimal(minor);
113115
puts("\n");
114116
}
117+
#endif
115118
}
116119

117120
typedef void (*sel4_entry)(

0 commit comments

Comments
 (0)