Message ID | 1441833235-2359-6-git-send-email-peter.griffin@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDF47HN2VEIRBJGCYKXQKGQEAPTBLZA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id 2CC1B22B05 for <linaro@patches.linaro.org>; Wed, 9 Sep 2015 21:14:14 +0000 (UTC) Received: by laeb10 with SMTP id b10sf8724783lae.1 for <linaro@patches.linaro.org>; Wed, 09 Sep 2015 14:14:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=9LKxKcsMwXEY0XpGTaCJrEbUw9cfuwESGzF8C//ppdQ=; b=DMKQ/qMZH75HSPDWRT1dg/5gxvIJ1wGMLaIeFdZwZL60tLwBTvAMVYwVBLN4vMvJQK MFdaiHGYF7Qmebun1pZWrDODEuGqUCYq+vwajH2o3GhQXHxQ22+Srasdo95A3MibpjTV a6B7kQeMLAKaJ95vx4diontAu66DmYWQpaoR16Yet24N/UkxdeCMaa+/9wmtoQcQQyOs PNN9Tiflzxj3HLdP3yjvuD/LZ8YLPXnFLv0rAmPcSEA/gWf9TZesgXriwcXTGKXWXmwb eWHFcrc9GP/i5dCoWsyrYHyrV1IWkW5RBMbwbyDtUlyVHCIy4A2PBOJOGqhKqEJ56bKX 7DUw== X-Gm-Message-State: ALoCoQlcoh8WM/RygBUMtGC3Y8VMsZjIcHI0ss8NJ/Ff6gWHytrblZwXHsCnIU5Uo+WAAlPHZbnZ X-Received: by 10.152.19.234 with SMTP id i10mr7617356lae.8.1441833252825; Wed, 09 Sep 2015 14:14:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.163.69 with SMTP id yg5ls107741lab.5.gmail; Wed, 09 Sep 2015 14:14:12 -0700 (PDT) X-Received: by 10.112.154.106 with SMTP id vn10mr31183892lbb.38.1441833252667; Wed, 09 Sep 2015 14:14:12 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id cy4si7928528lac.74.2015.09.09.14.14.12 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Sep 2015 14:14:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lamp12 with SMTP id p12so15101455lam.0 for <patchwork-forward@linaro.org>; Wed, 09 Sep 2015 14:14:12 -0700 (PDT) X-Received: by 10.112.125.134 with SMTP id mq6mr20284233lbb.19.1441833252571; Wed, 09 Sep 2015 14:14:12 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.59.35 with SMTP id w3csp561121lbq; Wed, 9 Sep 2015 14:14:11 -0700 (PDT) X-Received: by 10.194.239.167 with SMTP id vt7mr65446714wjc.5.1441833248016; Wed, 09 Sep 2015 14:14:08 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com. [209.85.212.172]) by mx.google.com with ESMTPS id gc4si6989348wib.85.2015.09.09.14.14.07 for <patches@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Sep 2015 14:14:07 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.griffin@linaro.org designates 209.85.212.172 as permitted sender) client-ip=209.85.212.172; Received: by wiclk2 with SMTP id lk2so1321888wic.1 for <patches@linaro.org>; Wed, 09 Sep 2015 14:14:07 -0700 (PDT) X-Received: by 10.194.82.167 with SMTP id j7mr62051118wjy.123.1441833247705; Wed, 09 Sep 2015 14:14:07 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by smtp.gmail.com with ESMTPSA id p20sm5797427wie.5.2015.09.09.14.14.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Sep 2015 14:14:07 -0700 (PDT) From: Peter Griffin <peter.griffin@linaro.org> To: u-boot@lists.denx.de, trini@konsulko.com, sjg@chromium.org, albert.u.boot@aribaud.net Cc: Peter Griffin <peter.griffin@linaro.org> Subject: [PATCH 5/8] ARM: hikey: Remove resetting gd->flags in board_init() Date: Wed, 9 Sep 2015 22:13:52 +0100 Message-Id: <1441833235-2359-6-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441833235-2359-1-git-send-email-peter.griffin@linaro.org> References: <1441833235-2359-1-git-send-email-peter.griffin@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
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; }
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(-)