Go to the documentation of this file.
10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
13 #include <linux/kernel.h>
14 #include <linux/types.h>
16 #include <linux/string.h>
19 #include <asm/sizes.h>
21 static int __init fpga_sram_init(
void)
30 data = fpga_read_reg(
LCLASR);
32 fpga_write_reg(data,
LCLASR);
39 pr_err(
"FPGA memory unmapped.\n");
55 pr_err(
"Failed remapping FPGA memory.\n");
59 pr_info(
"Adding %dKiB of FPGA memory at 0x%08lx-0x%08lx "
60 "(area %d) to pool.\n",
65 pr_err(
"Failed adding memory\n");