Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68518
b: refs/heads/master
c: 241651d
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse committed Sep 6, 2007
1 parent 684571f commit 92e3590
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d15057b7034d9fdc4259b66a0367c9d8ffcf0620
refs/heads/master: 241651d04d672fb685b2874707016cbbf95931e5
9 changes: 9 additions & 0 deletions trunk/include/linux/mtd/cfi.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@
#define cfi_interleave_is_8(cfi) (0)
#endif

#ifndef cfi_interleave
#warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
static inline int cfi_interleave(void *cfi)
{
BUG();
return 0;
}
#endif

static inline int cfi_interleave_supported(int i)
{
switch (i) {
Expand Down
10 changes: 9 additions & 1 deletion trunk/include/linux/mtd/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,15 @@
#endif

#ifndef map_bankwidth
#error "No bus width supported. What's the point?"
#warning "No CONFIG_MTD_MAP_BANK_WIDTH_xx selected. No NOR chip support can work"
static inline int map_bankwidth(void *map)
{
BUG();
return 0;
}
#define map_bankwidth_is_large(map) (0)
#define map_words(map) (0)
#define MAX_MAP_BANKWIDTH 1
#endif

static inline int map_bankwidth_supported(int w)
Expand Down

0 comments on commit 92e3590

Please sign in to comment.