From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 16 Dec 2010 14:10:16 +0100 Subject: [U-Boot] [PATCH] config.mk: add drivers as default include PATH In-Reply-To: <20101216121859.0CAE4BB0BA@gemini.denx.de> References: <1292398049-3606-1-git-send-email-macpaul@andestech.com> <20101215105353.06D13D172D3@gemini.denx.de> <20101216121859.0CAE4BB0BA@gemini.denx.de> Message-ID: <4D0A0FB8.5070202@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 16/12/2010 13:18, Wolfgang Denk a ?crit : > SDRAM should not be initialized in lowlevel_init.S. Please use the > (new for ARM, shared with PPC which has always been using this) model > where RAM initialization is done in dram_init(), i. e. as part of the > init sequence in arch/arm/lib/board.c Just a note: some ARM SoCs may not have IRAM easily available (Marvell 5182 for instance; it may not even be able to use its data cache for IRAM). In this case, even setting up a partial C environment for board_init_f may require initializing SDRAM in lowlevel_init.S. Amicalement, -- Albert.