[PATCH 2/2] ARM: Add empty inituart macros

Tony Lindgren tony at atomide.com
Thu Feb 3 22:07:08 EST 2011


* Nicolas Pitre <nico at fluxnic.net> [110203 18:19]:
> On Thu, 3 Feb 2011, Tony Lindgren wrote:
> 
> > Add empty inituart macros. These can be used to initialize
> > the debug serial port based on the machine ID.
...
 
> A better way would be to define the empty inituart macro in a common 
> place, and use the following in the machine specific header file:
> 
> 	.purgem inituart
> 	.macro inituart ...
> 	...
> 	.endm
> 
> This way you won't need to add empty inituart all over the place.

Thanks for the tip, will try that out.

Tony



More information about the linux-arm-kernel mailing list