CVSROOT:        /cvs
Module name:    src
Changes by:     patr...@cvs.openbsd.org 2016/04/03 06:44:37

Modified files:
        sys/arch/armv7/armv7: armv7_machdep.c 
        sys/arch/armv7/conf: files.armv7 

Log message:
Map the bootconfig/FDT area passed by u-boot and try to init FDT on it.
If we were passed an FDT, we can completely map the tree and later on
copy it somewhere in our control, so it's not overwritten by anything.

If we are passed a device tree, we need to grab the information we
otherwise would get from the bootinfo struct in another way.  We can use
the /memory node to parse the machine's memory information.  Bootargs are
stored in /chosen's bootargs property.

This allows us to boot up like before using the board id, but now also
allows us to make use of device tree information.

ok jsg@

Reply via email to