Message ID | 20200608183144.26809-2-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBIEI7L3AKGQEK5NSPMA@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1F7CF3F06D for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 8 Jun 2020 20:32:02 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id w5sf14125863pfb.17 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 08 Jun 2020 11:32:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1591641121; cv=pass; d=google.com; s=arc-20160816; b=uRNaO8Hwhoz0/7UnjaO4NT88ghI36z94klQYAbqVuULZ/IHqOQk3LIfx7Ht8H6zbKU KRPY/fiGIQe5A2YIxvXZ3eQEjscIPppxlJRin90JSnhO4HEkmSNFhdp7HQpIUw4OWBh8 mTsnZPVAnyXeZNjeqvDrvRxH7qHXBg2vfJ2CLKU1a4cnLRwZe5DGcysqciWmrM3xYdl8 5Cq7u31S96cHWMmIXQ8QdgSVCIxQXGgRa3hWjNhARZgO1eqoiH9jhMfNXZNtJ7il3kM5 3/7X1NjqE4zJ815bmCSOIbt275Pn+0eE+3f5YTgWUT3uZ4FEudJOAmSRj1m5M/dWqLdB Z+Vw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=bIjXnOV2DKN++/UByYTM139QRYKd0xx/Ci8PYcoEBnw=; b=q7GtJO11V7eUtGeS8yTGDgCUNKlA+Zl9K9yfruqkiHHpIkulOQKvE3SdR9Hireq45v Dn99AQo54srpc+GcN0IqVO+iKJX0eRh6NCRS1BucDUc9J9B9sGc53zzGvN2TmgjTsonb VYF3rJtk/+ofRbjxfp2eNoFfgsOeDgqsR4noqpCV+JrdrbQE4a6tA2LkBD6whuZ4oRwO Hcu9Mw53X4JS9yLO7IIOBC7lcDQcUiggGZV/86ooE7BbnSDcU92VehxLz+MKbvlxsF+U fTYWhMcxTeiGX/JCZy5vL29CH//LQ3+PKvBJBFAW8IR+mKdMa4fOyK06Ay40fPhJYiq/ m87Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KXrbf0GJ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=bIjXnOV2DKN++/UByYTM139QRYKd0xx/Ci8PYcoEBnw=; b=iqcs5Ymb5kimRfmuGf4ZDfsxr0DHao1qVoQt8lRRwiDXEno3Wbe91s4qa7B33SN1Av 73fLNVdQ6CecFFooNXKbP/BVSImflh5eTrFAoTjvN0bdSaEe12TDGE4N8YXBu9hnQYai a1PR8wlQ20cVmNhMORbRlki7Xkrw/GiX0nyLk= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=bIjXnOV2DKN++/UByYTM139QRYKd0xx/Ci8PYcoEBnw=; b=FxukzOFNjy6sfjj9j5L9iP0sL6Y9mcHKG2J1mBYSl60h7YiHzuFQ/OuTrJ8mEuHaZL yZPpO35hNWJ2uUTsHGgXbpbVbq1kmRTzMn0AsoGEU2t9EdaEdo34tkS+iHVEh1vINa7q Mx1VkpNIhHOnCPIznH5kFGfXZ9KiqrepOTDyHdN+CYT4tdVUcN5fXQ9Ze9gO+vt1qh90 E5gTTe2XRoAGGgikmcBqbgFWkdJnCjxgS2nyjiV0iwYHTFqA0SYzFlEIZ6neCUmv86H0 U51IUKx3N4mB6DUXbcUTtqzeF4WPxAM0YISmCtKP8fjc0g0nqhQSsWh/AK8USPp/Ybn9 5UOg== X-Gm-Message-State: AOAM532mTG47ToR/HDIOe2iejwY/mWaz4Bx63DyNirzyNNlwTkk/mt82 MCdSCPRk2OdLd/di2p+LD6/SUNkL X-Google-Smtp-Source: ABdhPJz9S2iBdoMoYiKtEFypJOfEdeHruC5yHXQXHipy+WS6MAKzFBxUotTUX6mbnf98MmFb/lQW9g== X-Received: by 2002:a63:ef09:: with SMTP id u9mr22299671pgh.406.1591641120804; Mon, 08 Jun 2020 11:32:00 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:718c:: with SMTP id i12ls146739pjk.1.canary-gmail; Mon, 08 Jun 2020 11:32:00 -0700 (PDT) X-Received: by 2002:a17:902:aa88:: with SMTP id d8mr137771plr.80.1591641120295; Mon, 08 Jun 2020 11:32:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591641120; cv=none; d=google.com; s=arc-20160816; b=xoMPGWa4VwEPUpmrSYdk4gLB7qcdHPn/eirVfLKpMGnqYfVBTrwQdaZpqL2rF/xbye /4Th+FZosZW4Mk6Ntp8C+K2B559/rIZQ+nGyKbCaFM6j2wlM1ZClKwYZQpeAIxrZn/KC Jwx/UxPdV2dO4qKeNoqveKfjlV7Y1RnEN1/JzL30BxKtmMolB3wYymEor9yDPGCWR44t jrXaHfpNB83lL4tCwVnAhZSQOSAXL+z9om04Ce6VC/MTrs8AJDsyZ8ZWLO4U5Kj+BS9k ++M1lC6xXPaMMFJma80qiLi01/toiV9KJ/xHAEp7i7Ata0n6sU3WRSXnfud9bhPXWy3C w8+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=+OOH0MJYGocj8ptIYBFShfjnt/CJ6WeKYHtBzKGq9J0=; b=lzLtUXBANF1RDUOc0+ErZdq2IKxDIef7eeWhlVNMVDwNJm4+MYGTjKstrSGKU1MRLt YlOPLOMmgedpf6IfLFej8mGgyXzK/GiNbSjHEwTzEGLymZZvOIepgWgaM0B8I/hCbjg/ pTzGYNFVXcBXknusC/HLEKHZ2098CKMMobD236H2npRJ4INWBzu0L6pw4K6ZYfYtVQqc DjCw2sQRyj11CrT3b4Upc2PsryiPkPPSRtQ0T+OdZJ3lAtC1RIR8o5Wqj7FA489wsd3L d/mKyjbPVwFF9v9oFxg/cJhCvqMFn5nTwm+VsoTHxS276EyiPItsWWiQRfbrZuo5lD6F elaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KXrbf0GJ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id l1sor11498868plb.41.2020.06.08.11.32.00 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Mon, 08 Jun 2020 11:32:00 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:9047:: with SMTP id w7mr86571plz.275.1591641119986; Mon, 08 Jun 2020 11:31:59 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9043:af95:b7b4:3ade]) by smtp.gmail.com with ESMTPSA id k29sm6680961pgf.77.2020.06.08.11.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 11:31:59 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Kever Yang <kever.yang@rock-chips.com>, Philipp Tomsich <philipp.tomsich@theobroma-systems.com>, Simon Glass <sjg@chromium.org> Cc: Suniel Mahesh <sunil@amarulasolutions.com>, U-Boot-Denx <u-boot@lists.denx.de>, linux-rockchip@lists.infradead.org, linux-amarula <linux-amarula@amarulasolutions.com>, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v3 1/5] rk3399: spl: Add rk_spl_board_init as __weak Date: Mon, 8 Jun 2020 14:31:40 -0400 Message-Id: <20200608183144.26809-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200608183144.26809-1-jagan@amarulasolutions.com> References: <20200608183144.26809-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KXrbf0GJ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/arch/arm/mach-rockchip/rk3399/rk3399.c b/arch/arm/mach-rockchip/rk3399/rk3399.c index 4fda93b152..681f80f339 100644 --- a/arch/arm/mach-rockchip/rk3399/rk3399.c +++ b/arch/arm/mach-rockchip/rk3399/rk3399.c @@ -241,7 +241,7 @@ static void rk3399_force_power_on_reset(void) } #endif -void spl_board_init(void) +__weak void rk_spl_board_init(void) { #if defined(SPL_GPIO_SUPPORT) struct rockchip_cru *cru = rockchip_get_cru(); @@ -274,4 +274,11 @@ void spl_board_init(void) debug("%s: Cannot enable boot on regulator\n", __func__); #endif } + +void spl_board_init(void) +{ + /* board specific spl init */ + rk_spl_board_init(); +} + #endif