Message ID | 20220129152309.1567937-7-Mr.Bossman075@gmail.com |
---|---|
State | Accepted |
Commit | 116e1ed1ab68719d1e26a609c8b893770d944946 |
Delegated to: | Andre Przywara |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=hmzdTx61; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JmJ5Q5237z9sSs for <incoming@patchwork.ozlabs.org>; Sun, 30 Jan 2022 02:24:10 +1100 (AEDT) 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) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 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 <u-boot@lists.denx.de>; 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 <u-boot@lists.denx.de>; 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 <mr.bossman075@gmail.com> X-Google-Original-From: Jesse Taube <Mr.Bossman075@gmail.com> 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean |
Series |
Add support for SUNIV and F1C100s.
|
expand
|
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)