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 0A324ECAAA1 for ; Wed, 7 Sep 2022 02:28:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3B55A8494A; Wed, 7 Sep 2022 04:27:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="O06Z3rUL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 14BEE84A8D; Wed, 7 Sep 2022 04:27:58 +0200 (CEST) Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0721984A77 for ; Wed, 7 Sep 2022 04:27:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-11eab59db71so32701163fac.11 for ; Tue, 06 Sep 2022 19:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=bS0whClbf8cY31RWO3Yvq3+Vgg8ir1XzLTNKBT0JtAg=; b=O06Z3rULa0TubCvcE+p5h8TRFkEJnYUys7Y3SocIgnZcsN1TZLNEzDf0+oCN6jSAxR ca2MiPdecPrju073P1dWTD080Y4Z/O5LUjks6ayHuS2R0UDpRgUpYGhhvF2vC9tH6B+m CztNvmeBAhC2WJW3QXK09zWSCR1e6XWxbYjiw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=bS0whClbf8cY31RWO3Yvq3+Vgg8ir1XzLTNKBT0JtAg=; b=M6U+PKJ/bSoKOFvOsgwu8fahRtjMsYobBmnOJx9sNIMUTdVBCIsLqFzAN98tqgkCxu hLUZydlX89f7uaVc5zgFgp+dXtR0ZNzhT8pjQnPhBOFRVUrvHphiYULqaQt9XRG3Zpe7 NqW0zgRkkH/Uk59L/l3CSsLZX4m/NWrvGS45gXGlYwQXUMB9G/97mXwxtwchDL0cdEeN 7gHYJTtVNSLDHuGMJ7GmnltaR8TNDBb1N9rL/udfjKZADWpYJcLdZjioWJHeUTfCqOi3 oH1YBn00bkoSIcXrtNeDRx9WrV8gLQ4H5Cu0+m21/E/E0bDCAvCugEdW3dVtCzMYrwlh q5yA== X-Gm-Message-State: ACgBeo3ZjZqcYvrKtjE67RzFo0tG/6PCEt8lbiATrooL0Q5cCN0khFei pFqYjGugRqowlkWjHcitHPCWpVWUwAorWg== X-Google-Smtp-Source: AA6agR5vWUqmzai8Ni3J5oL+PjpMAiHqYw+WQMM5djuAaF3e6fnmzXDKZnqMlLHsMRWyhmw0HfKGBQ== X-Received: by 2002:a05:6870:c391:b0:10c:a937:aaf1 with SMTP id g17-20020a056870c39100b0010ca937aaf1mr650307oao.272.1662517672326; Tue, 06 Sep 2022 19:27:52 -0700 (PDT) Received: from sjg1.roam.corp.google.com (c-67-190-102-125.hsd1.co.comcast.net. [67.190.102.125]) by smtp.gmail.com with ESMTPSA id b10-20020a05687051ca00b0011e73536301sm7605046oaj.52.2022.09.06.19.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 19:27:51 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Kishon Vijay Abraham I , Michal Simek , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Tom Rini , Simon Glass , Alexandru Gagniuc , Andre Przywara , Heinrich Schuchardt , Jan Kiszka , Joe Hershberger , Marek Vasut , Philippe Reynes Subject: [PATCH v2 01/45] image: Fix BOOTM_STATE values Date: Tue, 6 Sep 2022 20:26:49 -0600 Message-Id: <20220907022733.66423-2-sjg@chromium.org> X-Mailer: git-send-email 2.37.2.789.g6183377224-goog In-Reply-To: <20220907022733.66423-1-sjg@chromium.org> References: <20220907022733.66423-1-sjg@chromium.org> MIME-Version: 1.0 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.6 at phobos.denx.de X-Virus-Status: Clean Tidy up the code style for these. Signed-off-by: Simon Glass --- (no changes since v1) include/image.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/include/image.h b/include/image.h index a148073113a..5e81fad8774 100644 --- a/include/image.h +++ b/include/image.h @@ -341,18 +341,18 @@ typedef struct bootm_headers { int verify; /* env_get("verify")[0] != 'n' */ -#define BOOTM_STATE_START (0x00000001) -#define BOOTM_STATE_FINDOS (0x00000002) -#define BOOTM_STATE_FINDOTHER (0x00000004) -#define BOOTM_STATE_LOADOS (0x00000008) -#define BOOTM_STATE_RAMDISK (0x00000010) -#define BOOTM_STATE_FDT (0x00000020) -#define BOOTM_STATE_OS_CMDLINE (0x00000040) -#define BOOTM_STATE_OS_BD_T (0x00000080) -#define BOOTM_STATE_OS_PREP (0x00000100) -#define BOOTM_STATE_OS_FAKE_GO (0x00000200) /* 'Almost' run the OS */ -#define BOOTM_STATE_OS_GO (0x00000400) -#define BOOTM_STATE_PRE_LOAD 0x00000800 +#define BOOTM_STATE_START 0x00000001 +#define BOOTM_STATE_FINDOS 0x00000002 +#define BOOTM_STATE_FINDOTHER 0x00000004 +#define BOOTM_STATE_LOADOS 0x00000008 +#define BOOTM_STATE_RAMDISK 0x00000010 +#define BOOTM_STATE_FDT 0x00000020 +#define BOOTM_STATE_OS_CMDLINE 0x00000040 +#define BOOTM_STATE_OS_BD_T 0x00000080 +#define BOOTM_STATE_OS_PREP 0x00000100 +#define BOOTM_STATE_OS_FAKE_GO 0x00000200 /* 'Almost' run the OS */ +#define BOOTM_STATE_OS_GO 0x00000400 +#define BOOTM_STATE_PRE_LOAD 0x00000800 int state; #if defined(CONFIG_LMB) && !defined(USE_HOSTCC) -- 2.37.2.789.g6183377224-goog