Lines Matching +full:rom +full:- +full:14 +full:h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* sc520cdp.c -- MTD map driver for AMD SC520 Customer Development Platform
4 * Copyright (C) 2001 Sysgo Real-Time Solutions GmbH
7 * from AMD. It has two banks of 32-bit Flash ROM, each 8 Megabytes in size,
8 * and up to 512 KiB of 8-bit DIL Flash ROM.
12 #include <linux/module.h>
13 #include <linux/types.h>
14 #include <linux/kernel.h>
15 #include <linux/init.h>
16 #include <asm/io.h>
17 #include <linux/mtd/mtd.h>
18 #include <linux/mtd/map.h>
19 #include <linux/mtd/concat.h>
122 ** region controlled by the PAR. (We only use non-cacheable)
125 #define SC520_PAR_NOCACHE (1<<27) /* non-cacheable */
137 ** We only need ROM entries, 64K page size:
141 (address) >> 16 | (((size) >> 16) - 1) << 14)
238 return -EIO; in init_sc520cdp()
250 mymtd[i]->owner = THIS_MODULE; in init_sc520cdp()
263 if(devices_found == 3) /* register the third (DIL-Flash) device */ in init_sc520cdp()
265 return(devices_found ? 0 : -ENXIO); in init_sc520cdp()
293 MODULE_AUTHOR("Sysgo Real-Time Solutions GmbH");