All of lore.kernel.org
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Patch V6 02/18] common/board_f.c: modify the macro to use get_clocks() more common
Date: Wed, 21 Oct 2015 09:52:23 -0700	[thread overview]
Message-ID: <5627C2C7.5090901@freescale.com> (raw)
In-Reply-To: <1445255949-25021-3-git-send-email-b52263@rhuath.am.freescale.net>



On 10/19/2015 04:58 AM, Gong Qianyu wrote:
> From: Gong Qianyu <Qianyu.Gong@freescale.com>
> 
> get_clocks() should not be limited by ESDHC.
> 
> Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
> ---
> V6:
>  - No change.
> V5:
>  - No change.
> V4:
>  - No change.
> V3:
>  - Removed defines in PPC configs that have no need to use.
> V2:
>  - No change.
> 
>  common/board_f.c                  | 2 +-
>  include/configs/colibri_vf.h      | 1 +
>  include/configs/ls1021aqds.h      | 1 +
>  include/configs/ls1021atwr.h      | 1 +
>  include/configs/ls2085aqds.h      | 1 +
>  include/configs/ls2085ardb.h      | 1 +
>  include/configs/m53evk.h          | 1 +
>  include/configs/mx25pdk.h         | 1 +
>  include/configs/mx35pdk.h         | 1 +
>  include/configs/mx51evk.h         | 1 +
>  include/configs/mx53ard.h         | 1 +
>  include/configs/mx53evk.h         | 1 +
>  include/configs/mx53loco.h        | 1 +
>  include/configs/mx53smd.h         | 1 +
>  include/configs/mx6_common.h      | 1 +
>  include/configs/mx7_common.h      | 1 +
>  include/configs/usbarmory.h       | 1 +
>  include/configs/vf610twr.h        | 1 +
>  include/configs/woodburn_common.h | 1 +
>  19 files changed, 19 insertions(+), 1 deletion(-)
> 
> diff --git a/common/board_f.c b/common/board_f.c
> index 613332e..1bb84b3 100644
> --- a/common/board_f.c
> +++ b/common/board_f.c
> @@ -806,7 +806,7 @@ static init_fnc_t init_sequence_f[] = {
>  #if defined(CONFIG_BOARD_POSTCLK_INIT)
>  	board_postclk_init,
>  #endif
> -#ifdef CONFIG_FSL_ESDHC
> +#ifdef CONFIG_FSL_CLK

Qianyu,

I feel it is more like a hardware requirement to have clocks calculated for the
rest to operate. Maybe CONFIG_SYS_FSL_CLK is slightly better fit? Anyway please
add it to README to document the usage.

York

  parent reply	other threads:[~2015-10-21 16:52 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19 11:58 [U-Boot] [Patch V6 00/18] add LS1043A platform support Gong Qianyu
2015-10-19 11:58 ` [U-Boot] [Patch V6 01/18] armv7/ls1021a: move ns_access to common file Gong Qianyu
2015-10-19 11:58   ` [U-Boot] [Patch V6 02/18] common/board_f.c: modify the macro to use get_clocks() more common Gong Qianyu
2015-10-19 11:58     ` [U-Boot] [Patch V6 03/18] net/fm: Fix the endian issue to support both endianness platforms Gong Qianyu
2015-10-19 11:58       ` [U-Boot] [Patch V6 04/18] net/fm/eth: Use mb() to be compatible for both ARM and PowerPC Gong Qianyu
2015-10-19 11:58         ` [U-Boot] [Patch V6 05/18] net/fm: Add support for 64-bit platforms Gong Qianyu
2015-10-19 11:58           ` [U-Boot] [Patch V6 06/18] net/fm: Make the return value logic consistent with convention Gong Qianyu
2015-10-19 11:58             ` [U-Boot] [Patch V6 07/18] net: fm: bug fix when CONFIG_PHYLIB not defined Gong Qianyu
2015-10-19 11:58               ` [U-Boot] [Patch V6 08/18] net: Move some header files to include/ Gong Qianyu
2015-10-19 11:59                 ` [U-Boot] [Patch V6 09/18] net/fm: Add QSGMII PCS init Gong Qianyu
2015-10-19 11:59                   ` [U-Boot] [Patch V6 10/18] net/fm: fix MDIO controller base on FMAN2 Gong Qianyu
2015-10-19 11:59                     ` [U-Boot] [Patch V6 11/18] armv8/fsl_lsch3: Change arch to fsl-layerscape Gong Qianyu
2015-10-19 11:59                       ` [U-Boot] [Patch V6 12/18] armv8/fsl_lsch2: Add fsl_lsch2 SoC Gong Qianyu
2015-10-19 11:59                         ` [U-Boot] [Patch V6 13/18] armv8/ls1043ardb: Add LS1043ARDB board support Gong Qianyu
2015-10-19 11:59                           ` [U-Boot] [Patch V6 14/18] armv8/ls1043ardb: Add nand boot support Gong Qianyu
2015-10-19 11:59                             ` [U-Boot] [Patch V6 15/18] armv8/ls1043a: Add Fman support Gong Qianyu
2015-10-19 11:59                               ` [U-Boot] [Patch V6 16/18] armv8/ls1043ardb: esdhc: Add esdhc support for ls1043ardb Gong Qianyu
2015-10-19 11:59                                 ` [U-Boot] [Patch V6 17/18] armv8/ls1043ardb: Add sd boot support Gong Qianyu
2015-10-19 11:59                                   ` [U-Boot] [Patch V6 18/18] armv8/ls1043a: Enable secondary cores Gong Qianyu
2015-10-22  7:24                       ` [U-Boot] [Patch V6 11/18] armv8/fsl_lsch3: Change arch to fsl-layerscape Hou Zhiqiang
2015-10-21 16:52     ` York Sun [this message]
2015-10-21 16:43   ` [U-Boot] [Patch V6 01/18] armv7/ls1021a: move ns_access to common file York Sun
2015-10-22  7:26   ` Hou Zhiqiang

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=5627C2C7.5090901@freescale.com \
    --to=yorksun@freescale.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.