summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91var.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-07-12 13:45:58 +0000
committerimp <imp@FreeBSD.org>2012-07-12 13:45:58 +0000
commit2344bfa1745160738ce7fc6477cee9942e61e566 (patch)
treedb82487c7187af878c7bd1e6d6a0a8f637912e5e /sys/arm/at91/at91var.h
parent83a72cff11da31e7dea90d2f60bf1addc4858bf1 (diff)
downloadFreeBSD-src-2344bfa1745160738ce7fc6477cee9942e61e566.zip
FreeBSD-src-2344bfa1745160738ce7fc6477cee9942e61e566.tar.gz
Complete the transition away from newbus to populate the children to
the linker set of CPU modules. The newbus method, although clever, had many flaws: it didn't really support multiple SoC, many of the comments about order were just wrong, and it did a few things far too late to be useful. delay and cpu_reset now work much earlier in the boot process.
Diffstat (limited to 'sys/arm/at91/at91var.h')
-rw-r--r--sys/arm/at91/at91var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/at91/at91var.h b/sys/arm/at91/at91var.h
index 2682013..ac48d00 100644
--- a/sys/arm/at91/at91var.h
+++ b/sys/arm/at91/at91var.h
@@ -104,10 +104,12 @@ enum at91_soc_family {
typedef void (*DELAY_t)(int);
typedef void (*cpu_reset_t)(void);
+typedef void (*clk_init_t)(void);
struct at91_soc_data {
DELAY_t soc_delay;
cpu_reset_t soc_reset;
+ clk_init_t soc_clock_init;
const int *soc_irq_prio;
const struct cpu_devs *soc_children;
};
OpenPOWER on IntegriCloud