mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
highbank: switch to use the Arm SP804 DM_TIMER driver
So far the Calxeda machines were using the CONFIG_SYS_TIMER_* macros to simply hardcode the address of the counter register of the SP804 timer. This method is deprecated and scheduled for removal. Use the newly introduced SP804 DM_TIMER driver to provide timer functionality on Highbank and Midway machines. The base address and base frequency are taken from the devicetree. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
parent
4849e2edf4
commit
44b7abf8dc
2 changed files with 2 additions and 4 deletions
|
@ -769,6 +769,8 @@ config ARCH_HIGHBANK
|
|||
select AHCI
|
||||
select DM_ETH
|
||||
select PHYS_64BIT
|
||||
select TIMER
|
||||
select SP804_TIMER
|
||||
imply OF_HAS_PRIOR_STAGE
|
||||
|
||||
config ARCH_INTEGRATOR
|
||||
|
|
|
@ -8,10 +8,6 @@
|
|||
|
||||
#define CONFIG_SYS_BOOTMAPSZ (16 << 20)
|
||||
|
||||
#define CONFIG_SYS_TIMER_RATE (150000000/256)
|
||||
#define CONFIG_SYS_TIMER_COUNTER (0xFFF34000 + 0x4)
|
||||
#define CONFIG_SYS_TIMER_COUNTS_DOWN
|
||||
|
||||
#define CONFIG_PL011_CLOCK 150000000
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue