public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/6] sunxi: use setbits_le32 to enable the DMA clock
Date: Sun, 08 Jun 2014 14:19:33 +0200	[thread overview]
Message-ID: <539454D5.9030802@redhat.com> (raw)
In-Reply-To: <1401991217-1252-5-git-send-email-ijc@hellion.org.uk>



On 06/05/2014 08:00 PM, Ian Campbell wrote:
> Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
> ---
> v2: Split out from "ahci: provide sunxi SATA driver using AHCI
> platform framework"

Looks good:

Acked-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans

> ---
>  arch/arm/cpu/armv7/sunxi/clock_sun4i.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arch/arm/cpu/armv7/sunxi/clock_sun4i.c b/arch/arm/cpu/armv7/sunxi/clock_sun4i.c
> index 5a7da3c..b8b16cf 100644
> --- a/arch/arm/cpu/armv7/sunxi/clock_sun4i.c
> +++ b/arch/arm/cpu/armv7/sunxi/clock_sun4i.c
> @@ -36,8 +36,7 @@ void clock_init_safe(void)
>  	       CPU_CLK_SRC_PLL1 << CPU_CLK_SRC_SHIFT,
>  	       &ccm->cpu_ahb_apb0_cfg);
>  #ifdef CONFIG_SUN7I
> -	writel(0x1 << AHB_GATE_OFFSET_DMA | readl(&ccm->ahb_gate0),
> -	       &ccm->ahb_gate0);
> +	setbits_le32(&ccm->ahb_gate0, 0x1 << AHB_GATE_OFFSET_DMA);
>  #endif
>  	writel(PLL6_CFG_DEFAULT, &ccm->pll6_cfg);
>  }
> 

  reply	other threads:[~2014-06-08 12:19 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 17:59 [U-Boot] [PATCH v2 0/6] sunxi: GPIO, AHCI and Cubieboard 2 support Ian Campbell
2014-06-05 18:00 ` [U-Boot] [PATCH 1/6] AHCI: Increase link timeout to 200ms Ian Campbell
2014-06-05 18:00 ` [U-Boot] [PATCH 2/6] board_r: run scsi init() on ARM too Ian Campbell
2014-06-05 18:00 ` [U-Boot] [PATCH 3/6] sunxi: add Cubieboard2 support Ian Campbell
2014-07-24  3:12   ` Siarhei Siamashka
2014-07-24  3:18     ` Chen-Yu Tsai
2014-07-24 12:47       ` Siarhei Siamashka
2014-07-24 15:00         ` Tom Rini
2014-07-24 21:40           ` Siarhei Siamashka
2014-07-25 13:39             ` Tom Rini
2014-07-24  6:45     ` Ian Campbell
2014-07-24 21:12       ` Siarhei Siamashka
2014-07-25  6:52         ` Ian Campbell
2014-07-25 13:46           ` Tom Rini
2014-07-26 12:15           ` Siarhei Siamashka
2014-06-05 18:00 ` [U-Boot] [PATCH 4/6] sunxi: add gpio driver Ian Campbell
2014-06-08 12:19   ` Hans de Goede
2014-06-05 18:00 ` [U-Boot] [PATCH 5/6] sunxi: use setbits_le32 to enable the DMA clock Ian Campbell
2014-06-08 12:19   ` Hans de Goede [this message]
2014-06-05 18:00 ` [U-Boot] [PATCH 6/6] ahci: provide sunxi SATA driver using AHCI platform framework Ian Campbell

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=539454D5.9030802@redhat.com \
    --to=hdegoede@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox