2014-06-25 0:30 GMT+04:00 Daniel Gimpelevich <[email protected]>: > 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. -- BR Sergey _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
