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 E9D60C433F5 for ; Tue, 31 May 2022 18:17:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1019A8431C; Tue, 31 May 2022 20:16:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qjz1R0m4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E68C58427E; Tue, 31 May 2022 20:15:29 +0200 (CEST) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 52B1084284 for ; Tue, 31 May 2022 20:15:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ovpanait@gmail.com Received: by mail-wm1-x32c.google.com with SMTP id o29-20020a05600c511d00b00397697f172dso1547219wms.0 for ; Tue, 31 May 2022 11:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=B3j4NCDEfpuXBI2454wkADLzG36skw67OwkMEok7oEs=; b=qjz1R0m4nnG6r5xYt2hfOQa1aSHXniIp56kz71yjALJj39R9eAJLR6Y01V00Bq003W VCXY5zF3ZGb0/+9g17GYFcK6HH7S/+egjwfSc7hBggJ6vNXI8UkpQBenEB+9rAH0C6Tg w6ekREAZ5GwPrMW5dUXGEJMCRj1dk6fZwNKTOV5L2vjee3tQNx53juPW0gzj4IuPRjOK 5NrPnWjNjrbGAE9MH1fJUGzF7x6TZm7e1QchS0siYvTuQOsZ23dTjqemAVvJT8I7EHWH bgvvmqRo7/SLVcH+5aOGcW3SE9vP/ys+Ao4RLJxHORxFRlrUU/R3WAczRJ7fobBSqZbg Z8xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=B3j4NCDEfpuXBI2454wkADLzG36skw67OwkMEok7oEs=; b=XHquRW/3/V30FDt+oBmi2SxWMK0FQoCSFWZXYqlusmGSspan4w+qVZuujE/UteXJCD jI11D39gdHWNxNePUfu8s4Bu2sUXP8tBjx+y1hTJp8vCwlN4+xZ3/6Z/n3k1JeW+g52i DJFfRfYHRrs7U9dcIhFqlwTjleuOtmOedSm8iWgcCuBmhhGOInb4xBg/7QRtF68t0FZ4 3DecmSWE0KwOieBnOAV+8WcTb7ci4hD9m/Y0r9vTtZ0jckBEenzW5lPoq4Z1y4KboQ2A kW3ykoh4GFuB4c234Lwze/HCCaRZLoxQ7Rj0dFYFscZpvTS7YkUUcN5b+MXEtkpDy3ae PZAw== X-Gm-Message-State: AOAM53004HCY31yFTOtI5tlk76PgLYaop2NKx4V3pFU16FNDcwqAIjdF q3CERTws+b+Q9nnG0Tv37fKyg6Bcq2s= X-Google-Smtp-Source: ABdhPJz7TjwDD1PogdHVXz11iomhgNwU4BXuLBzho61nrCMZz25M8txjWVDGcEC0+QJ4w8YCBSJ04w== X-Received: by 2002:a7b:c109:0:b0:397:43ef:b66f with SMTP id w9-20020a7bc109000000b0039743efb66fmr24441104wmi.44.1654020902132; Tue, 31 May 2022 11:15:02 -0700 (PDT) Received: from localhost.localdomain ([2a02:2f0e:c003:7c00:45d1:29c0:7802:f752]) by smtp.gmail.com with ESMTPSA id l3-20020a1c7903000000b003974027722csm2682980wme.47.2022.05.31.11.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 May 2022 11:15:01 -0700 (PDT) From: Ovidiu Panait To: u-boot@lists.denx.de Cc: monstr@monstr.eu, Ovidiu Panait , Masahiro Yamada , Michal Simek Subject: [PATCH v2 12/14] microblaze: Kconfig: introduce XILINX_MICROBLAZE0_FPGA_FAMILY option Date: Tue, 31 May 2022 21:14:33 +0300 Message-Id: <20220531181435.3473549-12-ovpanait@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220531181435.3473549-1-ovpanait@gmail.com> References: <20220531181435.3473549-1-ovpanait@gmail.com> 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.5 at phobos.denx.de X-Virus-Status: Clean Provide a static Kconfig value for the target FPGA archtitecture, as it is done in Linux. The cpu-uclass driver will cross-check it with the value read from PVR10 register. Signed-off-by: Ovidiu Panait --- Changes in v2: - New patch. board/xilinx/microblaze-generic/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/board/xilinx/microblaze-generic/Kconfig b/board/xilinx/microblaze-generic/Kconfig index a6743cadf4..90f79cfb94 100644 --- a/board/xilinx/microblaze-generic/Kconfig +++ b/board/xilinx/microblaze-generic/Kconfig @@ -38,6 +38,14 @@ config XILINX_MICROBLAZE0_HW_VER string "Core version number" default "7.10.d" +config XILINX_MICROBLAZE0_FPGA_FAMILY + string "Targeted FPGA family" + default "virtex5" + help + This option contains info about the target FPGA architecture + (Zynq-7000, UltraScale+ Kintex, etc) that the MicroBlaze soft core is + implemented on. It corresponds to the C_FAMILY hdl parameter. + config XILINX_MICROBLAZE0_USR_EXCEP bool "MicroBlaze user exception support" default y -- 2.25.1