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 X-Spam-Level: X-Spam-Status: No, score=-19.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 700BAC48BC2 for ; Sun, 27 Jun 2021 23:53:30 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id EA0296100C for ; Sun, 27 Jun 2021 23:53:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EA0296100C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 11EE182DB2; Mon, 28 Jun 2021 01:52:08 +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="b7sAYmuf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 25BDF82D7D; Mon, 28 Jun 2021 01:51:36 +0200 (CEST) Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (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 BEBFD82D76 for ; Mon, 28 Jun 2021 01:51:31 +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-oi1-x234.google.com with SMTP id a14so12884303oie.11 for ; Sun, 27 Jun 2021 16:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=alnkQ0k8F3T0ghwHtgJ7JkncZcGdkCvT9MNqEunOJWo=; b=b7sAYmufxqnUDvyLy7FAgDIqeuRHMzRSV4mip1KdUSj/cgteNf1P084V2FNzsSAnTY S/R4TTkJgwNlIe4iXRJlFqsa/2j42up3F1dW1XFH/GaeWHp70cZYDSFWskjRFLi0l6II OHo8MjU1KoPmEjTFtwwp5zIJXX+fSArU+41qc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=alnkQ0k8F3T0ghwHtgJ7JkncZcGdkCvT9MNqEunOJWo=; b=FlqS0kG9zDuTrGkyXNBn136U+viZJTnMw2mbPMVzfumOctolpAVcR7oVx29ywczLQr +b0FWjB4Z77OjsFZOrjfiuNinVgfZRnEAFJJxaMjXdSrZzsYMwu761XZOJBrRhAy6nY8 rQuakJ10hj8XY3G741VTuSgP5F4QosloepMLkENQJWxIIEUUegLjLaGQ5aceTrfUZnlr vH4clP3J95xWYWXTlH0se34jWz+N4NvANiy9DTtK9uFoJITNL2EQdLzyfwswvlehkpe6 Inc26SRETdWyirIDFQ2OVo75gTQrpFYVd7jVf6eDqNcJ4qQ359J9DgENbcJAu7J66Sxm JHrw== X-Gm-Message-State: AOAM531dpVAV/Vd2QK/g68wYi4YlvmDqXZW/2htGpbSN/3r+RKo8yQDr GVdb4BZOn9yzM0+1hPN7AjJqvjswxBqCn5fL X-Google-Smtp-Source: ABdhPJxawFdIfmK+l2H8QpjDKdxw3uofDBxtgJdGQ2L6nULRm0I+a0v/BOiDIjhN8NCKNgMHemi5CA== X-Received: by 2002:aca:c387:: with SMTP id t129mr1767094oif.165.1624837890351; Sun, 27 Jun 2021 16:51:30 -0700 (PDT) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id bb34sm1297928oob.39.2021.06.27.16.51.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Jun 2021 16:51:30 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Simon Glass , Bin Meng , Stefan Reinauer , Vadim Bendebury Subject: [PATCH v3 12/16] x86: coreboot: Use vendor in the Kconfig Date: Sun, 27 Jun 2021 17:51:07 -0600 Message-Id: <20210627175102.v3.12.Ic028f6df43c9740024371590bbe8ea1be27ec45f@changeid> X-Mailer: git-send-email 2.32.0.93.g670b81a890-goog In-Reply-To: <20210627235111.485507-1-sjg@chromium.org> References: <20210627235111.485507-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Use VENDOR_COREBOOT instead of TARGET_COREBOOT so we can have multiple coreboot boards, sharing options. Only SYS_CONFIG_NAME needs to be defined TARGET_COREBOOT. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) arch/x86/cpu/coreboot/Kconfig | 2 +- board/coreboot/coreboot/Kconfig | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/arch/x86/cpu/coreboot/Kconfig b/arch/x86/cpu/coreboot/Kconfig index 497d6284ac1..b97c2779041 100644 --- a/arch/x86/cpu/coreboot/Kconfig +++ b/arch/x86/cpu/coreboot/Kconfig @@ -1,4 +1,4 @@ -if TARGET_COREBOOT +if VENDOR_COREBOOT config SYS_COREBOOT bool diff --git a/board/coreboot/coreboot/Kconfig b/board/coreboot/coreboot/Kconfig index 5bd6465d989..05e9b3b6f75 100644 --- a/board/coreboot/coreboot/Kconfig +++ b/board/coreboot/coreboot/Kconfig @@ -1,4 +1,4 @@ -if TARGET_COREBOOT +if VENDOR_COREBOOT config SYS_BOARD default "coreboot" @@ -9,9 +9,6 @@ config SYS_VENDOR config SYS_SOC default "coreboot" -config SYS_CONFIG_NAME - default "coreboot" - config SYS_TEXT_BASE default 0x01110000 @@ -31,4 +28,11 @@ config SYS_CAR_SIZE help This option specifies the board specific Cache-As-RAM (CAR) size. +endif # CONFIG_VENDOR_COREBOOT + +if TARGET_COREBOOT + +config SYS_CONFIG_NAME + default "coreboot" + endif -- 2.32.0.93.g670b81a890-goog