From 515d0c1d290c1ac2fb1aa99e74ef4175c158a007 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 11 Jul 2012 20:17:14 +0000 Subject: Make the SoC stuff a little more modular, and start to move away from having the CPU device that's a child of atmelarm that does stuff. o Create a linker_set for the support fucntions for the SoCs. o Rename soc_data to soc_info. o Move the delay and reset function pointers to new soc_data struct o Create elements for all known SoCs o Add lookup of the SoC we found, and print a warning if it isn't one we know about. --- sys/arm/at91/at91_mci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/arm/at91/at91_mci.c') diff --git a/sys/arm/at91/at91_mci.c b/sys/arm/at91/at91_mci.c index f69477e..196aa64 100644 --- a/sys/arm/at91/at91_mci.c +++ b/sys/arm/at91/at91_mci.c @@ -313,7 +313,7 @@ static int at91_mci_is_mci1rev2xx(void) { - switch (soc_data.type) { + switch (soc_info.type) { case AT91_T_SAM9260: case AT91_T_SAM9263: case AT91_T_CAP9: -- cgit v1.1