
17 May
2005
17 May
'05
10:31 a.m.
Hello All,
We are using Inca-IP board with U-Boot loader. In our board, we are using top boot flash. Present Inca-IP board is having only uniform boot flash init code. So I took the top boot flash init code form another board and added it in the flash_get_offsets().
/* set sector offsets for top boot block type */ else if (((info->flash_id & FLASH_TYPEMASK) == FLASH_AM320T) || ((info->flash_id & FLASH_TYPEMASK) == FLASH_AM640T)) { /* 8 x 8K Top boot sectors */ for (i = 0; i < info->sector_count; i++) info->start[i] = base + (i * (0x00010000 << FLASH_SHIFT));
for (; i < info->sector_count; i++) info->start[i] = base + (i * (0x00002000 << FLASH_SHIFT)); }
Is it right ??
Bye :)
--
Bharathi S