Skip to contentSkip to conversation

amd_flash.c not compile

DISCUSSION Pathompong Puengrostham 2 participants 3 messages Aug 18, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Dear all,

I tried to use mtd 20040816 snapshot with linux 2.6.8.1 but there was a compile errors in amd_flash.c. The latest version I can get it working is 20040707. I read the cvs archive and saw that there was changes in map.h that broke all the devices. Is there anybody already working on this same file or get it working with the latest snapshot? Anyway, I'll try to fix it.

Best regards,
Jay

#1 lore raw
Quoted 6 lines · Pathompong Puengrostham

I tried to use mtd 20040816 snapshot with linux 2.6.8.1 but there was a compile errors in amd_flash.c. The latest version I can get it working is 20040707. I read the cvs archive and saw that there was changes in map.h that broke all the devices. Is there anybody already working on this same file or get it working with the latest snapshot? Anyway, I'll try to fix it.

amd_flash.c has been deprecated for a long time. You should find that jedec_probe and cfi_cmdset_0002 work for you. Please test.

Signature · 1 line
dwmw2
#2 lore raw
Quoted 8 lines · David Woodhouse
Quoted 1 line · Pathompong Puengrostham

I tried to use mtd 20040816 snapshot with linux 2.6.8.1 but there was a compile errors in amd_flash.c. The latest version I can get it working is 20040707. I read the cvs archive and saw that there was changes in map.h that broke all the devices. Is there anybody already working on this same file or get it working with the latest snapshot? Anyway, I'll try to fix it.

amd_flash.c has been deprecated for a long time. You should find that jedec_probe and cfi_cmdset_0002 work for you. Please test.

Yes, it works. Thank you so much.

Jay