It is a reusable module plugged into a baseboard.

There are three pieces which can be used in two combinations...
4MB module plugged into baseboard
8MB module plugged into baseboard
or module could be plug into some customer's baseboard.

AWM002.dtsi --- module
AWM002-4M.dtsi -- module with 4MB flash mounted (a few lines includes
AWM002.dtsi)
AWM002-8M.dtsi -- module with 8MB flash mounted (a few lines includes
AWM002.dtsi)

These two depend on which module is plugged in, 4MB or 8MB.
 AWM002-EVB-4M.dts -- module plugged into baseboard which adds LEDS
 AWM002-EVB-8M.dts -- module plugged into baseboard which adds LEDS

The duplicate content is in  AWM002-EVB-4M.dts and  AWM002-EVB-8M.dts
Instead I could make
 AWM002-EVB.dtsi  -- describes the LEDs in the base board

Then have two small files that include
 AWM002-EVB.dtsi + AWM002-4M.dtsi = AWM002-EVB-4M.dts
 AWM002-EVB.dtsi + AWM002-8M.dtsi = AWM002-EVB-8M.dts

On Mon, Jul 22, 2013 at 3:10 PM, John Crispin <j...@phrozen.org> wrote:
> there seem to be an awful lot of dtsi and ds files here with duplicate
> content. can you reduce that somehow ?
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



-- 
Jon Smirl
jonsm...@gmail.com
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to