[PATCH] Start arch/powerpc/boot code reorganization
    Mark A. Greer 
    mgreer at mvista.com
       
    Wed Sep 20 11:20:42 EST 2006
    
    
  
Paul,
Regarding our earlier conversation about ft_translate_addr and
ft_parentize.  I just realized that on IRC today Matt Porter pointed
out that using the "reg" property in ns16550.c is wrong.  We--several
of us on #mklinux--decided that the "address" property is the correct
thing to use because we should really be using a virtual address from
the fw (bootwrapper has no ioremap).  So, unless someone objects,
we'll all add the "address" property to our uart device nodes in our
fdt's (if they can be used as the console).
A couple consequences, if that happens:
- It removes the requirement for ft_translate_addr (and
  dt_ops.translate_addr) in the bootwrapper.  That cleans up
  flatdevtree_misc.c a lot.
- Since ft_find_node/device will be the only caller of ft_parentize
  now, that may change your plans for ft_parentize.
Do you have any objections to using "address" property instead of "reg"?
Mark
    
    
More information about the Linuxppc-dev
mailing list