Alternatively I could ignore the module aspect and just make two combined dts file...
AWM002-EVB-4M.dts -- 4M module plugged into baseboard AWM002-EVB-8M.dts -- 8M module plugged into baseboard But they will be duplicated except for the flash chip. That is what ASL26555 and ALL0256N did. We'd also lose the module include file aspect this way. On Mon, Jul 22, 2013 at 3:31 PM, [email protected] <[email protected]> wrote: > 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 <[email protected]> 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 >> [email protected] >> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > > > > -- > Jon Smirl > [email protected] -- Jon Smirl [email protected] _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
