at91rm9200: move serial shutdown code to serial drivers

introduce serial_exit for this purpose. Use it only when the rm9200
serial driver is active

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
diff --git a/include/common.h b/include/common.h
index 20c058a..30fff7d 100644
--- a/include/common.h
+++ b/include/common.h
@@ -453,6 +453,7 @@
 
 /* $(CPU)/serial.c */
 int	serial_init   (void);
+void	serial_exit   (void);
 void	serial_addr   (unsigned int);
 void	serial_setbrg (void);
 void	serial_putc   (const char);