Change '#include <fbsd-*>' to '/include/ "fbsd-*"' in [rm]t*.dtsi
Basically the pre-import work on OpenWRT's dts/dtsi files boils down to:
for f in `ls [mr]t*.dtsi`; do
printf '\n/include/ "fbsd-$f"\n' >> $f
done
Differential D5993
Change OpenWRT imported dtsi files sgalabov on Apr 19 2016, 8:47 AM. Authored by Tags Referenced Files
Subscribers
Details
Change '#include <fbsd-*>' to '/include/ "fbsd-*"' in [rm]t*.dtsi Basically the pre-import work on OpenWRT's dts/dtsi files boils down to: for f in `ls [mr]t*.dtsi`; do
Diff Detail
Event TimelineComment Actions surely the flash DTS stuff could be modified to probe the flash_ident array, based on the names? Comment Actions Sure, I could add w25q128 and en25q64 to mx25l's compat_data instead, but I felt that it would polute mx25l unnecessarily and since it only involves changing these 5 dts files out of over 170, I went for this solution instead... But if you prefer that I add the 2 new chips to mx25l's compat_data I'll rework this. Comment Actions I mean, can't we have the ofw probe routine check the normal device list, rather than compat data? Yeah, let's modify the flash driver instead - I'd rather we stick with almost untouched upstream dts files versus maintaining local differences. It's not a huge burden. Comment Actions Update diffs. The only change now is changing '#include <fbsd-*>' to '/include/ "fbsd-*"' in the base SoC dtsi files. |