From patchwork Wed May 8 08:09:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10934651 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C240C92A for ; Wed, 8 May 2019 08:09:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B64B62863D for ; Wed, 8 May 2019 08:09:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A840728715; Wed, 8 May 2019 08:09:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 613532863D for ; Wed, 8 May 2019 08:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=agIkykO8IdWUysoG3rRm3w1dhaJ40kX9k+OESD9Py3c=; b=qdl3G57N0P6m3F nkx2/imEI7hgqIhWIFbL4wtmHMfcf0lJDxOAT5OJ61qzx0sglTCsRtRbXTzPtMyY32VaISswx9vWh QLhfVAkhYqsMurCOGL++eWaMA+4hbQDrc9n5jnlgQzK+/EhpYZy0p1/7W9O81y2qwfkg5A/AEl2Q6 K7rSPTxg8/f323ss6kqvvgMmhC0i/i4qR3EKP/W/vBf2w1K2cpgIEdT0mjfhrpVfHNubDJWsUmE4u 2pfiFcvJVsDAhm98AwJ4LDIHH3X8DRKOd0O96OEaKKYZ/obi4kLnZqkdAFhiCbHLI/9J8KJmonKOB +212KpCui50I7mNd03UA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hOHe3-0007vs-K0; Wed, 08 May 2019 08:09:43 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hOHe1-0007uN-6C for linux-rockchip@lists.infradead.org; Wed, 08 May 2019 08:09:42 +0000 Received: by mail-pg1-x542.google.com with SMTP id z3so5999608pgp.8 for ; Wed, 08 May 2019 01:09:41 -0700 (PDT) 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:content-transfer-encoding; bh=kD+oEPKanpwbUqT7qImxj7fv4DhkmQG/0AnVoyVwb8k=; b=EjyyN0t+S2uqk0YyrBotbNiVD8lBam8zNTuRGgAJXzgO0RHlD/I6TulY8aefSlArIp uzcuv5zDGxpt8miVjCEE8drNkoIP6dzY0eRsdxj8cqmcHrjTRNN5D07KXP3TD/Ood591 E1i8gjWxpRL63Bs1Q3mvS2ksJsgnkc+bQoVOE= 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=kD+oEPKanpwbUqT7qImxj7fv4DhkmQG/0AnVoyVwb8k=; b=KSsOomaJ3i+awOsTYafLYiFsQqwfUDtTxUL14ynCCfjVEArpXTcm4S8Cuuddlzr6qD UHOGfAkGycaOcNXnx1yIhDc6kiSvVEYk+sqgyndf0uW+HRCZ0C/d4ysdQ+PKTRMFa16B RgFvoa856TqUQS3XF7KT81OIdPfDLlw5r7bKeEXrkT6ET7lFNw8XFZN3/n4sSNxeyMl5 9e0likfcw9okQCrXyND96kRhB/lCvCYnTlom1sv2VdzRq1dF3RlQ8ig4UQDWrRBu/qpG O7GHBGZfe52ktYJdasAh+I0r+fmu858uhNatk2uWQDlVthw37LBpvImsa0YIMiwpUABp AWrA== X-Gm-Message-State: APjAAAU5uvs5rHjPgG6aqNSba9SEsO7WNp8t9SuKFA7fnDQJpqVIEgcM D0RW4hIx6CUf8MdttoH5JpFXwA== X-Google-Smtp-Source: APXvYqyEestRF6uglU6YJiu6JXbF9oAhl/rZTPVmRgUPisawq5NNPnDvtUdTbEDY8OkypLNs9DCKxg== X-Received: by 2002:a63:4c54:: with SMTP id m20mr37292632pgl.316.1557302980529; Wed, 08 May 2019 01:09:40 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id j9sm33537133pfc.43.2019.05.08.01.09.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 May 2019 01:09:39 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar Subject: [PATCH 6/8] rockchip: rk3399: tpl: Add spl_board_init Date: Wed, 8 May 2019 13:39:02 +0530 Message-Id: <20190508080904.1567-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190508080904.1567-1-jagan@amarulasolutions.com> References: <20190508080904.1567-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190508_010941_223373_FDC67B23 X-CRM114-Status: UNSURE ( 7.94 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki , u-boot@lists.denx.de Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add spl_board_init for TPL, that have TPL banner will help to print tpl boot prints. Signed-off-by: Jagan Teki --- arch/arm/mach-rockchip/rk3399-board-tpl.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-rockchip/rk3399-board-tpl.c b/arch/arm/mach-rockchip/rk3399-board-tpl.c index 86d3ffe97c..72d0dd914e 100644 --- a/arch/arm/mach-rockchip/rk3399-board-tpl.c +++ b/arch/arm/mach-rockchip/rk3399-board-tpl.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -73,6 +74,12 @@ u32 spl_boot_device(void) return BOOT_DEVICE_BOOTROM; } +void spl_board_init(void) +{ + puts("\nU-Boot TPL " PLAIN_VERSION " (" U_BOOT_DATE " - " + U_BOOT_TIME " " U_BOOT_TZ ")\n"); +} + #ifdef CONFIG_SPL_LOAD_FIT int board_fit_config_name_match(const char *name) {