lantiq-flash.c (dca3a783400a18e2bf4503b1d4a85c4d0ca1a7e4) lantiq-flash.c (0984c8910426371205da0b60fc1dae64a996fb64)
1/*
2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License version 2 as published
4 * by the Free Software Foundation.
5 *
6 * Copyright (C) 2004 Liu Peng Infineon IFAP DC COM CPE
7 * Copyright (C) 2010 John Crispin <blogic@openwrt.org>
8 */

--- 32 unchanged lines hidden (view full) ---

41
42struct ltq_mtd {
43 struct resource *res;
44 struct mtd_info *mtd;
45 struct map_info *map;
46};
47
48static const char ltq_map_name[] = "ltq_nor";
1/*
2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License version 2 as published
4 * by the Free Software Foundation.
5 *
6 * Copyright (C) 2004 Liu Peng Infineon IFAP DC COM CPE
7 * Copyright (C) 2010 John Crispin <blogic@openwrt.org>
8 */

--- 32 unchanged lines hidden (view full) ---

41
42struct ltq_mtd {
43 struct resource *res;
44 struct mtd_info *mtd;
45 struct map_info *map;
46};
47
48static const char ltq_map_name[] = "ltq_nor";
49static const char *ltq_probe_types[] = {
50 "cmdlinepart", "ofpart", NULL };
49static const char * const ltq_probe_types[] = { "cmdlinepart", "ofpart", NULL };
51
52static map_word
53ltq_read16(struct map_info *map, unsigned long adr)
54{
55 unsigned long flags;
56 map_word temp;
57
58 if (map->map_priv_1 == LTQ_NOR_PROBING)

--- 166 unchanged lines hidden ---
50
51static map_word
52ltq_read16(struct map_info *map, unsigned long adr)
53{
54 unsigned long flags;
55 map_word temp;
56
57 if (map->map_priv_1 == LTQ_NOR_PROBING)

--- 166 unchanged lines hidden ---