svn commit: r235526 - in user/jceel/soc2012_armv6/sys: arm/ti
dev/fdt dev/uart
Nathan Whitehorn
nwhitehorn at freebsd.org
Thu May 17 16:47:24 UTC 2012
On 05/16/12 17:21, Jakub Wojciech Klama wrote:
> Author: jceel
> Date: Wed May 16 22:21:57 2012
> New Revision: 235526
> URL: http://svn.freebsd.org/changeset/base/235526
>
> Log:
> Rewrite FDT bus ranges calculation:
>
> - bus ranges from DTS files are correctly read and used for translation
> of device register addresses. this includes empty "ranges;" property
> as well as encoded ranges tuples.
> - simplebuses can be freely nested (except for system console UART which
> should be placed in toplevel simplebus)
> - base addresses in resources (rman) are now physical. translation or
> mapping to virtual address is done via bus_space_map() and can be
> accessed via rman_get_bushandle().
> - ti_mmchs driver is corrected to use physical registers base address
> from rman instead of using vtophys().
[Replying randomly]
Are there any plans to merge this stuff with the support code in dev/ofw
(and maybe the not-so-MD bits in sys/powerpc and sys/sparc64)? It looks
like there is a huge amount of code duplication and that the ofw
implementations are in general more complete.
-Nathan
More information about the svn-src-user
mailing list