From: Anatolij Gustschin Date: Fri, 8 Feb 2013 00:03:47 +0000 (+0000) Subject: mpc512x: allow configuring board specific IPS divider X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=5643709ede0acef5c52669618ea36c33f84e9247;p=u-boot.git 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 --- diff --git a/arch/powerpc/include/asm/immap_512x.h b/arch/powerpc/include/asm/immap_512x.h index 157e6b84f6..383e872cf0 100644 --- a/arch/powerpc/include/asm/immap_512x.h +++ b/arch/powerpc/include/asm/immap_512x.h @@ -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