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 EDA1EC433F5 for ; Sat, 29 Jan 2022 15:24:08 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F0B5C836C1; Sat, 29 Jan 2022 16:23:37 +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="hmzdTx61"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 715DE836B8; Sat, 29 Jan 2022 16:23:24 +0100 (CET) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 CB51183563 for ; Sat, 29 Jan 2022 16:23: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-qk1-x735.google.com with SMTP id w8so8167747qkw.8 for ; Sat, 29 Jan 2022 07:23: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=G33J11aF9LtHYoXhV+B/7r2io9HZyjU/FgY69toNeqo=; b=hmzdTx61p0r9GNKA71iWXgko2ge8HtUj+22pbgghws7B6S/j73vyXDE6xzTnK1uXki FZPq4RCvnBrnCccdwcZpRCkiK/S5RUG/BCkwgSRjuRRy1mtAEkEGIijaHYkelgJSAXg7 DqfUQypLhcXvhKDnCmjI1cyFvdko6DhpRRTo0Qu1GaZZw4vPIkV3wRncVcIuZx0hKABC 4ViLedtLjlLCgHr8eGZspOujRmG4AfWFzOX0k49ZP20ax1lhZU+4rAjHmPLiFNcn7VOo o/lSDzqRWSSpQ8KUH1DEuGM6uFoLpdIZGMH/uZ9L3OZSt3WhzRFy3ehmsUINzPMfTrhh KL0Q== 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=G33J11aF9LtHYoXhV+B/7r2io9HZyjU/FgY69toNeqo=; b=W9zXgrrNbOvH4ZiAUEKw+T4320JJlp0u4kIn0o7vYAALRqgElgNsbnz9STA45iP0WU WD91SyBRGUr5tca4zDeUrASvlqtrwnkCy0uAW9HJy2LCbmsRrMkmYQmFaNlFhfzOkHum ri9EYfKw3q/UeC2i5h1YJ3/sEMGd38WPUHr/mo7e/f8H25YBB1OacyYwtUq4abFEJWuB EgWGsYLtJ7Bh60O/tit05C6VbIPUONlVDd19aqN234S7v+uKKdIH0IGuTIkyz4ojbWfd Uvc9H0a6vHLMQLqsZuPkqF57yML595NkBZwBHNpzDco737y+Sh7TUQYtaPV9c/nSFdsn za0Q== X-Gm-Message-State: AOAM533+XNtIvRW6wHkRW5tVzQeHDXhQhPYD6AbqG4oNa3lRDIqAjpAV WQAmV8M4BzDEkZ7BkfngZFE93TLU48U= X-Google-Smtp-Source: ABdhPJzkRUGdZuoU/Mi8xoCwbMFOGlVIOpjZ3uInV0VV3QIdxzrLqUbVVF6Iywn/bNzu2/HDCtO64w== X-Received: by 2002:a37:6742:: with SMTP id b63mr8652548qkc.621.1643469800359; Sat, 29 Jan 2022 07:23: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 c127sm5063124qkf.36.2022.01.29.07.23.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 07:23:19 -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, 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 v3 06/10] sunxi: board: Add support for SUNIV Date: Sat, 29 Jan 2022 10:23:05 -0500 Message-Id: <20220129152309.1567937-7-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220129152309.1567937-1-Mr.Bossman075@gmail.com> References: <20220129152309.1567937-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.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 From: Icenowy Zheng Generic Timer Extension is not available on SUNIV. Signed-off-by: Icenowy Zheng Reviewed-by: Andre Przywara Signed-off-by: Jesse Taube --- V1->V2: * Nothing done V2->V3: * Nothing done --- 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