| 349 | } |
| 350 | |
| 351 | static int generic_console_init(void) |
| 352 | { |
| 353 | if (semihosting_enabled()) |
| 354 | return semihosting_init(); |
| 355 | else |
| 356 | return fdt_serial_init(); |
| 357 | } |
| 358 | |
| 359 | const struct sbi_platform_operations platform_ops = { |
| 360 | .cold_boot_allowed = generic_cold_boot_allowed, |
nothing calls this directly
no outgoing calls
no test coverage detected