]> git.sur5r.net Git - u-boot/commit
mvsata: fix ide_preinit for missing disks
authorSimon Guinot <simon.guinot@sequanux.org>
Mon, 21 Nov 2011 13:55:46 +0000 (19:25 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 6 Dec 2011 22:59:30 +0000 (23:59 +0100)
commit2cb4fade0ef00ebf485db05d6aab4acd8897ecf9
treea9beea80e04f77db0c29dc7d835ff10d88b25cdb
parent0bfb66b6d1497046aac9c4d61f4478a403659f5a
mvsata: fix ide_preinit for missing disks

Consider that ide_preinit() succeed if at least one port is successfully
initialized. This allows to iniatialize IDE support on a board with two
SATA ports but a single hard disk available.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
drivers/block/mvsata_ide.c