From patchwork Mon Oct 22 04:40:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 149367 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2188195lji; Sun, 21 Oct 2018 21:40:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV62NQpdmaUws+XPS6xwUSYLuCAT9zPW2OnQcEhcFO7c5CuYdO84CfMt2YqP+xsBEeLhpQuiE X-Received: by 2002:a17:906:5c0d:: with SMTP id e13-v6mr35180074ejq.183.1540183211870; Sun, 21 Oct 2018 21:40:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540183211; cv=none; d=google.com; s=arc-20160816; b=LaXL2mMoe2p1tyLk3ogbr78g9976oTIyDIzDGH7LluPO/bVQ35N130OUVMZsdn7Abr SI3L+QyF9RlU6uSFChVfI8k9r4j5aVvLXhn4kd5cYxBJs5yee83CnDJWxO69bqWN0zZp IkrcQJLM3l3z7F6+i87Gfjjv+TH49dwM4L/kL9Pu6vm77vO2LMfp4166n8hsjCoJnLks Kd+/eShKcTVcLfaI9KpJj5wG3ob31MMIftAIxc3/jHosbzEmb9PSJZ72Dje7yojAdjXU 8Uqoh/TVYg5Clk/+PpARAV45ftWG12mr/wvD3GXNoVDcv61n3vN+tEfbV6YL1Ee8JQMf CPuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature; bh=/yQJl3YRXU64Gq2fhNTTMLiOrAIUHY3kWBhqiTPdilk=; b=owK3eq1ARfAWotJGSD87lBbItjmg/thYYJ4nr112hAuVxR+ujEA5CYaSj2ybulWm7u yGBJgcirmVlJ/EPFui7Y98SF489DJby+pc7DEF7WeGy9Z37KjCJTxpzQjr9sPWEnJDly MT1kO6915QpYnhqqyM+zuyxpu4NCXa3QIFbBBhHV6qCEKl2OQMCFIQG9LS+OadrT8IJr SP7Z+lcccpwuUe1NmxVrKdh5ArWLywGA1PsonDEc+vFlYjfcdah/4pcd86bA7/aUS4iT KvUXoBDRwRVMe0AP4Wn2pVjivrBpGvUWKH3fhtfmrtpiXvUFnmi1+VJuugHtltKSpOes YMqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XlWybLZS; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id gt4-v6si4579654ejb.297.2018.10.21.21.40.11; Sun, 21 Oct 2018 21:40:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XlWybLZS; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 82AEEC21D74; Mon, 22 Oct 2018 04:38:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id AF4C5C21D83; Mon, 22 Oct 2018 04:38:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9CC09C21DDC; Mon, 22 Oct 2018 04:38:27 +0000 (UTC) Received: from mail-yb1-f194.google.com (mail-yb1-f194.google.com [209.85.219.194]) by lists.denx.de (Postfix) with ESMTPS id A9D84C21D83 for ; Mon, 22 Oct 2018 04:38:22 +0000 (UTC) Received: by mail-yb1-f194.google.com with SMTP id e16-v6so15622330ybk.8 for ; Sun, 21 Oct 2018 21:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GY+b7qWu1QM7fv/o+uBH4grr+BSGAcc1kkzeMxDP0dY=; b=XlWybLZSbSSGKt3Updp31BaOwiT93Pd8V94UjroOlDKfVffjdwvYmHVKQdAokCTxNt EQ52zhXqTZsbSmDbxxhE4Jp0x99PuXwe079kBVEahnx8BXGXZxc//iIca0ykeZxHh1aX TQL0LALJCUPde9znZ+2RKEgS0iZK6y/WETekg= 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=GY+b7qWu1QM7fv/o+uBH4grr+BSGAcc1kkzeMxDP0dY=; b=lDrrwKfFDW4srod55tis+ioUIVuXnPmJ2fwPT2gfmAtweltf9y6DdilZhLo5PPsmeY ml85103Fg5XW7tsAX2hZ4MmVG8qIAeyHkIOjCMNWKMmxcUC3huL0cfNM8xABWfPI30Dh AlYJyQbOhXkBeD68PBudPUkZ1CgAznTodCRuaDcOrdBH8GMFSIFfv5wkkpo3d6dqQQDQ ecRIdUuWusfPRFDmv0PFBV1u85uNbaGaMl6pMvZSdskZ8y0jdXGgczE5nQHM+uaPDdB7 E0bge8sEqNLOkfcYudD3jJmxWxkZRFZ9O2wbyyikx/RzQjsS2BnNGkx9Bn0dZTD5Vi0Y cA/g== X-Gm-Message-State: ABuFfogQOa4in6YtWPhJeMb6XKDlUveCIXaUVzV8kDQ+dyFd9umiCc5q Mpmc81jEbF2AOJg9+UiZklJw5EZGfwE= X-Received: by 2002:a25:c0c8:: with SMTP id c191-v6mr20692686ybf.429.1540183101580; Sun, 21 Oct 2018 21:38:21 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id r85-v6sm8301644ywg.25.2018.10.21.21.38.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Oct 2018 21:38:21 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com, agraf@suse.de, tuomas.tynkkynen@iki.fi Date: Mon, 22 Oct 2018 13:40:06 +0900 Message-Id: <20181022044007.11796-3-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181022044007.11796-1-takahiro.akashi@linaro.org> References: <20181022044007.11796-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v2 2/3] ARM: qemu-arm: rework Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Define a missing CONFIG_SYS_SOC and move some CONFIG_SYS_* to a more canonical place (i.e. under board). Signed-off-by: AKASHI Takahiro --- arch/arm/mach-qemu/Kconfig | 18 ++++++++++-------- board/emulation/qemu-arm/Kconfig | 6 ++++++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-qemu/Kconfig b/arch/arm/mach-qemu/Kconfig index a2e4b98b8887..d75a95183a75 100644 --- a/arch/arm/mach-qemu/Kconfig +++ b/arch/arm/mach-qemu/Kconfig @@ -3,22 +3,24 @@ if ARCH_QEMU config SYS_VENDOR default "emulation" -config SYS_BOARD - default "qemu-arm" +config SYS_SOC + default "qemu" -config SYS_CONFIG_NAME - default "qemu-arm" - -endif +choice + prompt "QEMU cpu type" config TARGET_QEMU_ARM_32BIT - bool "Support qemu_arm" + bool "Arm" depends on ARCH_QEMU select ARCH_SUPPORT_PSCI select CPU_V7A select SYS_ARCH_TIMER config TARGET_QEMU_ARM_64BIT - bool "Support qemu_arm64" + bool "AArch64" depends on ARCH_QEMU select ARM64 + +endchoice + +endif diff --git a/board/emulation/qemu-arm/Kconfig b/board/emulation/qemu-arm/Kconfig index d1c08c2f6a80..ef49e4e85f04 100644 --- a/board/emulation/qemu-arm/Kconfig +++ b/board/emulation/qemu-arm/Kconfig @@ -1,5 +1,11 @@ if TARGET_QEMU_ARM_32BIT || TARGET_QEMU_ARM_64BIT +config SYS_BOARD + default "qemu-arm" + +config SYS_CONFIG_NAME + default "qemu-arm" + config SYS_TEXT_BASE default 0x00000000