ti: fastboot: Move weak overrides to board files
authorAlex Kiernan <alex.kiernan@gmail.com>
Tue, 29 May 2018 15:30:49 +0000 (15:30 +0000)
committerMarek Vasut <marex@denx.de>
Wed, 30 May 2018 09:59:21 +0000 (11:59 +0200)
commit413b90777f8d9949083688e491e3f4e329d8a5b9
tree88b660dd7dea1534c4647748a6fac4237ce2a2ad
parentd1a119d4f058628a65dd3b95703bd779cd1a44c9
ti: fastboot: Move weak overrides to board files

Overriding fastboot_set_reboot_flag() in arch/arm/mach-omap2/boot-common.c
leaves it applying all boards that derive from this, not just the ones which
have support for Android bootloader flow. Move the weak function override to
the relevant board files.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-omap2/boot-common.c
board/ti/am57xx/board.c
board/ti/dra7xx/evm.c