diff options
author | Stefan Roese <sr@denx.de> | 2007-10-21 08:12:41 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-10-31 21:20:50 +0100 |
commit | 087dfdb79b5fd1ab99a26990c62a732c01a8c7f6 (patch) | |
tree | 96c91e48b109044f85ea4ef06cb5c801d888ffae /cpu/ppc4xx/44x_spd_ddr.c | |
parent | 770c7af5800f598d22730d1f4b70f16c9b33512e (diff) | |
download | u-boot-imx-087dfdb79b5fd1ab99a26990c62a732c01a8c7f6.zip u-boot-imx-087dfdb79b5fd1ab99a26990c62a732c01a8c7f6.tar.gz u-boot-imx-087dfdb79b5fd1ab99a26990c62a732c01a8c7f6.tar.bz2 |
ppc4xx: Consolidate some of the 405 and 440 macros/structs into 4xx
This patch moves some common 4xx macros and the PPC405_SYS_INFO/
PPC440_SYS_INFO structure into the common ppc4xx.h header.
Lot's of other macros are good candidates to be consolidated this way
in the future.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx/44x_spd_ddr.c')
-rw-r--r-- | cpu/ppc4xx/44x_spd_ddr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/ppc4xx/44x_spd_ddr.c b/cpu/ppc4xx/44x_spd_ddr.c index 4a4c6f2..65ce46d 100644 --- a/cpu/ppc4xx/44x_spd_ddr.c +++ b/cpu/ppc4xx/44x_spd_ddr.c @@ -645,7 +645,7 @@ static void program_rtr(unsigned long *dimm_populated, unsigned char refresh_rate_type; unsigned long refresh_interval; unsigned long sdram_rtr; - PPC440_SYS_INFO sys_info; + PPC4xx_SYS_INFO sys_info; /* * get the board info @@ -721,7 +721,7 @@ static void program_tr0(unsigned long *dimm_populated, unsigned long tcyc_2_0_ns_x_10; unsigned long tcyc_reg; unsigned long bus_period_x_10; - PPC440_SYS_INFO sys_info; + PPC4xx_SYS_INFO sys_info; unsigned long residue; /* @@ -1065,7 +1065,7 @@ static void program_tr1(void) unsigned char window_found; unsigned char fail_found; unsigned char pass_found; - PPC440_SYS_INFO sys_info; + PPC4xx_SYS_INFO sys_info; /* * get the board info |