mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-17 23:37:01 +00:00
ARM: at91: armv7: sama7g5 uses CCF clock driver
SAMA7G5 uses CCF driver under drivers/clk/at91/ and not the custom older at91 clock.c driver. Remove it from the compilation list and adapt cpu.c arch_cpu_init() to avoid calling at91_clock_init() which is wrong anyway. Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
This commit is contained in:
parent
1a5c5b716c
commit
62495e2cdb
2 changed files with 7 additions and 4 deletions
|
@ -6,11 +6,10 @@
|
|||
# (C) Copyright 2013
|
||||
# Bo Shen <voice.shen@atmel.com>
|
||||
|
||||
obj-$(CONFIG_SAMA5D2) += sama5d2_devices.o
|
||||
obj-$(CONFIG_SAMA5D3) += sama5d3_devices.o
|
||||
obj-$(CONFIG_SAMA5D4) += sama5d4_devices.o
|
||||
obj-$(CONFIG_SAMA5D2) += sama5d2_devices.o clock.o
|
||||
obj-$(CONFIG_SAMA5D3) += sama5d3_devices.o clock.o
|
||||
obj-$(CONFIG_SAMA5D4) += sama5d4_devices.o clock.o
|
||||
obj-$(CONFIG_SAMA7G5) += sama7g5_devices.o
|
||||
obj-y += clock.o
|
||||
obj-y += cpu.o
|
||||
obj-y += reset.o
|
||||
ifeq ($(CONFIG_ATMEL_PIT_TIMER),)
|
||||
|
|
|
@ -24,7 +24,11 @@
|
|||
|
||||
int arch_cpu_init(void)
|
||||
{
|
||||
#if defined(CONFIG_CLK_CCF)
|
||||
return 0;
|
||||
#else
|
||||
return at91_clock_init(CONFIG_SYS_AT91_MAIN_CLOCK);
|
||||
#endif
|
||||
}
|
||||
|
||||
void arch_preboot_os(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue