From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 47E0EC74A5B for ; Wed, 29 Mar 2023 19:04:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 666ED85D1E; Wed, 29 Mar 2023 21:04:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="KIn0T4fn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0F88C856D2; Wed, 29 Mar 2023 21:04:39 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3CD4985D34 for ; Wed, 29 Mar 2023 21:04:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9F5D0B8235A; Wed, 29 Mar 2023 19:04:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48DDEC4339B; Wed, 29 Mar 2023 19:04:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680116670; bh=3mOGmK1X8HsM9qwwApR0KPcTDyJSW72gSp7qIf68iqc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KIn0T4fnbczZT5VJpcyG2vnQ2bUHettCzwXst+B34G/XKFxXRsGmbsd4rTn/ivBwb zjndHrX0a5YTJxpH6WJNk9/63x+NQpKCbtPKPnr7LZen46RZYyOUAh2941Coazpdnm UHUXgLmpO/X8AP3sJREjSAuayPjCpNmJ98WpKGeT4HvA4K/LJx7HWDVe1E51YEqsWI Ito2Hvhffhr4rUC0OXRMxQP0roGObUiGHzTBh4p4ZFdQIXAfKubbGbZCPSzTcB/3KU Sc0dc/yGG079879YQsMtEYtJCybV7bMLPOnlvyea6lLTtJUlllzdQfTyIJqJUwVUQf qR1gp49O1599w== Received: by pali.im (Postfix) id 492CA29F; Wed, 29 Mar 2023 21:04:27 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese Cc: u-boot@lists.denx.de Subject: [PATCH v2 u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection Date: Wed, 29 Mar 2023 21:03:29 +0200 Message-Id: <20230329190335.9861-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230304105036.19189-1-pali@kernel.org> References: <20230304105036.19189-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Improve code for checking strapping pins which specifies boot mode source. v2 is same as v1 with compile fix and rebased on top of next branch. Pali Rohár (6): arm: mvebu: Remove A38x BOOT_FROM_UART_ALT 0x3f constant arm: mvebu: Remove A38x BOOT_FROM_SATA 0x22 constant arm: mvebu: Convert BOOT_FROM_* constants to function macros arm: mvebu: Define all options for A38x BOOT_FROM_* macros arm: mvebu: Define all BOOTROM_ERR_MODE_* macros arm: mvebu: Define all options for AXP BOOT_FROM_* macros arch/arm/mach-mvebu/cpu.c | 24 +++++++-------- arch/arm/mach-mvebu/include/mach/soc.h | 41 ++++++++++++++++---------- 2 files changed, 36 insertions(+), 29 deletions(-) -- 2.20.1