Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1346535ybe; Fri, 13 Sep 2019 15:12:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUVraqMe8nghKwin+4lBHAh7s+PfQPTqGo59CLEAFUPuU9XeqEwy+cJGoih8+EDqPlmZog X-Received: by 2002:a17:906:b78a:: with SMTP id dt10mr6152965ejb.123.1568412722269; Fri, 13 Sep 2019 15:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568412722; cv=none; d=google.com; s=arc-20160816; b=ShjDfs7j9/0KlTBpYViXgyDVnd5JXHBnXegr4+bwDdUeeTEf5KSJH/kNCkbSao5qve doadrO62KL8JPVD4OsKDO8HTUiQeJy7IEFWHEbxRAdkNslCL6efh0npU0DdZ5AZByZd5 XJwEGmNtZsKKFm2kDW777KTMnfv6ngc58qPFxxwPzWNbFmvG6V2R8aBrLpIzJD7/7F2R Ozk/Zx5X4l11S7Wx+jukmMoLv5TRndJMxq0cD0yD5GOiFS5WgwlXb9fva6yhQSO8Z0um 5s+pOGdQzyBJQokQaRI0HqW2ulpejLKAxuVLoNUsu7Dwy9FgzgGM6z5uvgdJOa3ihtjz pvig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=RqTQoFIZjnsd1AseiJnF+/b2ewD7lcSWEOpft2qece0=; b=UR89ijej9kXT9huKTfz1DrWrAsB4JsD+BKzw2oQvcOsgEFQ9+nDwuGYxbGHAi54RpU OdjGaeUpJA8oQ9b6aiGyPwpyqb4v5qBzG+aSCkSY+gDD7UXCKvF4q4yC8nBbNJUdtreg DxIh51mCPe0yKX0JXy/zkk74Eu3d3fVe+qHXpktW4kK7SVVPVzYJAeF4zb4EZlO1Emv5 CTGz+JgYOMg3gmD6tNmKTelltqtu34mJ8/tq+Z4kFt549XDz4iSS3zcDH9cpc3olH3Ti XeedmgCeB0wl+PUSiwSk7uji5rrW0Nj2Ag1YW9dNJXEO7EdW5pu21gxY3QOwoAI4+ykg +1Lw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j35si18646621eda.144.2019.09.13.15.11.38; Fri, 13 Sep 2019 15:12:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731249AbfIMWJ3 (ORCPT + 99 others); Fri, 13 Sep 2019 18:09:29 -0400 Received: from muru.com ([72.249.23.125]:60706 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfIMWJ2 (ORCPT ); Fri, 13 Sep 2019 18:09:28 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 088098161; Fri, 13 Sep 2019 22:09:58 +0000 (UTC) From: Tony Lindgren To: Matt Mackall , Herbert Xu , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Cc: linux-crypto@vger.kernel.org, Aaro Koskinen , Adam Ford , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Tero Kristo , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 1/6] ARM: OMAP2+: Check omap3-rom-rng for GP device instead of HS device Date: Fri, 13 Sep 2019 15:09:17 -0700 Message-Id: <20190913220922.29501-2-tony@atomide.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190913220922.29501-1-tony@atomide.com> References: <20190913220922.29501-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org In general we should check for GP device instead of HS device unless the other options such as EMU are also checked. Otherwise omap3-rom-rng won't probe on few of the old n900 macro boards still in service in automated build and boot test systems. Cc: Aaro Koskinen Cc: Adam Ford Cc: Pali Rohár Cc: Tero Kristo Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/pdata-quirks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -276,7 +276,7 @@ static void __init nokia_n900_legacy_init(void) mmc_pdata[0].name = "external"; mmc_pdata[1].name = "internal"; - if (omap_type() == OMAP2_DEVICE_TYPE_SEC) { + if (omap_type() != OMAP2_DEVICE_TYPE_GP) { if (IS_ENABLED(CONFIG_ARM_ERRATA_430973)) { pr_info("RX-51: Enabling ARM errata 430973 workaround\n"); /* set IBE to 1 */ -- 2.23.0