the bitrig master branch has been updated by patrick with 4 new commits: commit 9d90f7223206ba9271db50c0c641057fe7886706 diff: https://github.com/bitrig/bitrig/commit/9d90f72 author: Patrick Wildt <[email protected]> date: Fri May 1 13:35:04 2015 +0200
clock: fixup clk_fdt_get() Due to a fault in the implementation, the clk_fdt_get() function might not have returned the correct clock, as it accessed the clock information without the correct offset. M sys/arch/arm/clock/clock.c commit aab2b30b8fd0903420ae4e130ce9c80d2b781639 diff: https://github.com/bitrig/bitrig/commit/aab2b30 author: Patrick Wildt <[email protected]> date: Fri May 1 13:33:43 2015 +0200 fdt: attach an attached devices' devices When a device is attached, we used to not iterate over its children anymore. But when we have a bus controller, that provides some API but otherwise is still a normal simple-bus, we need to be able to also attach its children. This might not be the best approach, but until there's a better implementation we can use this kind of workaround. M sys/arch/arm/fdt/fdtbus.c commit d0f7a9441e329dc0dfcaa3d6695385538f96fd23 diff: https://github.com/bitrig/bitrig/commit/d0f7a94 author: Patrick Wildt <[email protected]> date: Fri May 1 13:33:18 2015 +0200 fdt: fix memory translation via ranges On translation, we used the wrong address- and size-cells counts. Before this commit, we had the following scenario: * node's memory address needs to be translated * lookup node's address and size cells * lookup parent's address and size cells * ... This doesn't work, as the node's address cells do not say how big it's own cells are, but instead how big the ones of its childrens are. Therefore it will change to: * node's memory address needs to be translated * lookup parent's address and size cells * lookup parent's parent's cells To simplify this, we only need to change the context the translation runs in. Previously the translation was based on the node. Basing it on the parent instead fixes that. M sys/arch/arm/fdt/fdt.c commit 7c9607ab15f9253452e61a69499ee5a921b8cff6 diff: https://github.com/bitrig/bitrig/commit/7c9607a author: Patrick Wildt <[email protected]> date: Fri May 1 13:32:29 2015 +0200 clock: DTS has Hz, but we use kHz M sys/arch/armv7/fdt/clkfr.c
