From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bo Shen Date: Thu, 31 Oct 2013 09:32:19 +0800 Subject: [U-Boot] [RFC PATCH 2/7] arm: atmel: sama5d3: correct the ID for DBGU and PIT In-Reply-To: <5270E9AD.6050200@gmail.com> References: <1383124508-8413-1-git-send-email-voice.shen@atmel.com> <1383124508-8413-3-git-send-email-voice.shen@atmel.com> <5270E9AD.6050200@gmail.com> Message-ID: <5271B323.3020006@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Andreas, On 10/30/2013 19:12, Andreas Bie?mann wrote: > Hi Bo, > > On 10/30/2013 10:15 AM, Bo Shen wrote: >> As the DBGU and PIT has its own ID on sama5d3 SoC, while not share >> with SYS ID. So, correct them. >> >> Signed-off-by: Bo Shen >> --- >> arch/arm/cpu/armv7/at91/sama5d3_devices.c | 2 +- >> arch/arm/cpu/armv7/at91/timer.c | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/arch/arm/cpu/armv7/at91/sama5d3_devices.c b/arch/arm/cpu/armv7/at91/sama5d3_devices.c >> index 51f0a6d..ebe99d2 100644 >> --- a/arch/arm/cpu/armv7/at91/sama5d3_devices.c >> +++ b/arch/arm/cpu/armv7/at91/sama5d3_devices.c >> @@ -82,7 +82,7 @@ void at91_seriald_hw_init(void) >> at91_set_a_periph(AT91_PIO_PORTB, 30, 0); /* DRXD */ >> >> /* Enable clock */ >> - at91_periph_clk_enable(ATMEL_ID_SYS); >> + at91_periph_clk_enable(ATMEL_ID_DBGU); >> } >> >> #if defined(CONFIG_ATMEL_SPI) >> diff --git a/arch/arm/cpu/armv7/at91/timer.c b/arch/arm/cpu/armv7/at91/timer.c >> index 3808aed..e3ebfe0 100644 >> --- a/arch/arm/cpu/armv7/at91/timer.c >> +++ b/arch/arm/cpu/armv7/at91/timer.c >> @@ -60,7 +60,7 @@ int timer_init(void) >> at91_pit_t *pit = (at91_pit_t *)ATMEL_BASE_PIT; >> >> /* Enable PITC Clock */ >> - at91_periph_clk_enable(ATMEL_ID_SYS); >> + at91_periph_clk_enable(ATMEL_ID_PIT); >> >> /* Enable PITC */ >> writel(TIMER_LOAD_VAL | AT91_PIT_MR_EN , &pit->mr); >> > > I think these two are generic bug fixes, could you please send them as > not RFC for inclusion? OK, I will remove RFC for inclusion in v2. > Best regards > > Andreas Bie?mann > Best Regards, Bo Shen