^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0-or-later
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /* sbc_gxx.c -- MTD map driver for Arcom Control Systems SBC-MediaGX,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) SBC-GXm and SBC-GX1 series boards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Copyright (C) 2001 Arcom Control System Ltd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) The SBC-MediaGX / SBC-GXx has up to 16 MiB of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Intel StrataFlash (28F320/28F640) in x8 mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) This driver uses the CFI probe and Intel Extended Command Set drivers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) The flash is accessed as follows:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 16 KiB memory window at 0xdc000-0xdffff
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Two IO address locations for paging
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 0x258
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) bit 0-7: address bit 14-21
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 0x259
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) bit 0-1: address bit 22-23
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) bit 7: 0 - reset/powered down
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 1 - device enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) The single flash device is divided into 3 partition which appear as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) separate MTD devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 25/04/2001 AJL (Arcom) Modified signon strings and partition sizes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) (to support bzImages up to 638KiB-ish)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) // Includes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) #include <linux/module.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) #include <linux/ioport.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #include <linux/init.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) #include <asm/io.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) #include <linux/mtd/mtd.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) #include <linux/mtd/map.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) #include <linux/mtd/partitions.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) // Defines
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) // - Hardware specific
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) #define WINDOW_START 0xdc000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) /* Number of bits in offset. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) #define WINDOW_SHIFT 14
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) #define WINDOW_LENGTH (1 << WINDOW_SHIFT)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) /* The bits for the offset into the window. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) #define WINDOW_MASK (WINDOW_LENGTH-1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) #define PAGE_IO 0x258
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) #define PAGE_IO_SIZE 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) /* bit 7 of 0x259 must be 1 to enable device. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) #define DEVICE_ENABLE 0x8000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) // - Flash / Partition sizing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) #define MAX_SIZE_KiB 16384
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) #define BOOT_PARTITION_SIZE_KiB 768
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) #define DATA_PARTITION_SIZE_KiB 1280
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) #define APP_PARTITION_SIZE_KiB 6144
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) // Globals
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) static volatile int page_in_window = -1; // Current page in window.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) static void __iomem *iomapadr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) static DEFINE_SPINLOCK(sbc_gxx_spin);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) /* partition_info gives details on the logical partitions that the split the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) * single flash device into. If the size if zero we use up to the end of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) * device. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) static const struct mtd_partition partition_info[] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) { .name = "SBC-GXx flash boot partition",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) .offset = 0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) .size = BOOT_PARTITION_SIZE_KiB*1024 },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) { .name = "SBC-GXx flash data partition",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) .offset = BOOT_PARTITION_SIZE_KiB*1024,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) .size = (DATA_PARTITION_SIZE_KiB)*1024 },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) { .name = "SBC-GXx flash application partition",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) .offset = (BOOT_PARTITION_SIZE_KiB+DATA_PARTITION_SIZE_KiB)*1024 }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) #define NUM_PARTITIONS 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) static inline void sbc_gxx_page(struct map_info *map, unsigned long ofs)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) unsigned long page = ofs >> WINDOW_SHIFT;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) if( page!=page_in_window ) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) outw( page | DEVICE_ENABLE, PAGE_IO );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) page_in_window = page;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) static map_word sbc_gxx_read8(struct map_info *map, unsigned long ofs)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) map_word ret;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) spin_lock(&sbc_gxx_spin);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) sbc_gxx_page(map, ofs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) ret.x[0] = readb(iomapadr + (ofs & WINDOW_MASK));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) spin_unlock(&sbc_gxx_spin);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) return ret;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) static void sbc_gxx_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) while(len) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) unsigned long thislen = len;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) if (len > (WINDOW_LENGTH - (from & WINDOW_MASK)))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) thislen = WINDOW_LENGTH-(from & WINDOW_MASK);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) spin_lock(&sbc_gxx_spin);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) sbc_gxx_page(map, from);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) memcpy_fromio(to, iomapadr + (from & WINDOW_MASK), thislen);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) spin_unlock(&sbc_gxx_spin);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) to += thislen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) from += thislen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) len -= thislen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) static void sbc_gxx_write8(struct map_info *map, map_word d, unsigned long adr)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) spin_lock(&sbc_gxx_spin);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) sbc_gxx_page(map, adr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) writeb(d.x[0], iomapadr + (adr & WINDOW_MASK));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) spin_unlock(&sbc_gxx_spin);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) static void sbc_gxx_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) while(len) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) unsigned long thislen = len;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) if (len > (WINDOW_LENGTH - (to & WINDOW_MASK)))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) thislen = WINDOW_LENGTH-(to & WINDOW_MASK);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) spin_lock(&sbc_gxx_spin);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) sbc_gxx_page(map, to);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) memcpy_toio(iomapadr + (to & WINDOW_MASK), from, thislen);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) spin_unlock(&sbc_gxx_spin);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) to += thislen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) from += thislen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) len -= thislen;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) static struct map_info sbc_gxx_map = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) .name = "SBC-GXx flash",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) .phys = NO_XIP,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) .size = MAX_SIZE_KiB*1024, /* this must be set to a maximum possible amount
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) of flash so the cfi probe routines find all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) the chips */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) .bankwidth = 1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) .read = sbc_gxx_read8,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) .copy_from = sbc_gxx_copy_from,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) .write = sbc_gxx_write8,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) .copy_to = sbc_gxx_copy_to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) /* MTD device for all of the flash. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) static struct mtd_info *all_mtd;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) static void cleanup_sbc_gxx(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) if( all_mtd ) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) mtd_device_unregister(all_mtd);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) map_destroy( all_mtd );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) iounmap(iomapadr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) release_region(PAGE_IO,PAGE_IO_SIZE);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) static int __init init_sbc_gxx(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) iomapadr = ioremap(WINDOW_START, WINDOW_LENGTH);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) if (!iomapadr) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) printk( KERN_ERR"%s: failed to ioremap memory region\n",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) sbc_gxx_map.name );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) return -EIO;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) if (!request_region( PAGE_IO, PAGE_IO_SIZE, "SBC-GXx flash")) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) printk( KERN_ERR"%s: IO ports 0x%x-0x%x in use\n",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) sbc_gxx_map.name,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) PAGE_IO, PAGE_IO+PAGE_IO_SIZE-1 );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) iounmap(iomapadr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) return -EAGAIN;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) printk( KERN_INFO"%s: IO:0x%x-0x%x MEM:0x%x-0x%x\n",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) sbc_gxx_map.name,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) PAGE_IO, PAGE_IO+PAGE_IO_SIZE-1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) WINDOW_START, WINDOW_START+WINDOW_LENGTH-1 );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) /* Probe for chip. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) all_mtd = do_map_probe( "cfi_probe", &sbc_gxx_map );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) if( !all_mtd ) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) cleanup_sbc_gxx();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) return -ENXIO;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) all_mtd->owner = THIS_MODULE;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) /* Create MTD devices for each partition. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) mtd_device_register(all_mtd, partition_info, NUM_PARTITIONS);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) module_init(init_sbc_gxx);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) module_exit(cleanup_sbc_gxx);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) MODULE_LICENSE("GPL");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) MODULE_AUTHOR("Arcom Control Systems Ltd.");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) MODULE_DESCRIPTION("MTD map driver for SBC-GXm and SBC-GX1 series boards");