discover/network: Use platform definition for DHCP architecture ID
[petitboot] / discover / platform.c
index 66e776edd530548f9815c91942520362f5205e59..d52c9f65eecd48617b24f911a803f9498cde4ab4 100644 (file)
@@ -102,6 +102,11 @@ int platform_init(void *ctx)
        return 0;
 }
 
+const struct platform *platform_get(void)
+{
+       return platform;
+}
+
 int config_set(struct config *newconfig)
 {
        int rc;