Message ID | 20190722115942.24962-27-kever.yang@rock-chips.com |
---|---|
State | Accepted |
Commit | 612fd9e5e0154104579f7c8686f0725b577daf6c |
Delegated to: | Kever Yang |
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=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rock-chips.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="H6QDyjxG"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45skVQ070qz9s8m for <incoming@patchwork.ozlabs.org>; Tue, 23 Jul 2019 00:28:13 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 962E6C21EF1; Mon, 22 Jul 2019 14:28:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 63D95C21F81; Mon, 22 Jul 2019 12:06:10 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 29C7BC21E07; Mon, 22 Jul 2019 12:06:09 +0000 (UTC) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by lists.denx.de (Postfix) with ESMTPS id DD2CCC21EA8 for <u-boot@lists.denx.de>; Mon, 22 Jul 2019 12:00:48 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id i2so19148572plt.1 for <u-boot@lists.denx.de>; Mon, 22 Jul 2019 05:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=VgBfQxtLP4Dw7n0OmT34jUZFZA60BHLgzweUy3g2/5c=; b=H6QDyjxGrQAyOTVY0gShGcuFI4l6pnb8Z6zb4AnTIrKbz68zsYefnBSyX0g4xsKcIL errwviKpm9FQzWEAPhg2wgEaU0VHHmGRvvRlzTj9133x4Sm9lKMcbdXXPTa758CuPPn4 WMxEITufvc8X7jpSUuzoblKetPpBQroRVzgKIayKbQpxswUPYk116AniiaxYc9Z15FzH PGLXJNZRZn2TUo61dYifCuVccqacHCFQ0H3KcI+yVuIwoAVq/UvFnxripc3KQhA45PAu 93QjPlucmBxUvsRjp5YIztv114Mj8CAPZOWFu08W49XXYlVo02QXms2JnhKGO8aIBsye uYYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=VgBfQxtLP4Dw7n0OmT34jUZFZA60BHLgzweUy3g2/5c=; b=ZR7Aezut+zppKa/amr69iiPwXd3ssZWYdmov0gM2wFn2qhdwneioJhfCl/2O0OrpDl Ca4EKNpwcYdb8R4pqDwUOQa0+kbuSbPaAeNGGgM7itzSgA4PF746V8mJjCKfBrmhvpuy kjFlbRXp/DtPnhu02xqO/78Urhwv1z5vVzwZxDJw1t7S67A/OPRvd+xX/DDyaMjuWTL/ IzVsmqTbEb/Rt8q0/dDaWhcmXbEXSa4dOf+uNdmIMR2cGU/T80NIjRwcgmbaQu5aZj07 UrKVz6n3BQ7CXTWSejTGMJfhnB4D2oFpOooptAxZAK7k+GvJG4IhzGtmRND6iE3Mlaos 2EEA== X-Gm-Message-State: APjAAAWyx1nXzSXysjTyQm+ezRdUuyrG6jrMeJBWPlbB8rJ9YAwafcPB OZpPqNg2Rf3drgP1dPqGFBZ089nA X-Google-Smtp-Source: APXvYqyYGy43C4ECBMu2YQwnGq+oFXMm7lD0XMxrhAHEqWp9OuFoJJeWpU66ktjMVUzfL8c5GusYoQ== X-Received: by 2002:a17:902:6b85:: with SMTP id p5mr71952005plk.225.1563796847535; Mon, 22 Jul 2019 05:00:47 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id u134sm37621218pfc.19.2019.07.22.05.00.45 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 22 Jul 2019 05:00:47 -0700 (PDT) From: Kever Yang <kever.yang@rock-chips.com> To: u-boot@lists.denx.de Date: Mon, 22 Jul 2019 19:59:33 +0800 Message-Id: <20190722115942.24962-27-kever.yang@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190722115942.24962-1-kever.yang@rock-chips.com> References: <20190722115942.24962-1-kever.yang@rock-chips.com> Subject: [U-Boot] [PATCH 26/35] rockchip: rk3328: add boot_devices mapping to support 'same-as-spl' X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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: <http://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> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
rockchip: Migrate to use common SPL board file
|
expand
|
diff --git a/arch/arm/mach-rockchip/rk3328/rk3328.c b/arch/arm/mach-rockchip/rk3328/rk3328.c index 1cf829dc34..222a8d36d3 100644 --- a/arch/arm/mach-rockchip/rk3328/rk3328.c +++ b/arch/arm/mach-rockchip/rk3328/rk3328.c @@ -4,12 +4,18 @@ */ #include <common.h> +#include <asm/arch-rockchip/bootrom.h> #include <asm/arch-rockchip/hardware.h> #include <asm/armv8/mmu.h> #include <asm/io.h> DECLARE_GLOBAL_DATA_PTR; +const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = { + [BROM_BOOTSOURCE_EMMC] = "rksdmmc@ff520000", + [BROM_BOOTSOURCE_SD] = "rksdmmc@ff500000", +}; + static struct mm_region rk3328_mem_map[] = { { .virt = 0x0UL,
The driver need a mapping to get the dts node by boot srouce ID. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> --- arch/arm/mach-rockchip/rk3328/rk3328.c | 6 ++++++ 1 file changed, 6 insertions(+)