]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mx51evk/mx51evk.c
MX51: removed warnings for the mx51evk
[u-boot] / board / freescale / mx51evk / mx51evk.c
index df0e8eda594931f59e7b7ef8d59e3b0851189d94..af1b0bd8bc7724302bb55d231aa3e68a51e08316 100644 (file)
@@ -26,6 +26,7 @@
 #include <asm/arch/mx51_pins.h>
 #include <asm/arch/iomux.h>
 #include <asm/errno.h>
+#include <asm/arch/sys_proto.h>
 #include <i2c.h>
 #include <mmc.h>
 #include <fsl_esdhc.h>
@@ -48,16 +49,6 @@ u32 get_board_rev(void)
        return system_rev;
 }
 
-static inline void set_board_rev(int rev)
-{
-       system_rev |= (rev & 0xF) << 8;
-}
-
-inline int is_soc_rev(int rev)
-{
-       return (system_rev & 0xFF) - rev;
-}
-
 int dram_init(void)
 {
        gd->bd->bi_dram[0].start = PHYS_SDRAM_1;