From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Date: Fri, 14 Nov 2014 15:55:56 +0000 Subject: [U-Boot] [PATCH] sunxi: ahci: Add a delay after enabling target power In-Reply-To: <1415979007-19136-1-git-send-email-hdegoede@redhat.com> References: <1415979007-19136-1-git-send-email-hdegoede@redhat.com> Message-ID: <1415980556.7113.22.camel@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2014-11-14 at 16:30 +0100, Hans de Goede wrote: > If the target power is connected through a gpio, then give the target some > time to power up before continuing with ahci / sata probing, this avoids > link timeouts, without penalizing other boards where there is no target > power gpio. > > Why 500 ms ? I started with 200, that was not enough, then I went to 500 which > worked, lowering it to 350 broke things again, so 500 seems the minimum my > vertex2 needs to be ready to get probed. ;-) > Signed-off-by: Hans de Goede Acked-by: Ian Campbell