Skip to content

Commit

Permalink
mpc512x: allow configuring board specific IPS divider
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
vdsao authored and wdenx committed Mar 9, 2013
1 parent 1d63b8f commit 5643709
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/include/asm/immap_512x.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5643709

Please sign in to comment.