phosphor-ipmi-flash: main: move to iana header

Use the iana header for the google OEN

Change-Id: I30535fe6f978a80348462fbcc942a4d46e3c7293
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/main.cpp b/main.cpp
index 765a0fd..7720f33 100644
--- a/main.cpp
+++ b/main.cpp
@@ -17,12 +17,13 @@
 #include "config.h"
 
 #include "flash-ipmi.hpp"
-#include "host-ipmid/oemrouter.hpp"
 #include "ipmi.hpp"
 
-#include <memory>
+#include <host-ipmid/ipmid-api.h>
 
-#include "host-ipmid/ipmid-api.h"
+#include <host-ipmid/iana.hpp>
+#include <host-ipmid/oemrouter.hpp>
+#include <memory>
 
 static constexpr auto stagingPath = STAGING_PATH;
 static constexpr auto hashPath = HASH_PATH;
@@ -33,7 +34,6 @@
 {
 namespace google
 {
-constexpr int number = 11129;
 constexpr int flashOverBTCmd = 127;
 } // namespace google
 } // namespace oem
@@ -94,9 +94,9 @@
     oem::Router* router = oem::mutableRouter();
 
     fprintf(stderr, "Registering OEM:[%#08X], Cmd:[%#04X] for Flash Update\n",
-            oem::google::number, oem::google::flashOverBTCmd);
+            oem::googOemNumber, oem::google::flashOverBTCmd);
 
-    router->registerHandler(oem::google::number, oem::google::flashOverBTCmd,
+    router->registerHandler(oem::googOemNumber, oem::google::flashOverBTCmd,
                             flashControl);
 #endif