arm64: rockchip: efuse: support set system serial
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-rockchip / efuse.c
index 439aa49bd7c1b92c2d260fc12a4b65ad0dca8218..2c1030f5201892c5a71d5bb12b7a060d3377aedd 100644 (file)
@@ -211,7 +211,6 @@ static int rk3288_get_leakage(int ch)
        return efuse_buf[23+ch];
 }
 
-#ifdef CONFIG_ARM
 static void __init rk3288_set_system_serial(void)
 {
        int i;
@@ -225,9 +224,6 @@ static void __init rk3288_set_system_serial(void)
        system_serial_low = crc32(0, buf, 8);
        system_serial_high = crc32(system_serial_low, buf + 8, 8);
 }
-#else
-static inline void __init rk3288_set_system_serial(void) {}
-#endif
 
 int rk312x_efuse_readregs(u32 addr, u32 length, u8 *buf)
 {