Update "Get BMC Flash Chip Boot Side" logic

Due to kernel 4.17 changes "/dev/mem" has been turned off and the
same can be fetch from "/sys/class/watchdog/watchdog1/bootstatus".

Resolves  openbmc/openbmc-test-automation#1410

Change-Id: Id574b99fcd56610b79c1dd457d713a97c7e9e07c
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index b782ec1..9532788 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -1522,11 +1522,11 @@
     [Documentation]  Return the BMC flash chip boot side.
 
     # Example:
-    # 0 - indicates chip select is current side.
-    # 1 - indicates chip select is alternate side.
+    # 0  - indicates chip select is current side.
+    # 32 - indicates chip select is alternate side.
 
     ${boot_side}  ${stderr}  ${rc}=  BMC Execute Command
-    ...  echo $(($(/sbin/devmem 0x1E785030) >> 1 & 1))
+    ...  cat /sys/class/watchdog/watchdog1/bootstatus
 
     [Return]  ${boot_side}