public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko@sntech.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/7] Enable rkclk init function
Date: Sun, 02 Apr 2017 13:52:07 +0200	[thread overview]
Message-ID: <12862552.kjCuFfrPQm@phil> (raw)
In-Reply-To: <1491057777-1640-5-git-send-email-eric.gao@rock-chips.com>

Hi Eric,

Am Samstag, 1. April 2017, 22:42:54 CEST schrieb eric.gao at rock-chips.com:
> From: "eric.gao" <eric.gao@rock-chips.com>
> 
> Signed-off-by: eric.gao <eric.gao@rock-chips.com>
> ---
> 
>  drivers/clk/rockchip/clk_rk3399.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c
> index 922ce7e..cfcd1e4 100644
> --- a/drivers/clk/rockchip/clk_rk3399.c
> +++ b/drivers/clk/rockchip/clk_rk3399.c
> @@ -20,6 +20,10 @@
>  
>  DECLARE_GLOBAL_DATA_PTR;
>  
> +#ifndef CONFIG_SPL_BUILD
> +#define CONFIG_SPL_BUILD
> +#endif
> +

That looks very strange. In all cases your commit message should explain
why a change is necessary, i.e. what you want to achieve.

In this special case, also rkclk_init runs from SPL context and inits the
clocks already, the full u-boot then finds the clocks already set up as
necessary and should have no need to for rkclk_init at all itself.


Heiko

  reply	other threads:[~2017-04-02 11:52 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-01 14:42 [U-Boot] [PATCH 0/7] Enable MIPI dsi display for rk3399 eric.gao at rock-chips.com
2017-04-01 14:42 ` [U-Boot] [PATCH 1/7] system halt when we enable bucks of PMIC rk808 eric.gao at rock-chips.com
2017-04-06  3:44   ` Simon Glass
2017-04-01 14:42 ` [U-Boot] [PATCH 2/7] Enable i2c for rk3399 eric.gao at rock-chips.com
2017-04-03  4:16   ` Heiko Schocher
2017-04-01 14:42 ` [U-Boot] [PATCH 3/7] Enable RK808 for rk3399 evb eric.gao at rock-chips.com
2017-04-06  3:44   ` Simon Glass
2017-04-01 14:42 ` [U-Boot] [PATCH 4/7] Enable rkclk init function eric.gao at rock-chips.com
2017-04-02 11:52   ` Heiko Stuebner [this message]
2017-04-06  8:45     ` Eric
2017-04-01 14:42 ` [U-Boot] [PATCH 5/7] Add mipi display support for rk3399 && rk3288 eric.gao at rock-chips.com
2017-04-05  3:52   ` Jacob Chen
2017-04-06  3:44   ` Simon Glass
2017-04-01 14:42 ` [U-Boot] [PATCH 6/7] Enable print log file to lcd eric.gao at rock-chips.com
2017-04-06  3:44   ` Simon Glass
2017-04-06  8:48     ` Eric
2017-04-01 14:42 ` [U-Boot] [PATCH 7/7] crash when scroll screen eric.gao at rock-chips.com
2017-04-06  3:44   ` Simon Glass
2017-04-05  8:47 ` [U-Boot] [PATCH 0/7] Enable MIPI dsi display for rk3399 Kever Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12862552.kjCuFfrPQm@phil \
    --to=heiko@sntech.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox