Lines Matching +full:0 +full:x100

48 	FLASH_ID("st m25p16"     , 0xd8, 0x00152020, 0x100, 0x10000, 0x200000),
49 FLASH_ID("st m25p32" , 0xd8, 0x00162020, 0x100, 0x10000, 0x400000),
50 FLASH_ID("st m25p64" , 0xd8, 0x00172020, 0x100, 0x10000, 0x800000),
51 FLASH_ID("st m25p128" , 0xd8, 0x00182020, 0x100, 0x40000, 0x1000000),
52 FLASH_ID("st m25p05" , 0xd8, 0x00102020, 0x80 , 0x8000 , 0x10000),
53 FLASH_ID("st m25p10" , 0xd8, 0x00112020, 0x80 , 0x8000 , 0x20000),
54 FLASH_ID("st m25p20" , 0xd8, 0x00122020, 0x100, 0x10000, 0x40000),
55 FLASH_ID("st m25p40" , 0xd8, 0x00132020, 0x100, 0x10000, 0x80000),
56 FLASH_ID("st m25p80" , 0xd8, 0x00142020, 0x100, 0x10000, 0x100000),
57 FLASH_ID("st m45pe10" , 0xd8, 0x00114020, 0x100, 0x10000, 0x20000),
58 FLASH_ID("st m45pe20" , 0xd8, 0x00124020, 0x100, 0x10000, 0x40000),
59 FLASH_ID("st m45pe40" , 0xd8, 0x00134020, 0x100, 0x10000, 0x80000),
60 FLASH_ID("st m45pe80" , 0xd8, 0x00144020, 0x100, 0x10000, 0x100000),
61 FLASH_ID("sp s25fl004" , 0xd8, 0x00120201, 0x100, 0x10000, 0x80000),
62 FLASH_ID("sp s25fl008" , 0xd8, 0x00130201, 0x100, 0x10000, 0x100000),
63 FLASH_ID("sp s25fl016" , 0xd8, 0x00140201, 0x100, 0x10000, 0x200000),
64 FLASH_ID("sp s25fl032" , 0xd8, 0x00150201, 0x100, 0x10000, 0x400000),
65 FLASH_ID("sp s25fl064" , 0xd8, 0x00160201, 0x100, 0x10000, 0x800000),
66 FLASH_ID("mac 25l512" , 0xd8, 0x001020C2, 0x010, 0x10000, 0x10000),
67 FLASH_ID("mac 25l1005" , 0xd8, 0x001120C2, 0x010, 0x10000, 0x20000),
68 FLASH_ID("mac 25l2005" , 0xd8, 0x001220C2, 0x010, 0x10000, 0x40000),
69 FLASH_ID("mac 25l4005" , 0xd8, 0x001320C2, 0x010, 0x10000, 0x80000),
70 FLASH_ID("mac 25l4005a" , 0xd8, 0x001320C2, 0x010, 0x10000, 0x80000),
71 FLASH_ID("mac 25l8005" , 0xd8, 0x001420C2, 0x010, 0x10000, 0x100000),
72 FLASH_ID("mac 25l1605" , 0xd8, 0x001520C2, 0x100, 0x10000, 0x200000),
73 FLASH_ID("mac 25l1605a" , 0xd8, 0x001520C2, 0x010, 0x10000, 0x200000),
74 FLASH_ID("mac 25l3205" , 0xd8, 0x001620C2, 0x100, 0x10000, 0x400000),
75 FLASH_ID("mac 25l3205a" , 0xd8, 0x001620C2, 0x100, 0x10000, 0x400000),
76 FLASH_ID("mac 25l6405" , 0xd8, 0x001720C2, 0x100, 0x10000, 0x800000),
77 FLASH_ID("wbd w25q128" , 0xd8, 0x001840EF, 0x100, 0x10000, 0x1000000),
88 ulong start = get_timer(0); in smi_wait_xfer_finish()
92 return 0; in smi_wait_xfer_finish()
120 value = (readl(&smicntl->smi_rr) & 0x00FFFFFF); in smi_read_id()
144 if (value < 0) { in flash_get_size()
146 return 0; in flash_get_size()
150 for (i = 0; i < ARRAY_SIZE(flash_devices); i++) { in flash_get_size()
154 info->start[0] = base; in flash_get_size()
162 return 0; in flash_get_size()
204 * If successful the routine returns 0.
209 ulong start = get_timer(0); in smi_wait_till_ready()
215 if ((sr >= 0) && (!(sr & WIP_BIT))) in smi_wait_till_ready()
216 return 0; in smi_wait_till_ready()
255 start = get_timer(0); in smi_write_enable()
258 if ((sr >= 0) && (sr & (1 << (bank + WM_SHIFT)))) in smi_write_enable()
259 return 0; in smi_write_enable()
294 switch (info->start[0]) { in smi_sector_erase()
312 instruction = ((sect_add >> 8) & 0x0000FF00) | SECTOR_ERASE; in smi_sector_erase()
341 return 0; in smi_sector_erase()
388 for (i = 0; i < length; i += 4) { in smi_write()
389 if (((ulong) (dst_addr) % SFLASH_PAGE_SIZE) == 0) { in smi_write()
404 for (k = 0; k < length; k++) in smi_write()
420 return 0; in smi_write()
435 length, info->start[0]); in write_buff()
445 unsigned long size = 0; in flash_init()
450 for (i = 0; i < CONFIG_SYS_MAX_FLASH_BANKS; i++) { in flash_init()
455 for (j = 0; j < CONFIG_SYS_MAX_FLASH_BANKS; j++) { in flash_init()
479 if (info->size >= 0x100000) in flash_print_info()
487 for (i = 0; i < info->sector_count; ++i) { in flash_print_info()
500 while ((size--) && (*flash++ == ~0)) in flash_print_info()
505 erased = 0; in flash_print_info()
509 if ((i % 5) == 0) in flash_print_info()
516 if ((i % 5) == 0) in flash_print_info()
533 int rcode = 0; in flash_erase()
534 int prot = 0; in flash_erase()
537 if ((s_first < 0) || (s_first > s_last)) { in flash_erase()
554 if (info->protect[sect] == 0) { in flash_erase()