mirror of https://github.com/OpenIPC/firmware.git
Update Novatek patch, tnx @widgetii
parent
af5fb8595e
commit
243f9dea23
|
@ -382671,7 +382671,7 @@ diff -urN linux-4.19.91-orig/drivers/pinctrl/novatek/na51055/na51055_pinmux_proc
|
|||
+ */
|
||||
+static int nvt_pinmux_proc_packageid_show(struct seq_file *sfile, void *v)
|
||||
+{
|
||||
+ seq_printf(sfile, "0x%x\n", efuse_getPkgVersion());
|
||||
+ // seq_printf(sfile, "0x%x\n", efuse_getPkgVersion());
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
|
@ -394187,7 +394187,7 @@ diff -urN linux-4.19.91-orig/drivers/pinctrl/novatek/na51089/na51089_pinmux_proc
|
|||
+ */
|
||||
+static int nvt_pinmux_proc_packageid_show(struct seq_file *sfile, void *v)
|
||||
+{
|
||||
+ seq_printf(sfile, "0x%x\n", efuse_getPkgVersion());
|
||||
+ // seq_printf(sfile, "0x%x\n", efuse_getPkgVersion());
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
|
@ -1413555,10 +1413555,10 @@ diff -urN linux-4.19.91-orig/Makefile linux-4.19.91-novatek-v1.01.002/Makefile
|
|||
endef
|
||||
|
||||
+define filechk_nvtversion.h
|
||||
+ if [ "$(SHELL)" == "/bin/dash" ]; then \
|
||||
+ if [ "$(SHELL)" == "/bin/guano" ]; then \
|
||||
+ echo "#define NVT_UTS_RELEASE \t\""$(KERNELVERSION)_$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion --show-nvtver)"\""; \
|
||||
+ else \
|
||||
+ echo "#define NVT_UTS_RELEASE \t\""$(KERNELVERSION)_$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion --show-nvtver)"\""; \
|
||||
+ echo "#define NVT_UTS_RELEASE \""4.19.91_af5fb85"\""; \
|
||||
+ fi
|
||||
+endef
|
||||
+
|
||||
|
|
Loading…
Reference in New Issue