Skip to content

Commit

Permalink
Blackfin arch: ISP1761 doesn't work for USB flash disk
Browse files Browse the repository at this point in the history
ZONE_DMA is required for some drivers subsystem, such as USB/SCSI.

Signed-off-by: Aubrey Li <aubrey.li@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Aubrey Li authored and Linus Torvalds committed May 21, 2007
1 parent ed2fbf5 commit e3defff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions arch/blackfin/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ config BLACKFIN
bool
default y

config ZONE_DMA
bool
default y

config BFIN
bool
default y
Expand Down
3 changes: 2 additions & 1 deletion arch/blackfin/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ void paging_init(void)
{
unsigned long zones_size[MAX_NR_ZONES] = { 0, };

zones_size[ZONE_NORMAL] = (end_mem - PAGE_OFFSET) >> PAGE_SHIFT;
zones_size[ZONE_DMA] = (end_mem - PAGE_OFFSET) >> PAGE_SHIFT;
zones_size[ZONE_NORMAL] = 0;
#ifdef CONFIG_HIGHMEM
zones_size[ZONE_HIGHMEM] = 0;
#endif
Expand Down

0 comments on commit e3defff

Please sign in to comment.