summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:49:03 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:44 -0500
commita0d3c820c43e040b001c912a717942219e0fe3ab (patch)
tree28c16048e84859b89ab131ee69b82b62468b83e5 /arch
parent923a662f2fb09aa67c1ec0de25474c218fad2690 (diff)
downloadu-boot-imx-a0d3c820c43e040b001c912a717942219e0fe3ab.zip
u-boot-imx-a0d3c820c43e040b001c912a717942219e0fe3ab.tar.gz
u-boot-imx-a0d3c820c43e040b001c912a717942219e0fe3ab.tar.bz2
ppc: Move wdt_last 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')
-rw-r--r--arch/powerpc/include/asm/global_data.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/global_data.h b/arch/powerpc/include/asm/global_data.h
index 52aece0..b138e64 100644
--- a/arch/powerpc/include/asm/global_data.h
+++ b/arch/powerpc/include/asm/global_data.h
@@ -125,6 +125,9 @@ struct arch_global_data {
#ifdef CONFIG_SYS_FPGA_COUNT
unsigned fpga_state[CONFIG_SYS_FPGA_COUNT];
#endif
+#if defined(CONFIG_WD_MAX_RATE)
+ unsigned long long wdt_last; /* trace watch-dog triggering rate */
+#endif
};
/*
@@ -173,9 +176,6 @@ typedef struct global_data {
#if defined(CONFIG_LWMON) || defined(CONFIG_LWMON5)
unsigned long kbd_status;
#endif
-#if defined(CONFIG_WD_MAX_RATE)
- unsigned long long wdt_last; /* trace watch-dog triggering rate */
-#endif
void **jt; /* jump table */
char env_buf[32]; /* buffer for getenv() before reloc. */
struct arch_global_data arch; /* architecture-specific data */