Message ID | 20191206213936.v6.83.Id2e28b29cb7843ef48d96a4a50c922e2a5787764@changeid |
---|---|
State | Accepted |
Commit | 5690d5c8f878846d862bd4a0256c2e8285413bff |
Delegated to: | Bin Meng |
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: 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>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="laWuadJz"; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 47VHPb2MkVz9sPL for <incoming@patchwork.ozlabs.org>; Sat, 7 Dec 2019 16:02:11 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A09F581730; Sat, 7 Dec 2019 05:54:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="laWuadJz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 533F281714; Sat, 7 Dec 2019 05:54:31 +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=-0.1 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) (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 A0E7F81714 for <u-boot@lists.denx.de>; Sat, 7 Dec 2019 05:54:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x144.google.com with SMTP id r81so8160609ilk.0 for <u-boot@lists.denx.de>; Fri, 06 Dec 2019 20:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GhBwGzVuK4pG1WdDKce99V/BVbJ2CmwR/jn7ns9+4bw=; b=laWuadJzdR1QLNhb90K/RhHGtU23PtSMiXauSmFQbn4yktg3Dh3SOjEpFnLLe84Py6 HReKmY5G11EqC9STylnx4pk+L7nXSfZC9wRGCkxF12mD4EvsBqx5ojPJbZRigteP4Uyt bvpXPfWsRbWi2/u77k7YBz4VG7j/3EWBQgxKM= 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=GhBwGzVuK4pG1WdDKce99V/BVbJ2CmwR/jn7ns9+4bw=; b=Z1w7nNeFXXDK9sm46e5IWNukt9jwJi0eoGeglyKPpuKU+zAkdb+sGPpnZI/mLC1no7 irebKB5VRHzwQE1jjgsmGyaNMUibrBYTKj6G7VC7hFJV+N1Hu1DQf8jAOi9jui6ygXuy 4f+QN83SDcXHip8xn1UzwtWc2Sgeyc7a9np/x+Nz+rdVMbq2bZuZNPaa+7VK3Jw6ljTc U1HS+lm/ABr9gLnSP+p7FepRM8CUUpZATPeQQO4SS+SjAOxA5Ez3LqVO2aqKtzMKUHyi 8fvmfpcATO4Nm6NwdBoTBwtBX7TTvU/mqM1fmwXIeD+jq7AxKY9Wm/+FoggpNgx21L+Y xUJg== X-Gm-Message-State: APjAAAUV6itTZSpK7uq+bGTC4bVTVIOigxR3q/3QsmxmoweYZ/vAYuI6 JQqLCmspAMK9QASgRlsr31eX1Zsz8To= X-Google-Smtp-Source: APXvYqyB19593BKQ7kLKekpoqFO7LR0H5tTeq+1aR0GkKA74ogHWu8eQiMx++pUIF/8yXcsl/naBig== X-Received: by 2002:a92:8fd5:: with SMTP id r82mr18754822ilk.223.1575694467472; Fri, 06 Dec 2019 20:54:27 -0800 (PST) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id o7sm4549410ilo.58.2019.12.06.20.54.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2019 20:54:27 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Subject: [PATCH v6 083/102] x86: apl: Add basic IO addresses Date: Fri, 6 Dec 2019 21:42:56 -0700 Message-Id: <20191206213936.v6.83.Id2e28b29cb7843ef48d96a4a50c922e2a5787764@changeid> X-Mailer: git-send-email 2.24.0.393.g34dc348eaf-goog In-Reply-To: <20191207044315.51770-1-sjg@chromium.org> References: <20191207044315.51770-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 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.101.4 at phobos.denx.de X-Virus-Status: Clean |
Series |
x86: Add initial support for apollolake
|
expand
|
On Sat, Dec 7, 2019 at 12:54 PM Simon Glass <sjg@chromium.org> wrote: > > Add some fixed IO and mmap addresses for use in the device tree and with > some early-init code. > > Signed-off-by: Simon Glass <sjg@chromium.org> > Reviewed-by: Bin Meng <bmeng.cn@gmail.com> > > --- > > Changes in v6: None > Changes in v5: > - Add ACPI base address and size > > Changes in v4: > - Drop TCO_BASE_ADDRESS > - Tidy up header guards > > Changes in v3: None > Changes in v2: None > > arch/x86/include/asm/arch-apollolake/iomap.h | 29 ++++++++++++++++++++ > 1 file changed, 29 insertions(+) > create mode 100644 arch/x86/include/asm/arch-apollolake/iomap.h > applied to u-boot-x86/next, thanks!
diff --git a/arch/x86/include/asm/arch-apollolake/iomap.h b/arch/x86/include/asm/arch-apollolake/iomap.h new file mode 100644 index 0000000000..4ce1017055 --- /dev/null +++ b/arch/x86/include/asm/arch-apollolake/iomap.h @@ -0,0 +1,29 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2017 Intel Corporation. + * Take from coreboot project file of the same name + */ + +#ifndef _ASM_ARCH_IOMAP_H +#define _ASM_ARCH_IOMAP_H + +#define R_ACPI_PM1_TMR 0x8 + +/* Put p2sb at 0xd0000000 in TPL */ +#define IOMAP_P2SB_BAR 0xd0000000 + +#define IOMAP_SPI_BASE 0xfe010000 + +#define IOMAP_ACPI_BASE 0x400 +#define IOMAP_ACPI_SIZE 0x100 + +/* + * Use UART2. To use UART1 you need to set '2' to '1', change device tree serial + * node name and 'reg' property, and update CONFIG_DEBUG_UART_BASE. + */ +#define PCH_DEV_UART PCI_BDF(0, 0x18, 2) + +#define PCH_DEV_LPC PCI_BDF(0, 0x1f, 0) +#define PCH_DEV_SPI PCI_BDF(0, 0x0d, 2) + +#endif