Re: [U-Boot] [PATCH 1/2] sunxi: Turn satapwr on from board_init

2016-03-22 Thread Ian Campbell
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 i

[U-Boot] [PATCH 1/2] sunxi: Turn satapwr on from board_init

2016-03-22 Thread Hans de Goede
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 g