diff options
| author | Caleb Connolly <caleb.connolly@linaro.org> | 2025-04-11 14:47:38 +0200 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2025-05-02 08:38:02 -0600 |
| commit | 993a9db918af451c68851522c8770e582b717629 (patch) | |
| tree | bb2407b5b6ee6d5a263b4262506b0247ee511c30 /common/event.c | |
| parent | 45acd9d2d4ec84775d09c73aab75a4fd989beb41 (diff) | |
event: signal when livetree has been built
OF_LIVE offers a variety of benefits, one of them being that the live
tree can be modified without caring about the underlying FDT. This is
particularly valuable for working around U-Boot limitations like lacking
USB superspeed support on Qualcomm platforms, no runtime OTG, or
peripherals like the sdcard being broken (and displaying potentially
worrying error messages).
Add an event to signal when the live tree has been built so that we can
apply fixups to it directly before devices are bound.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'common/event.c')
| -rw-r--r-- | common/event.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/event.c b/common/event.c index dda569d4478..8d7513eb10b 100644 --- a/common/event.c +++ b/common/event.c @@ -48,6 +48,9 @@ const char *const type_name[] = { /* main loop events */ "main_loop", + + /* livetree has been built */ + "of_live_init", }; _Static_assert(ARRAY_SIZE(type_name) == EVT_COUNT, "event type_name size"); |
