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 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 02E0FC433F5 for ; Wed, 5 Jan 2022 00:36:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2C0618340A; Wed, 5 Jan 2022 01:35:38 +0100 (CET) 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="ghDRSnea"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0746A830E5; Wed, 5 Jan 2022 01:35:30 +0100 (CET) Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) (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 B05B383095 for ; Wed, 5 Jan 2022 01:35:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mr.bossman075@gmail.com Received: by mail-qv1-xf29.google.com with SMTP id fo11so35975129qvb.4 for ; Tue, 04 Jan 2022 16:35:21 -0800 (PST) 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=RpI9oDAmKV/N9eLR4VkCYExtvJK8Mxds2j8ETT1dpeI=; b=ghDRSneagcWMGdSvWcwGNxTgNhif7xWe+5XRGqJrTf5kOqkyzAlKhbOaqbiHdpXgzE x9sxUuZXG2sL0oTGammmYg/rk1CfzypQUJtcOy5ZHcuRInPUMSm6ARLzLlZq0cjXL2FL pSdhSzv3Y115TDgz+09WeXJsp3Job3Pbbzqklz344vDkEXLSTmmR2hjmu202MyFNV2Bo plrsOue//T1PqpXf66KYYaCpI4zYfGtznEzogQj9Ca6gb103H4Te9Pah4MKILuwg/zgU 9h41VmJQoTHCbLrrnaru/Q/wVu6pp9WrxKxoi2lDweVUZ3RPG79MKV3dfARLypvOSd4v Jg9A== 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=RpI9oDAmKV/N9eLR4VkCYExtvJK8Mxds2j8ETT1dpeI=; b=FQuAHiyrZ5XLJw5sCopYKLjDwZDYPp+A75aNPt47K0XxzpwvUcdYu9IQ6lyG9KzKvF CF01jxSQXMgxoFe9Ujiov9Ew7DDiUeZa3ixx0bO2nTErKGV4/4O/3/RazZALS1ehB9oV iljMCPy1LnF1Evt2VFe38a+F6+3H4BW4DAJL/3Rnm9MZXpy3MKfZZTt6QzfPeW5WGIHO QnCeG/zC423F4B77dpf88Bsq7YW1DxNphszLGigq9VVCa7PAQ+/9QLoNHhq3wv3ZN3Ur X92WsrOYUjcxluW2mNqVkY6AyddazBTvysb2nksAft0UflcD/olXxHhywy7sXqNcbW79 7y7w== X-Gm-Message-State: AOAM533qro7uknGKf2+YMDP68ePaWaRVqThPESgNujYaal6zbyDt8QOq /HjUjQXQTkboImswEieJkMRwUFfhLBw= X-Google-Smtp-Source: ABdhPJyvhg854RV1HsCg4X+YzI0f3yDZP5UarjP2bq6h9SbysicEdpE001ESNykEuFx5KmN18/iL5w== X-Received: by 2002:a05:6214:1761:: with SMTP id et1mr46614149qvb.131.1641342920469; Tue, 04 Jan 2022 16:35:20 -0800 (PST) Received: from jesse-desktop.jtp-bos.lab (146-115-144-188.s4282.c3-0.nwt-cbr1.sbo-nwt.ma.cable.rcncustomer.com. [146.115.144.188]) by smtp.gmail.com with ESMTPSA id x16sm33795029qkp.67.2022.01.04.16.35.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 16:35:20 -0800 (PST) From: Jesse Taube X-Google-Original-From: Jesse Taube To: u-boot@lists.denx.de Cc: jagan@amarulasolutions.com, andre.przywara@arm.com, hdegoede@redhat.com, sjg@chromium.org, icenowy@aosc.io, marek.behun@nic.cz, festevam@denx.de, narmstrong@baylibre.com, tharvey@gateworks.com, christianshewitt@gmail.com, pbrobinson@gmail.com, lokeshvutla@ti.com, jernej.skrabec@gmail.com, hs@denx.de, samuel@sholland.org, arnaud.ferraris@gmail.com, giulio.benetti@benettiengineering.com, Mr.Bossman075@gmail.com, thirtythreeforty@gmail.com Subject: [PATCH 07/11] sunxi: board: Add support for SUNIV Date: Tue, 4 Jan 2022 19:35:04 -0500 Message-Id: <20220105003508.1143140-8-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220105003508.1143140-1-Mr.Bossman075@gmail.com> References: <20220105003508.1143140-1-Mr.Bossman075@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 From: Icenowy Zheng Generic Timer Extension is not available on SUNIV. Signed-off-by: Icenowy Zheng Signed-off-by: Jesse Taube --- board/sunxi/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/sunxi/board.c b/board/sunxi/board.c index 2790a0f9e8..59eb195c26 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -197,7 +197,7 @@ int board_init(void) gd->bd->bi_boot_params = (PHYS_SDRAM_0 + 0x100); -#ifndef CONFIG_ARM64 +#if !defined(CONFIG_ARM64) && !defined(CONFIG_MACH_SUNIV) asm volatile("mrc p15, 0, %0, c0, c1, 1" : "=r"(id_pfr1)); debug("id_pfr1: 0x%08x\n", id_pfr1); /* Generic Timer Extension available? */ @@ -224,7 +224,7 @@ int board_init(void) #endif } } -#endif /* !CONFIG_ARM64 */ +#endif /* !CONFIG_ARM64 && !CONFIG_MACH_SUNIV */ ret = axp_gpio_init(); if (ret) -- 2.34.1