Select primary/secondary BOOT/MEASUREMENT SEEPROM based on boot count

Changes include:
   1) selection of primary/secondary seeprom before booting host
   2) structure name change from PACKED to PACK to avoid conflict with
      attributes_info.H

Tests done :
- Verified the right bit set for Primary Vs Secondary Boot path
- Verified attribute GET/SET working good

Signed-off-by: Lakshminarayana R. Kammath <lkammath@in.ibm.com>
Change-Id: I3017b0e9118119cc0a5e478f262641ce539ac4ff
diff --git a/configure.ac b/configure.ac
index fecae53..971be69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,6 +73,10 @@
                AC_MSG_ERROR([EKB library not found])
        fi
 
+       PKG_CHECK_MODULES([LIBDT_API], [libdt-api])
+       LIBS="$LIBS $LIBDT_API_LIBS"
+       CFLAGS="$CFLAGS $LIBDT_API_CFLAGS"
+
        CHIPS+=" phal common"
        AC_CONFIG_FILES([set-spi-mux.service])
       ]