From: Ian Campbell Date: Tue, 22 Mar 2016 21:50:22 +0000 Subject: [U-Boot] [PATCH 1/2] sunxi: Turn satapwr on from board_init In-Reply-To: <1458679744-13831-1-git-send-email-hdegoede@redhat.com> References: <1458679744-13831-1-git-send-email-hdegoede@redhat.com> Message-ID: <1458683422.28250.87.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 Tue, 2016-03-22 at 21:49 +0100, Hans de Goede wrote: > There are 2 reasons for doing this: > > 1) The main reason for doing this is to move it outside of > ???board/sunxi/ahci.c, so that it can be used on boards which use > ???a usb<->sata chip too; > 2) While doing this I realized that doing it from board_init also > meant > ???doing it much earlier. Some printf get_timer(0) calls show that > the > ???time between board_init() and scsi_init() is more then 600 ms, > ???so we can drop the mdelay(500) > > While at it also drop the printf("SUNXI SCSI INIT\n") AHCI init is > noisy enough by itself. > > Signed-off-by: Hans de Goede Both: Acked-by: Ian Campbell