Message ID | 20250825162727.3185381-9-sjg@u-boot.org |
---|---|
State | New |
Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756139272; bh=n6zAOgEXU1bBllK/biiWeapGiSF95pVuae+iY25RpDA=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ghSfmTDW8lAlTCTAJGbQccSz4m/ixBI0i+5ZjZl+nqkzbMS5vtVGfkVfxb/gh0+Dv 4c2O4hEayP/JX4C+M1fJKLsD+x2Vec3xOSHhlVVaSTzLIB/FjyKjgEGE2Z/klbF5xt JbbF5RpJ6wrJA8lTg3SeB6B/n1oahB2LT31bEq1qly0Z099MYgx6I9viB8j3MDfs/g +ncn4KyMZgsAHv8I3W0FHLVVhkHSTBsyAEMdV0CwrcAzkDZyunRW130G2AnRyZlxeG +xz+9sGpmnuXp7Lyq2Ty3T/PFM/u4pFmCJl6OEo6EKfLlLjiMaw5espsj7Wq/dwM52 Rc2RU/ZUL+K6A== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 1D45967795 for <u-boot-concept@u-boot.org>; Mon, 25 Aug 2025 10:27:52 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id VIFysFBu4Rrh for <u-boot-concept@u-boot.org>; Mon, 25 Aug 2025 10:27:52 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756139272; bh=n6zAOgEXU1bBllK/biiWeapGiSF95pVuae+iY25RpDA=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ghSfmTDW8lAlTCTAJGbQccSz4m/ixBI0i+5ZjZl+nqkzbMS5vtVGfkVfxb/gh0+Dv 4c2O4hEayP/JX4C+M1fJKLsD+x2Vec3xOSHhlVVaSTzLIB/FjyKjgEGE2Z/klbF5xt JbbF5RpJ6wrJA8lTg3SeB6B/n1oahB2LT31bEq1qly0Z099MYgx6I9viB8j3MDfs/g +ncn4KyMZgsAHv8I3W0FHLVVhkHSTBsyAEMdV0CwrcAzkDZyunRW130G2AnRyZlxeG +xz+9sGpmnuXp7Lyq2Ty3T/PFM/u4pFmCJl6OEo6EKfLlLjiMaw5espsj7Wq/dwM52 Rc2RU/ZUL+K6A== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0988C676E8 for <u-boot-concept@u-boot.org>; Mon, 25 Aug 2025 10:27:52 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756139268; bh=cOdZFqCzkHYNj/Lcxf5DYYxypa1xMruHn3+mhMKC12M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fw2HujHSAu4Ur0zeAuQlJlcRmw4KNzByIb+Mte3ppsV5araZIaRhDmIXkDuZZoM5E 3DFXcGGffLT4uGxo+lrqyGtt2H/kcu80S1ORn3fYTN1qhJdt4Xp8rbfLE2a6L21Bmi wXtZWP/4aM1wTTea9qzeA0P2GTAFKcaXnY5ZyLhMoo42ppFnHnLJhptddpPVznhmVe Hxannh0E41UIsjqG208TyNbWNYoL62wb1w+Osdr7yCSeWmoSQXnkBqf4cpLwsa4VgF 1Gg2pIZPXv1SUBPGILZDOOliWiqpudCMMZCw0HO098EXvD3LRY2UGdPIXKGUe7bWxq Asz+sNxoZcyjA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id D6CA66778A; Mon, 25 Aug 2025 10:27:48 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id xatSBAtdfJhf; Mon, 25 Aug 2025 10:27:48 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1756139265; bh=JWf5kBKpF2jNHCpkX1KXlRkfTL2URACU6CHPDv4w184=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sLfFeFYXXnG9DYF6XxN5oUPbOBWL1ddGvUC4YpS00QavpPNT69cRqGrJMp5JfcgAJ UTMlE4ZcEpel9tTBhcUPDIbyhzs+lCdCaTUAu8BZtclnq7/L6evGMpkns5Xk72DkiI XUZ2XgWSineAjMo4e3tYb2gdBTzwhgDwfQyC/SzR0jKLyLeYVimghwRBZboRVs2ZOB Pg/9Dxt0mQetO7f5VaykRxEYIYFRpPnwP83Rjcdr4f7FYjYxX/tBonc+k+PCPJLFnR 85/8fkXsSqNqwRY9uDFWS/0IbV8OJ45Cc6DtwdJaNJvV20KCKDc1lEC5en0IeGCv9E kx1vm8uJ3UGvw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id B54BE676E8; Mon, 25 Aug 2025 10:27:44 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Mon, 25 Aug 2025 10:27:11 -0600 Message-ID: <20250825162727.3185381-9-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250825162727.3185381-1-sjg@u-boot.org> References: <20250825162727.3185381-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: HSIN7CMQ3QRVRHMODDPLYYRHAUM2XPJT X-Message-ID-Hash: HSIN7CMQ3QRVRHMODDPLYYRHAUM2XPJT X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH v2 08/16] post: Include config.h in the header List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/HSIN7CMQ3QRVRHMODDPLYYRHAUM2XPJT/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
console: Refactor in preparation for the pager
|
|
Commit Message
Simon Glass
Aug. 25, 2025, 4:27 p.m. UTC
From: Simon Glass <sjg@chromium.org> The post system requires use of CFG_xxx values which are only included via the config.h header. Most files don't include this now. The serial.h header includes post.h which causes a build error on any platform which enables CONFIG_POST, such as pg_wcom_seli8 Add an explicit #include of config.h in the post.h header file. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) include/post.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/post.h b/include/post.h index da851e37fa2..74039e56e29 100644 --- a/include/post.h +++ b/include/post.h @@ -15,6 +15,8 @@ #if defined(CONFIG_POST) +#include <config.h> + #ifndef CFG_POST_EXTERNAL_WORD_FUNCS #ifdef CFG_SYS_POST_WORD_ADDR #define _POST_WORD_ADDR CFG_SYS_POST_WORD_ADDR