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 08A83EB64DD for ; Mon, 31 Jul 2023 03:03:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 63734869FF; Mon, 31 Jul 2023 05:03:13 +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="hjoWRMUP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6753486941; Mon, 31 Jul 2023 05:02:40 +0200 (CEST) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (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 D9D4B86A0D for ; Mon, 31 Jul 2023 05:02:32 +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-io1-xd34.google.com with SMTP id ca18e2360f4ac-7908ff76516so26598539f.1 for ; Sun, 30 Jul 2023 20:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690772551; x=1691377351; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dYgXAh3OGsSq8euzkDekaZeflUcFAhtblX78W+f3lI0=; b=hjoWRMUP2NEZef/fZUD/2CGhyo4yP2mpUUbSODcxVulSop9ba0PhzfqQI3s78BVeI8 h+/ADTNBZuDslZ5fMdp1eH29ZCRsQbhL4pB5jlBJtanJoe76nccCsbGNylLxhEPGHnbL YE4+nNMWAMYL9MiOlC136+BbxAFMu+YcoEcEw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690772551; x=1691377351; 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:message-id:reply-to; bh=dYgXAh3OGsSq8euzkDekaZeflUcFAhtblX78W+f3lI0=; b=e64R3U+pVi3w2bhyMzDbQOUZRoeeuJbFvWpwS6Kf+PQWq/hDBR5vWpzb5GXH0ODMGe YJCZVI5+HM6weQ+EWSThl2wZ9AuiekjpYpgTS7ad8a/Q1iJe2AMwPm/Av5Bh6qXvJowL nbeJe9YiCQRm21rLNb3uB1WhUDJaDiIM1s3+AFtPKmTa0Bx5vBDspTJRHA6NRBDqr6GY 12XnExN2bPux3t4IRHFSKZrpYgnpJapXx5j9QRiW7sgW9Da1Dtxy1TsycliOkXkENrcR q/WSJPcM4MQnxsDVam8gUk8Qa9ClJBxh40Fpo/nOZuy4PuJ4Z975LJUCXLkUV2pVrK31 NNow== X-Gm-Message-State: ABy/qLbFhRvn7EDeyfQzm27oGAoJl9P0lb3Et7zVfstk3NiJOZRjqkKc SRL5tGcuo19FEfKBzV99TCetXgLccDqe8phew98= X-Google-Smtp-Source: APBJJlHTsJYPlpJwb0Dx+ancwI3XYbhGmpBRwIDFaL2DE3IDNzmO84cRz/snHwM0ZN1dK8bKm6NGFQ== X-Received: by 2002:a05:6602:2559:b0:785:cac9:2d49 with SMTP id cg25-20020a056602255900b00785cac92d49mr6732111iob.1.1690772551568; Sun, 30 Jul 2023 20:02:31 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id e20-20020a02a794000000b0042bb5a8e074sm2749997jaj.8.2023.07.30.20.02.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jul 2023 20:02:31 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Bin Meng , Tom Rini , Simon Glass Subject: [PATCH 10/22] x86: coreboot: Convert to text environment Date: Sun, 30 Jul 2023 21:01:53 -0600 Message-ID: <20230731030211.955875-11-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog In-Reply-To: <20230731030211.955875-1-sjg@chromium.org> References: <20230731030211.955875-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.8 at phobos.denx.de X-Virus-Status: Clean Use the common include and add some options specific to this board. Drop everything from the config.h file. Signed-off-by: Simon Glass --- board/coreboot/coreboot/coreboot.env | 9 +++++++++ include/configs/coreboot.h | 20 -------------------- 2 files changed, 9 insertions(+), 20 deletions(-) create mode 100644 board/coreboot/coreboot/coreboot.env diff --git a/board/coreboot/coreboot/coreboot.env b/board/coreboot/coreboot/coreboot.env new file mode 100644 index 000000000000..0f5bb6fb624b --- /dev/null +++ b/board/coreboot/coreboot/coreboot.env @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2018, Bin Meng + */ + +#include + +splashsource=virtio_fs +splashimage=0x1000000 diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index b4f49bf5289d..e00c408f29a5 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -2,23 +2,3 @@ /* * Copyright (C) 2018, Bin Meng */ - -/* - * board/config.h - configuration options, board specific - */ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#define SPLASH_SETTINGS "splashsource=virtio_fs\0" \ - "splashimage=0x1000000\0" - -#include - -#define CFG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \ - "stdout=serial,vidconsole\0" \ - "stderr=serial,vidconsole\0" - -/* ATA/IDE support */ - -#endif /* __CONFIG_H */ -- 2.41.0.487.g6d72f3e995-goog