| Electronic Components Datasheet Search |
|
UM0851 Datasheet(PDF) 142 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0851 Datasheet(HTML) 142 Page - STMicroelectronics |
|
142 / 245 page ![]() Non-volatile memory device drivers UM0851 142/245 Doc ID 16604 Rev 2 .mask_flags = 0 }, { .name = "rootfs", .offset = 0x00380000, .size = 0x00500000, .mask_flags = 0 }, { .name = "userspace", .offset = 0x00880000, .size = 0x00780000, .mask_flags = 0 } }; static struct physmap_flash_data emi_norflash_data = { .width = 4, .parts = emi_norflash_partitions, .nr_parts = ARRAY_SIZE(emi_norflash_partitions), }; static struct resource emi_norflash_resource = { .start = NOR_FLASH_PHYS, .end = NOR_FLASH_PHYS + SZ_16M - 1, .flags = IORESOURCE_MEM, }; static struct platform_device emi_norflash_device = { .name = "physmap-flash", .id = 0, .dev = { .platform_data = &emi_norflash_data, }, .num_resources = 1, .resource = &emi_norflash_resource, }; These settings are based on two M28W640HC chips as used in the SPEAr310 Evaluation board. You have to modify these settings for different chips. How to support a new NOR Flash In case of a new NOR Flash chip, the following needs to be checked in the global configuration file of U-Boot: 1. Change CFG_MAX_FLASH_SECT macro definition based on the number of blocks of NOR Flash. 2. If you want to change the partition size, the following macro definitions also need to be modified: – CONFIG_BOOTCOMMAND – CFG_MONITOR_LEN – CFG_MONITOR_BASE – CFG_ENV_SIZE In case of a new NOR Flash chip, the following need to be checked in the resource file of Linux: |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |