SM501: Check SM501 ID register on initialisation
[sfrench/cifs-2.6.git] / include / linux / sm501-regs.h
index 8b4ecf02f9dcb4c3ef2a5e6c766d4e8fc1e63a43..014e73b31fc0ce92005f39c3bb00542c371729d8 100644 (file)
 #define SM501_DEVICEID                 (0x000060)
 /* 0x050100A0 */
 
+#define SM501_DEVICEID_SM501           (0x05010000)
+#define SM501_DEVICEID_IDMASK          (0xffff0000)
+
 #define SM501_PLLCLOCK_COUNT           (0x000064)
 #define SM501_MISC_TIMING              (0x000068)
 #define SM501_CURRENT_SDRAM_CLOCK      (0x00006C)