Define board_quiesce_devices() in a shared location
authorSimon Glass <sjg@chromium.org>
Wed, 16 May 2018 15:42:25 +0000 (09:42 -0600)
committerAlexander Graf <agraf@suse.de>
Sun, 3 Jun 2018 13:27:21 +0000 (15:27 +0200)
commit329da4850c61994b83c025da68e1966a1259fd00
tree90f772d0442b2d50e0cd827c3bbfe596c5c74905
parentbb223b7f20269c0743f7446540b6acf148262dbb
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>
arch/arm/include/asm/u-boot-arm.h
arch/x86/include/asm/u-boot-x86.h
arch/x86/lib/bootm.c
common/bootm.c
include/bootm.h