public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] ARM: at91: add PMC_PLLICPR init function
Date: Wed, 9 Dec 2015 06:31:58 +0100	[thread overview]
Message-ID: <5667BCCE.9060401@denx.de> (raw)
In-Reply-To: <1449635817-8416-1-git-send-email-wenyou.yang@atmel.com>

Hello Wenyou,

Am 09.12.2015 um 05:36 schrieb Wenyou Yang:
> To reduce the duplicated code, add PLLICPR init function, use
> the function to clean up the PMC_PLLICPR directly writing code.
>
> It is based on the following patch set.
> 	[PATCH 0/5] ARM: at91: improve peripheral and system clock handle functions
> 	[PATCH 0/4] ARM: at91: add UTMI PLL handle functions
> 	[PATCH 0/3] ARM: at91: add PLLB handle functions
>
>
> Wenyou Yang (3):
>    ARM: at91: clock: add PMC_PLLICPR init function
>    ARM: at91: clean up the PMC_PLLICPR init code
>    board: atmel: clean up the PMC_PLLICPR init code
>
>   arch/arm/mach-at91/armv7/clock.c                |    7 +++++++
>   arch/arm/mach-at91/include/mach/at91_pmc.h      |    7 +++++++
>   arch/arm/mach-at91/include/mach/clk.h           |    1 +
>   arch/arm/mach-at91/spl_at91.c                   |    5 +----
>   board/atmel/sama5d3_xplained/sama5d3_xplained.c |    4 +---
>   board/atmel/sama5d3xek/sama5d3xek.c             |    4 +---
>   board/atmel/sama5d4_xplained/sama5d4_xplained.c |    4 +---
>   board/atmel/sama5d4ek/sama5d4ek.c               |    4 +---
>   8 files changed, 20 insertions(+), 16 deletions(-)

I applied all your at91 patches from:

  It is based on the following patch set.
  	[PATCH 0/5] ARM: at91: improve peripheral and system clock handle functions
  	[PATCH 0/4] ARM: at91: add UTMI PLL handle functions
  	[PATCH 0/3] ARM: at91: add PLLB handle functions

also this series, and compiled it for the smartweb board. This build fails:

   LD      spl/u-boot-spl
arch/arm/mach-at91/built-in.o: In function `board_init_f':
/home/hs/zug/u-boot/arch/arm/mach-at91/spl_at91.c:86: undefined reference to `at91_pllicpr_init'
/home/hs/zug/u-boot/scripts/Makefile.spl:244: recipe for target 'spl/u-boot-spl' failed
make[2]: *** [spl/u-boot-spl] Error 1
/home/hs/zug/u-boot/Makefile:1330: recipe for target 'spl/u-boot-spl' failed
make[1]: *** [spl/u-boot-spl] Error 2
make[1]: Leaving directory '/work/hs/compile/u-boot/zug/smartweb'
Makefile:150: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make failed
pollux:u-boot hs [20151209] $

Please do a build for all at91 boards, before posting your patches
again. Also try to have a look at the codesize ... the smartweb
board have only 4k for the SPL image...

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  parent reply	other threads:[~2015-12-09  5:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-09  4:36 [U-Boot] [PATCH 0/3] ARM: at91: add PMC_PLLICPR init function Wenyou Yang
2015-12-09  4:36 ` [U-Boot] [PATCH 1/3] ARM: at91: clock: " Wenyou Yang
2015-12-09  7:14   ` Heiko Schocher
2015-12-09  8:37     ` Andreas Bießmann
2015-12-09  9:59       ` Heiko Schocher
2015-12-09  4:36 ` [U-Boot] [PATCH 2/3] ARM: at91: clean up the PMC_PLLICPR init code Wenyou Yang
2015-12-09  4:36 ` [U-Boot] [PATCH 3/3] board: atmel: " Wenyou Yang
2015-12-09  5:31 ` Heiko Schocher [this message]
2015-12-09  7:40   ` [U-Boot] [PATCH 0/3] ARM: at91: add PMC_PLLICPR init function Yang, Wenyou

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=5667BCCE.9060401@denx.de \
    --to=hs@denx.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