]> git.baikalelectronics.ru Git - uboot.git/commit
ide: Move bus init into a function
authorSimon Glass <sjg@chromium.org>
Tue, 25 Apr 2023 16:54:42 +0000 (10:54 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 27 Apr 2023 17:51:06 +0000 (13:51 -0400)
commit6d58e32f8fc7a5083fbdda924adbbfc5e7006314
tree8133fed5c988da0120f65b6efaf271baed53581c
parentc03f03cb5f9e19e80e0d85062a25de94a66633fb
ide: Move bus init into a function

Move this code into a separate function which returns whether the bus was
found, or not.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/ide.c