Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi Scott,
I search the files related with flash in u-boot directory and find some > ..\u-boot\common\cmd_flash.c > ..\u-boot\common\env_dataflash.c > ..\u-boot\common\env_flash.c > ..\u-boot\common\flash.c > ..\u-boot\drivers\cfi_flash.c > ..\u-boot\include\flash.h > ..\u-boot\include\dataflash.h > ..\u-boot\board\altera\common\flash.c > ..\u-boot\board\altera\dk1c20\flash.c > ..\u-boot\board\altera\common\AMDLV065D.c > ..\u-boot\board\psyent\common\AMDLV065D.c > .. and the cfi_flash.c you send to me I have found that all *.c files are based on flash.h, what the relationship between these files? I know the function below, they are flash driver for u-boot. > ..\u-boot\board\altera\common\flash.c > ..\u-boot\board\altera\dk1c20\flash.c > ..\u-boot\board\altera\common\AMDLV065D.c > ..\u-boot\board\psyent\common\AMDLV065D.c But, the files below play what function. Do they have relation with u-boot flash driver? > ..\u-boot\common\cmd_flash.c > ..\u-boot\common\env_dataflash.c > ..\u-boot\common\env_flash.c > ..\u-boot\common\flash.c > ..\u-boot\drivers\cfi_flash.c Thanks, LiangYi