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 33D72ECAAA1 for ; Wed, 31 Aug 2022 03:09:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 20A16849EE; Wed, 31 Aug 2022 05:09:10 +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="oZL7ZScr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F1B1D84898; Wed, 31 Aug 2022 05:09:06 +0200 (CEST) Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) (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 DBD1284898 for ; Wed, 31 Aug 2022 05:08:58 +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-x2b.google.com with SMTP id 586e51a60fabf-11f11d932a8so12959016fac.3 for ; Tue, 30 Aug 2022 20:08:58 -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=EebhwgvUXpRnENfrA8f1WIPaGoT/TQ/+pDEg+0fwYOY=; b=oZL7ZScr7eEXqkIIwArRS7cFZro4vNMD242V0Huddv3N3hLqUsGzU4uez2UdB6aOEI Rr3Z/z8tlvZKSMKT4ln+nWYtTZ2AP9etOXsELzgbcHxnDgj6nnm6jUJTAqlPWadJRBMG oG0FrlbBUXA589Ne1YiNJVFfwlhlheA64zsi0= 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=EebhwgvUXpRnENfrA8f1WIPaGoT/TQ/+pDEg+0fwYOY=; b=PzisKb0dNa+k/jMk/1UsrnyYO2FStTwuw9zyVz4wV4pyTK0qCEU8uuq0ipwvmqVqnU rc5SO2xbuYz5/34wlbcQ95WxubNIU9D29heZBglY7a7deVJ5/vcgEvVNf9P522/mQ2yD SsikfaZ9PIwrGLdmypn1+chafhqI2jF4JwVPqaox6SXXfFRlaeVTMLfflvDsYScYE6ah RtzTQOV73yK9l3ygPqIudqhTH+hvgzgN4fdb/FC3yMRoUH6CWx1sr30lpAv5/LSefIr5 byNol0esq5vXmDKKKzraq7SoFjMjoI+xQsMhIIfu6sm2MFJ52thlcYrCgGMf4N60c0bC c4+Q== X-Gm-Message-State: ACgBeo1Y9dK9mSWfGrmYYzj/ieLJlRlaCQqOLRRP6a6VD61qS6SdIpvg x0BgV4Z/h/cc1WC7c70IcVKAQUwvY42DtA== X-Google-Smtp-Source: AA6agR7PjSoqMy6O1R1hu14hwk4sNQiv+Gt4Ys3Ou4ICBa3V1NPDXRBGlU/8M3sBmaN7AcbOVPQ42A== X-Received: by 2002:a05:6870:d589:b0:11c:3a37:bdb8 with SMTP id u9-20020a056870d58900b0011c3a37bdb8mr471298oao.285.1661915337293; Tue, 30 Aug 2022 20:08:57 -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 fp39-20020a05687065a700b00116d5103487sm9282605oab.31.2022.08.30.20.08.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Aug 2022 20:08:57 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Michal Simek , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Kishon Vijay Abraham I , Tom Rini , Simon Glass , Alexandru Gagniuc , Andre Przywara , Heinrich Schuchardt , Jan Kiszka , Joe Hershberger , Marek Vasut , Philippe Reynes Subject: [PATCH 01/21] image: Fix BOOTM_STATE values Date: Tue, 30 Aug 2022 21:07:57 -0600 Message-Id: <20220831030817.27804-2-sjg@chromium.org> X-Mailer: git-send-email 2.37.2.672.g94769d06f0-goog In-Reply-To: <20220831030817.27804-1-sjg@chromium.org> References: <20220831030817.27804-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 --- 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.672.g94769d06f0-goog