From patchwork Thu Jun 20 18:55:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 685 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9447D3F086 for ; Thu, 20 Jun 2019 20:55:40 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id d190sf2631045pfa.0 for ; Thu, 20 Jun 2019 11:55:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1561056939; cv=pass; d=google.com; s=arc-20160816; b=g4TE3ZNOYoIjoA4QOkIxwfNrbuSx0GPtZP0vUWgUt5kdHB7AsloHszTBCmBB8J2/Gk stuinsfvZIlM0BYva5KeacUhkHtN9h2YIXBaGYnZ1zoOkAVTWn4owz/5tdGx6SmObQIS Pt5xXEW73glRAnJxuxyUZBZ0/pNwtKrpK3Q0P4bHllNRjfAkL5DNQHxK49dNpz3PQ6A/ /Fd5ue1mATIf+d4dhAC6lZ47BPsFNF7J1PKVDl1uugKZGFPtGyR+fI0zqufbrusICG19 3ljHokTi7y+BEXIBadNuQDwYhCB9vVaxMK4yiZ0oggmGdqkSky8KSr2xSv01anzsZU/S 0qMw== 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=qVMzfytkxTzJAAEVqeEvu1jLKQjc16wpflWc7J/vP7I=; b=WpbYcmo0rE1nYGCz9ipn8POr4J4P3mfaVezB0GtFRgfn2p79d4VMRtC+a1oVoIK0+b A23S96enUo2sVFxL4xHgCX/eHGyc1WCS7nr+9f9sC39TkveRBDF82bX/flndnDB5h1tk OJANLpAtch8y/9plj298cRh57nX7ztGBEVq3NmF03lls/geYtRvFbvk9kClI2mMBXbqF UF07a9M1NnT1gYaC/AMI9fDFTOjDGxrLEdJvenCBj0rpiSRKXorTcDSDH078+yhIIZoc 4t/6ET0z58PLdWueedGZ8qfQ18EyGUd09z6TAeQDyNMJ1yNlCqq4FoaAeMgARgY81yFU cJLA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UYXRB88I; 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=qVMzfytkxTzJAAEVqeEvu1jLKQjc16wpflWc7J/vP7I=; b=iYarnSmJH/CQSS24t8LD9iUl7HSaZvzVJ66SdOsbgV7KEh8mLosS0sr7f0LFBpubgv VvwK/GRB4t0bO/8aNhQGdlZBzIph7rx3iM5VWa36DHR5pES/c/rQEhYpyar/VrsfpwyM 1N4qcsLVLIZUb/umJIQUxMH9mtyBhDSg0MgTg= 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=qVMzfytkxTzJAAEVqeEvu1jLKQjc16wpflWc7J/vP7I=; b=B8r1mouaD70E6oFSiUiWUzswFYBj3YQo/lby6etZFMf0E2PfOQ6JPD8JKww1FelrK4 Y5RcxV3y9erzv0o0pLAfEx9sk6rxm5BQyK0Z9VO1B6ljztkwdf/BaFlwA5W8WHYvcuCv Nau0FpCPzLZF4TOqO79cvLBd6r/Xze3iKCgqJ0aGLaL68a4pubMWeMg3IzOzBOBmcSAm wWZ8ldt8Dkd1PZS5y+hZ/H9PvU5ZnzMIB0ghkcuBB0HR0DsNXCcxIFux0C7Cz+Ch2/ES +/ARZ1yQDq6+jmeQZNTy/d/4yuC6aXzKiHRgl+gs2EfxCX7fAA8ATIrGLwu9FBPNqdOP BY9w== X-Gm-Message-State: APjAAAVJ/pXOmDBehBpPBOvI+aRhrWY2EfsQo3awIJA2ONCCtw/XSHve qtAbfkMlrQ6NbdpNgOPAo7QL2e93 X-Google-Smtp-Source: APXvYqx8cQI73w4a4mJeQqIgRLvsCEs9FD20qNoojzi8jIq35G00uVhOXaxjSzvzwiLF1Px7pLybcQ== X-Received: by 2002:a17:902:e287:: with SMTP id cf7mr35611929plb.32.1561056939448; Thu, 20 Jun 2019 11:55:39 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:e444:: with SMTP id i4ls1363025pgk.13.gmail; Thu, 20 Jun 2019 11:55:39 -0700 (PDT) X-Received: by 2002:a63:3042:: with SMTP id w63mr6957548pgw.21.1561056939076; Thu, 20 Jun 2019 11:55:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561056939; cv=none; d=google.com; s=arc-20160816; b=in7Qr5ylq51MpKcR2u7o0ITGnM/z8hEFqKVLsxrv2KTgK1evuwDzcgwqCKVElGz1yt bODuXR6hidMHYQKWgS/UtnCYoB/Qf6dqXuSwelHZjGi1UkzouwZPE4Q5Hg4Sli2h+BcC lfveKVQz2wmoArNOGf6bFtt+/uodZEKxtlLnCAE2im5Zz12nxVamxnLweAYRiBO3noGp esH2bXPijSnhLbQe0RUMnxfqs+awFWhMmTcFlhSX17mMJEtZnPrNthPJjWRiQhud5zMU v3fpIPg6I5wqS+849tA8zcPnZ/AMZ9ph0Oyh82OKhyZVpae05A5ExPwRruaxdRihASCl 6etQ== 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=kD+oEPKanpwbUqT7qImxj7fv4DhkmQG/0AnVoyVwb8k=; b=FpX8Qa8cNYaGF4tCy5gLSPBwh4DRNwE8rUThV5la97IVufx5Isc/WJDDOqZZbWhIXQ SFbj6W5CBf7K0mb2uaylaxjKxB37UB//cH9LO9tMd8mPy/4Psfl9RMA/W+9zM2ksgJOc C7uH7hRA9xl0sZWWvUuSrbMFYHvT+KUXDBVPL0q+gBIpCmoLJqMkEW9H23LbzGe+1ZQn xu93LysiLUI4ZRb/kq7WYQB/s1GNlTYVIDb7tlyvMeXjgbDoBr8ozPIserDKMCh6rPlJ zB8iapz6Xw/jSt6Fd2P8xIn8kwP6HxDDfD9XrqTwVQutoxy1oRNZi7hZXYtW1GRbpQyp x8Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UYXRB88I; 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 p61sor652347plb.47.2019.06.20.11.55.39 for (Google Transport Security); Thu, 20 Jun 2019 11:55:39 -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:6947:: with SMTP id k7mr52379067plt.253.1561056938788; Thu, 20 Jun 2019 11:55:38 -0700 (PDT) Received: from localhost.localdomain ([183.82.225.128]) by smtp.gmail.com with ESMTPSA id k3sm372183pju.27.2019.06.20.11.55.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jun 2019 11:55:38 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , u-boot@lists.denx.de Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 6/8] rockchip: rk3399: tpl: Add spl_board_init Date: Fri, 21 Jun 2019 00:25:04 +0530 Message-Id: <20190620185506.11449-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190620185506.11449-1-jagan@amarulasolutions.com> References: <20190620185506.11449-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=UYXRB88I; 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: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add spl_board_init for TPL, that have TPL banner will help to print tpl boot prints. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- 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) {