From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 21 Jan 2015 10:46:56 -0500 Subject: [U-Boot] [PATCH] sunxi: Restore lowlevel_init usage In-Reply-To: <1421853845-18437-1-git-send-email-hdegoede@redhat.com> References: <1421853845-18437-1-git-send-email-hdegoede@redhat.com> Message-ID: <20150121154656.GD10826@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jan 21, 2015 at 04:24:05PM +0100, Hans de Goede wrote: > 2 recent sunxi changes have removed the usage of lowlevel_init by moving some > code around and then setting CONFIG_SKIP_LOWLEVEL_INIT. > This is problematic for 2 reasons: > > 1) It does not just stop s_init from being called, it also stops > cpu_init_cp15 from getting called, which is undesirable. > > 2) We want u-boot.bin to be usable standalone, without SPL, some people e.g. > use an upstream u-boot.bin together with Allwinner's boot0 loader. So > u-boot.bin must (re)initialize the gpios, timer, etc. > > This commit restores the lowlevel_init / s_init usage, while keeping the > changes to no longer use the global-data (gd) struct in the SPL. > > Signed-off-by: Hans de Goede Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: