diff options
Diffstat (limited to 'fpga/ebaz4205/linux-4.19-pq')
-rw-r--r-- | fpga/ebaz4205/linux-4.19-pq/master/ocm | 5 | ||||
-rw-r--r-- | fpga/ebaz4205/linux-4.19-pq/master/series | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/fpga/ebaz4205/linux-4.19-pq/master/ocm b/fpga/ebaz4205/linux-4.19-pq/master/ocm index 74a770b..13cf5f1 100644 --- a/fpga/ebaz4205/linux-4.19-pq/master/ocm +++ b/fpga/ebaz4205/linux-4.19-pq/master/ocm @@ -35,10 +35,10 @@ index af22bbc3..2470b1ae 100644 +obj-$(CONFIG_MISC_OCM) += ocm.o diff --git a/drivers/misc/ocm.c b/drivers/misc/ocm.c new file mode 100644 -index 00000000..682b440c +index 00000000..b0678892 --- /dev/null +++ b/drivers/misc/ocm.c -@@ -0,0 +1,194 @@ +@@ -0,0 +1,195 @@ +#include <linux/miscdevice.h> +#include <linux/fs.h> +#include <linux/kernel.h> @@ -147,6 +147,7 @@ index 00000000..682b440c + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); + + zynq_ocm_len=res->end - res->start; ++ zynq_ocm_len++; + pr_info("zynq_ocm resource indicates length of 0x%x\n",zynq_ocm_len); + + ptr = devm_ioremap_resource(&pdev->dev, res); diff --git a/fpga/ebaz4205/linux-4.19-pq/master/series b/fpga/ebaz4205/linux-4.19-pq/master/series index 0e20d55..3c1aaf9 100644 --- a/fpga/ebaz4205/linux-4.19-pq/master/series +++ b/fpga/ebaz4205/linux-4.19-pq/master/series @@ -1,3 +1,3 @@ config ocm -#debug +debug |