mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
microblaze: timer: Prepare for device-tree initialization
Fix CONFIG_SYS_HZ usage in board config. Do not use hardcoded value. Use CONFIG_SYS_HZ instead. Separate static configuration to single block. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
26e6da854e
commit
bcbb046bd5
4 changed files with 41 additions and 48 deletions
|
@ -39,3 +39,6 @@ typedef volatile struct microblaze_timer_t {
|
|||
int loadreg; /* load register TLR */
|
||||
int counter; /* timer/counter register */
|
||||
} microblaze_timer_t;
|
||||
|
||||
int timer_init(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue