36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
diff --git a/netbox_system_info.c b/netbox_system_info.c
|
|
index e6bf81e..823479b 100644
|
|
--- a/netbox_system_info.c
|
|
+++ b/netbox_system_info.c
|
|
@@ -26,7 +26,11 @@
|
|
#include <linux/mmc/sdio_func.h>
|
|
#include <net/rtnetlink.h>
|
|
#include <asm/byteorder.h>
|
|
-#include <nbsw.h>
|
|
+#define NBSW_VERSION_MAJOR 0
|
|
+#define NBSW_VERSION_MINOR 0
|
|
+#define NBSW_VERSION_PATCH 0
|
|
+#define NBSW_VERSION_BUILD 0
|
|
+#define NBSW_VERSION_DATE "20230101000000"
|
|
#include <linux/board_descriptor.h>
|
|
#include <linux/bdparser.h>
|
|
#include <linux/version.h>
|
|
diff --git a/netmodule_system_init.c b/netmodule_system_init.c
|
|
index dbf3c8b..1fa531b 100755
|
|
--- a/netmodule_system_init.c
|
|
+++ b/netmodule_system_init.c
|
|
@@ -14,7 +14,12 @@
|
|
#include <linux/of_device.h>
|
|
#include <linux/i2c.h>
|
|
#include <linux/board_descriptor.h>
|
|
-#include <bd-key.h>
|
|
+#ifndef _BD_KEY_H
|
|
+#define _BD_KEY_H
|
|
+
|
|
+static const unsigned char BD_KEY[] = { 0xa1, 0x73, 0x17, 0x9a, 0x5e, 0xf4, 0x42, 0xb9, 0xae, 0x8c,
|
|
+ 0xa3, 0xcd, 0x75, 0x63, 0xd3, 0x91, 0x4f, 0x11, 0xf1, 0x7b};
|
|
+#endif
|
|
|
|
#include <misc/nrsw-global.h>
|
|
#include "netbox_system_info.h"
|