Re: [PATCH] Allow configuration from the devicetree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 10, 2013 at 12:51:59PM +0200, Sascha Hauer wrote:
> Currently even the devicetree enabled boards need C code to
> configure where to store the environment. The following series
> makes this configurable via devicetree to further reduce the
> need of C code for boards.
> 
> As I often point out that the devicetree is for hardware description
> rather than for configuration, the configuration is done in the
> node explicitly intended for configuration: /chosen.
> 
> We add a hierarchy /chosen/barebox/ in the devicetree on which
> of_platform_populate is called.

As discussed with Jan and Philipp Will change this to /chosen/ in
the next round.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux