From patchwork Mon Mar 13 15:51:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 738243 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3vhj6l54xrz9s1y for ; Tue, 14 Mar 2017 02:52:15 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gateworks-com.20150623.gappssmtp.com header.i=@gateworks-com.20150623.gappssmtp.com header.b="WKD9r0MS"; dkim-atps=neutral Received: by lists.denx.de (Postfix, from userid 105) id 6015FC21C4E; Mon, 13 Mar 2017 15:48:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 696EDC21C63; Mon, 13 Mar 2017 15:46:50 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BEA1FC21C51; Mon, 13 Mar 2017 15:46:36 +0000 (UTC) Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45]) by lists.denx.de (Postfix) with ESMTPS id 9AB04C21C5E for ; Mon, 13 Mar 2017 15:46:32 +0000 (UTC) Received: by mail-pg0-f45.google.com with SMTP id g2so47754356pge.3 for ; Mon, 13 Mar 2017 08:46:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eFa2M4MULULYGe/D1txb73C9kruSK2/08ikxYooz4FQ=; b=WKD9r0MSUFP5gNH4huJentCE5OP/cXjc/3vsIFbRElQ6IvGEKP+vc7G8pfIoU3kml0 81iyq50BrUwvmj3cnUiCX39j9EDH04f5vF3OPtK0/w2aJ16ffJbV0g7OABPDVP7s/pzu FsiNzQExDMUO8Hq6BtqXC6D2rEoeQAD5EB1kh9aHLvLo1wArtLoy7C1o25XRvtsmf4mr Gl1T1eY0xIscxfCHFT4zcb5eYjaFT6lKNJSaUefHMo4QABm5wCV+wkKwqC44vj7u8POg hkX/iTEtvnPJiwmnLGQgszaksfwbR5fKtFRTzhL3/6kSuV1O7e7dWgeguZHpTaCKhTdH D0gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eFa2M4MULULYGe/D1txb73C9kruSK2/08ikxYooz4FQ=; b=X0LhviCJO7WOBRVhQ4LL2hrJ4yiUXM6wZZWacAeELD9PSYXv4sjuoiWU/ouYrcqXwP WpJNgs2PSQNb6WKLn6bmEjK/eln50OhIo3qosHE+zhXxGf/LDyx6M5RlV3n3DaX6/Q1y RWDLecc3TWDKBl6hiuZxkMa2qxs+QAnnXK0vc/BMWjyzI7agmOAY1b93U0rMuaEND0qH 5oQeHZogATkkMz94suYNh1118Q2Pwf6cB6LIy5CcMMG2/RgIFq8lnip0mko7fjWJvyla bfMCK0B/LIdfbAZHjAMApMkx+IYFbre06SkJXa4lUA4mpIOl/OXymZ5Wex0ad3TajCtm 6xOw== X-Gm-Message-State: AMke39kvTbGbZa5F8rELm2UmpGtu+jC919s9myAsHJeutJhKciA6G4ZNmT8qw7FUtZVf1A== X-Received: by 10.84.231.9 with SMTP id f9mr49382479plk.117.1489419991211; Mon, 13 Mar 2017 08:46:31 -0700 (PDT) Received: from tharvey.pdc.gateworks.com (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by smtp.gmail.com with ESMTPSA id h71sm33551265pfj.65.2017.03.13.08.46.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Mar 2017 08:46:30 -0700 (PDT) From: Tim Harvey To: Stefano Babic Date: Mon, 13 Mar 2017 08:51:06 -0700 Message-Id: <1489420274-2691-7-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489420274-2691-1-git-send-email-tharvey@gateworks.com> References: <1489420274-2691-1-git-send-email-tharvey@gateworks.com> Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 06/14] imx: ventana: fix hwconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Tim Harvey Reviewed-by: Stefano Babic --- board/gateworks/gw_ventana/gw_ventana.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index ba648f5..22a3c8e 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gateworks/gw_ventana/gw_ventana.c @@ -739,7 +739,7 @@ int misc_init_r(void) /* Set a non-initialized hwconfig based on board configuration */ if (!strcmp(getenv("hwconfig"), "_UNKNOWN_")) { - sprintf(buf, "hwconfig="); + buf[0] = 0; if (gpio_cfg[board_type].rs232_en) strcat(buf, "rs232;"); for (i = 0; i < gpio_cfg[board_type].dio_num; i++) {