board = gd->bd->bi_arch_number - C100_MACH_START;
check_board_revision(board, board_rev);
+
+ /* Set CPU Revision */
+ if (board_is_limo_real()) {
+ if ((board_rev & 0xf) < 8)
+ s5pc1xx_set_cpu_rev(0);
+ } else {
+ s5pc1xx_set_cpu_rev(0);
+ }
+
dprintf("HW Revision:\t%x (%s%s)\n", board_rev, board_name[board],
display_features(board, board_rev));
}
IS_SAMSUNG_TYPE(s5pc100, 0xc100)
IS_SAMSUNG_TYPE(s5pc110, 0xc110)
+
+extern unsigned int s5pc1xx_cpu_rev;
+
+static inline int s5pc1xx_get_cpu_rev(void)
+{
+ return s5pc1xx_cpu_rev;
+}
+
+static inline void s5pc1xx_set_cpu_rev(unsigned int rev)
+{
+ s5pc1xx_cpu_rev = rev;
+}
#endif
#endif /* _S5PC1XX_CPU_H */