Patch to support TQM8xxL board
Quoted 2 lines
Quoted 1 line
+dep_tristate ' CFI Flash device mapped on >>TQM8xxL'
CONFIG_MTD_TQM8xxL$CONFIG_MTD_CFI >>$CONFIG_TQM8xxLIt's normal to have config options in all >capitals. Also, we require a Configure.help entry >for this option.
Fixed and also add related entry into Configure.help.
Quoted 2 lines
Quoted 1 line
CFI_LITTLE_ENDIAN......Actually
HOST_ENDIANshould also work, shouldn't it?
I just take a rough try.
HOST_ENDIAN does not work.
TQM8xxL is a Embedded PowerPC based board, MPC8xx series, and ppc-linux for that series use 'lwbrx' and 'stwbrx' instruction to implement 'readl' and 'writel'.
This may be the reason, I guess.....
Quoted 4 lines
Review
Quoted 3 lines
(quoted diff) +3
-0+#ifndef CONFIG_MTD_TQM8xxL +#error This is for TQM8xxL platform only +#endifPlease omit this. It shouldn't be necessary.
Fixed.
Thanks
kirk
----== Mailed via Openfind ==-----
http://mail2000.com.tw/ 提供免費電子郵件信箱