From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Griffin Date: Thu, 10 Sep 2015 21:55:15 +0100 Subject: [U-Boot] [PATCH v2 5/8] ARM: hikey: Remove resetting gd->flags in board_init() In-Reply-To: <1441918518-25629-1-git-send-email-peter.griffin@linaro.org> References: <1441918518-25629-1-git-send-email-peter.griffin@linaro.org> Message-ID: <1441918518-25629-6-git-send-email-peter.griffin@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This causes exceptions and other strange behaviour when enabling CONFIG_SYS_MALLOC_F_LEN which is required to migrate the serial driver over to DM_SERIAL. As GD_FLG_FULL_MALLOC_INIT flag gets reset, after relocation we don't end up using the full malloc which ultimately ends up causing a synchronus abort. Signed-off-by: Peter Griffin --- board/hisilicon/hikey/hikey.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/hisilicon/hikey/hikey.c b/board/hisilicon/hikey/hikey.c index 8c1271b..9948747 100644 --- a/board/hisilicon/hikey/hikey.c +++ b/board/hisilicon/hikey/hikey.c @@ -269,8 +269,6 @@ int misc_init_r(void) int board_init(void) { - gd->flags = 0; - return 0; } -- 1.9.1