From: Peter Griffin <peter.griffin@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 5/8] ARM: hikey: Remove resetting gd->flags in board_init()
Date: Thu, 10 Sep 2015 21:55:15 +0100 [thread overview]
Message-ID: <1441918518-25629-6-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1441918518-25629-1-git-send-email-peter.griffin@linaro.org>
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 <peter.griffin@linaro.org>
---
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
next prev parent reply other threads:[~2015-09-10 20:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-10 20:55 [U-Boot] [PATCH v2 0/8] arm: hikey: hi6220: Various fixups Peter Griffin
2015-09-10 20:55 ` [U-Boot] [PATCH v2 1/8] ARM: hikey: Update README with various corrections Peter Griffin
2015-09-28 21:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 2/8] ARM: hikey: Add ATF makefile referenced by README Peter Griffin
2015-09-24 21:09 ` Tom Rini
2015-09-28 21:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 3/8] ARM: hikey: Use linux/sizes.h for malloc size Peter Griffin
2015-09-18 4:03 ` Simon Glass
2015-09-28 21:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 4/8] ARM: hi6220: Add UART0 and UART3 base addresses Peter Griffin
2015-09-18 4:03 ` Simon Glass
2015-09-28 21:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` Peter Griffin [this message]
2015-09-18 4:04 ` [U-Boot] [PATCH v2 5/8] ARM: hikey: Remove resetting gd->flags in board_init() Simon Glass
2015-09-28 21:08 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 6/8] ARM: hikey: Select DM, DM_GPIO from Kconfig Peter Griffin
2015-09-18 4:04 ` Simon Glass
2015-09-28 21:08 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 7/8] ARM: hikey: hi6220: Migrate over to DM_SERIAL and use UART3 by default Peter Griffin
2015-09-18 4:04 ` Simon Glass
2015-09-28 21:08 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-09-10 20:55 ` [U-Boot] [PATCH v2 8/8] ARM: hikey: Adjust SDRAM_1_SIZE to 0x3EFFFFFF Peter Griffin
2015-09-18 4:04 ` Simon Glass
2015-09-28 21:08 ` [U-Boot] [U-Boot, v2, " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441918518-25629-6-git-send-email-peter.griffin@linaro.org \
--to=peter.griffin@linaro.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox