mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-27 17:21:34 +00:00
https://forum.armbian.com/topic/5917-nanopi-k2-wip-general-topics/?do=findComment&comment=45917
15 lines
547 B
Diff
15 lines
547 B
Diff
diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c
|
|
index 89f4cf5..f2d8c3c 100644
|
|
--- a/drivers/soc/amlogic/meson-gx-socinfo.c
|
|
+++ b/drivers/soc/amlogic/meson-gx-socinfo.c
|
|
@@ -20,8 +20,8 @@
|
|
#define AO_SEC_SOCINFO_OFFSET AO_SEC_SD_CFG8
|
|
|
|
#define SOCINFO_MAJOR GENMASK(31, 24)
|
|
-#define SOCINFO_MINOR GENMASK(23, 16)
|
|
-#define SOCINFO_PACK GENMASK(15, 8)
|
|
+#define SOCINFO_PACK GENMASK(23, 16)
|
|
+#define SOCINFO_MINOR GENMASK(15, 8)
|
|
#define SOCINFO_MISC GENMASK(7, 0)
|
|
|
|
static const struct meson_gx_soc_id {
|