diff options
author | Simon Glass <sjg@chromium.org> | 2012-12-13 20:48:56 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-04 09:05:43 -0500 |
commit | 3c4c308c0057bb731ac20de1f2b9a3c509008ad0 (patch) | |
tree | 2694ea79ef9bba5667c1dd8ab0714e2aa056425c /arch/powerpc/cpu/mpc83xx/cpu_init.c | |
parent | 1c356135fa1fd2c2f6d775ba1b2f86e4823d8338 (diff) | |
download | u-boot-imx-3c4c308c0057bb731ac20de1f2b9a3c509008ad0.zip u-boot-imx-3c4c308c0057bb731ac20de1f2b9a3c509008ad0.tar.gz u-boot-imx-3c4c308c0057bb731ac20de1f2b9a3c509008ad0.tar.bz2 |
ppc: Move reset_status to arch_global_data
Move this field into arch_global_data and tidy up.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc83xx/cpu_init.c')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/cpu_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c index 20d0600..9325110 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc83xx/cpu_init.c @@ -232,7 +232,7 @@ void cpu_init_f (volatile immap_t * im) clrsetbits_be32(&im->clk.sccr, sccr_mask, sccr_val); /* RSR - Reset Status Register - clear all status (4.6.1.3) */ - gd->reset_status = __raw_readl(&im->reset.rsr); + gd->arch.reset_status = __raw_readl(&im->reset.rsr); __raw_writel(~(RSR_RES), &im->reset.rsr); /* AER - Arbiter Event Register - store status */ @@ -499,7 +499,7 @@ int prt_83xx_rsr(void) RSR_HRS, "External/Internal Hard"} }; static int n = sizeof bits / sizeof bits[0]; - ulong rsr = gd->reset_status; + ulong rsr = gd->arch.reset_status; int i; char *sep; |