aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-08-21 21:16:49 -0600
committerTom Rini <trini@konsulko.com>2023-08-31 13:16:54 -0400
commite7f59dea880ea25078273473c575794dac08dca2 (patch)
treeabc15fd765fe7f78db8ded4cfa35be3c3324dc5c /common
parentba5e3e1ed0afb3daa446d2168e5c8c9fe119cbaf (diff)
downloadu-boot-e7f59dea880ea25078273473c575794dac08dca2.tar.gz
Revert "initcall: Move to inline function"
Somehow I do not see any inlining with initcalls now. I was sure I saw it when this commit went in, but now it seems to make things worse. This reverts commit 47870afab92fca6e672c03d0dea802a55e200675. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/board_r.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 598155c7753..85860861f0a 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -583,7 +583,10 @@ static int run_main_loop(void)
}
/*
- * We hope to remove most of the driver-related init and do it if/when
+ * Over time we hope to remove these functions with code fragments and
+ * stub functions, and instead call the relevant function directly.
+ *
+ * We also hope to remove most of the driver-related init and do it if/when
* the driver is later used.
*
* TODO: perhaps reset the watchdog in the initcall function after each call?