From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Thu, 18 Feb 2016 22:27:19 +0100 Subject: [U-Boot] [U-Boot, v4, 3/5] ARM: cpu: at91: clean up peripheral clock code In-Reply-To: <1455830855-43683-1-git-send-email-andreas.devel@googlemail.com> References: <1455830855-43683-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <1455830855-43683-3-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wenyou Yang, Wenyou Yang writes: >Due to introducing the new peripheral clock handle functions, >use these functions to clean up the duplicated code. > >Meanwhile, remove unneeded header file include, at91_pmc.h. > >Signed-off-by: Wenyou Yang >Tested-by: Heiko Schocher >Reviewed-by: Andreas Bie?mann >[fixup for arm920t code] >Signed-off-by: Andreas Bie?mann >--- > arch/arm/mach-at91/arm920t/at91rm9200_devices.c | 14 +++----- > arch/arm/mach-at91/arm920t/timer.c | 6 ++-- > arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c | 36 +++++-------------- > arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c | 28 ++++----------- > arch/arm/mach-at91/arm926ejs/at91sam9263_devices.c | 37 +++++--------------- > .../mach-at91/arm926ejs/at91sam9m10g45_devices.c | 33 +++++------------- > arch/arm/mach-at91/arm926ejs/at91sam9n12_devices.c | 40 ++++++---------------- > arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c | 28 ++++----------- > arch/arm/mach-at91/arm926ejs/at91sam9x5_devices.c | 38 ++++++-------------- > arch/arm/mach-at91/arm926ejs/cpu.c | 1 - > arch/arm/mach-at91/arm926ejs/timer.c | 5 +-- > arch/arm/mach-at91/armv7/cpu.c | 1 - > arch/arm/mach-at91/armv7/timer.c | 1 - > arch/arm/mach-at91/phy.c | 1 - > arch/arm/mach-at91/sdram.c | 1 - > 15 files changed, 67 insertions(+), 203 deletions(-) applied to u-boot-atmel/master, thanks! I had to fix the arm920t code for clean build of at91rm9200ek boards. Best regards, Andreas Bie?mann