diff options
author | Simon Glass <sjg@chromium.org> | 2018-05-16 09:42:25 -0600 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-06-03 15:27:21 +0200 |
commit | 329da4850c61994b83c025da68e1966a1259fd00 (patch) | |
tree | 90f772d0442b2d50e0cd827c3bbfe596c5c74905 /common/bootm.c | |
parent | bb223b7f20269c0743f7446540b6acf148262dbb (diff) | |
download | u-boot-329da4850c61994b83c025da68e1966a1259fd00.tar.gz |
Define board_quiesce_devices() in a shared location
This undocumented function relies on arch-specific code to declare a nop
weak version. Add the weak function in common code instead to avoid having
to duplicate the same function in each arch.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'common/bootm.c')
-rw-r--r-- | common/bootm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/bootm.c b/common/bootm.c index a0ffc1cd67..e789f6818a 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -46,6 +46,10 @@ static const void *boot_get_kernel(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], bootm_headers_t *images, ulong *os_data, ulong *os_len); +__weak void board_quiesce_devices(void) +{ +} + #ifdef CONFIG_LMB static void boot_start_lmb(bootm_headers_t *images) { |