[OpenWrt-Devel] [PATCH 00/17] atheros: checkpatch fixes
ryazanov.s.a at gmail.com
Tue Jun 24 18:30:27 EDT 2014
2014-06-25 0:30 GMT+04:00 Daniel Gimpelevich
<daniel at gimpelevich.san-francisco.ca.us>:
> plus the AR2317 watchdog operates completely differently from the
> AR2315 one.
Hm, I am missed that. Thank you Daniel for your note.
> What solution do you propose?
As Florian mention, as a solution we can register different platform
devices: ar2315-wdt for AR2315/16 SoCs and ar2317-wdt for AR2317/18
SoCs. This should be easy since the code already contains the model
detection of chip.
As for the boards differences, I've thought about it and came to the
same conclusion that Florian: we should build separate images for
different boards each of which have own board=XXX kernel argument.
There are another one solution: RedBoot has a builtin string with
board's name, which is located just after "Board: %s" format string
and we could find and use this string. But this solution seems ugly.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel