K2G flashwriters: add SOC_K2G ifdefs in places where depreciated DEVICE_K2G appears
[keystone-rtos/mcsdk-tools.git] / writer / nor / src / norwriter.c
index c3835a9c6e212d76d33919f4c91e4d2223e4f137..91aca5635a41c6728c1f3f8448c827a6b34e7ede 100644 (file)
@@ -442,7 +442,7 @@ void main ()
     }\r
 #if !(defined(_EVMC6657L_))\r
 \r
-#if (defined(DEVICE_K2G))\r
+#if (defined(DEVICE_K2G) || defined(SOC_K2G))\r
     p_device = platform_device_open(PLATFORM_DEVID_NORN25Q128A13ESF40F, 0);\r
 #else\r
     p_device = platform_device_open(PLATFORM_DEVID_NORN25Q128, 0);\r