mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 15:12:04 +00:00
mpc512x: allow configuring board specific IPS divider
Boards may define own IPS divider in the config file if the default IPS divider doesn't fit their needs. Signed-off-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
parent
1d63b8ffdb
commit
5643709ede
1 changed files with 2 additions and 0 deletions
|
@ -227,7 +227,9 @@ typedef struct clk512x {
|
|||
#define CLOCK_SCCR2_IIM_EN 0x00080000
|
||||
|
||||
/* SCFR1 System Clock Frequency Register 1 */
|
||||
#ifndef SCFR1_IPS_DIV
|
||||
#define SCFR1_IPS_DIV 0x3
|
||||
#endif
|
||||
#define SCFR1_IPS_DIV_MASK 0x03800000
|
||||
#define SCFR1_IPS_DIV_SHIFT 23
|
||||
|
||||
|
|
Loading…
Reference in a new issue