From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Tue, 11 Jun 2019 08:44:42 +0000 (UTC) Subject: [U-Boot] [PATCH v2] pinctrl: imx: Define imx6_pinctrl_soc_info in .data section In-Reply-To: <20190423144451.31949-1-lukma@denx.de> Message-ID: <20190611084445.0C2BBC220C0@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > This commit is necessary to be able to re-use the pinctrl code in early > SPL to properly configure pins. > The problem is that those "static" structures (without explicit > initialization) are placed in the SDRAM area, which corresponds to > u-boot proper (not even SPL). > Hence, when one wants to configure pins before relocation via DTS/DM, > the board hangs (imx6q SoC powered one) as only OCRAM area is available > (0x009xxxxx). > This commit prevents from this issue by moving the imx6_pinctrl_soc_info > structure to data section (from BSS). > Signed-off-by: Lukasz Majewski > Reviewed-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================