Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3defffe authored by Aubrey Li's avatar Aubrey Li Committed by Linus Torvalds
Browse files

Blackfin arch: ISP1761 doesn't work for USB flash disk



ZONE_DMA is required for some drivers subsystem, such as USB/SCSI.

Signed-off-by: default avatarAubrey Li <aubrey.li@analog.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ed2fbf57
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -25,6 +25,10 @@ config BLACKFIN
	bool
	default y

config ZONE_DMA
	bool
	default y

config BFIN
	bool
	default y
+2 −1
Original line number Diff line number Diff line
@@ -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