Blackfin: convert early_printk EVT init to a loop
authorMike Frysinger <vapier@gentoo.org>
Wed, 3 Jun 2009 00:33:31 +0000 (00:33 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 12 Jun 2009 10:12:01 +0000 (06:12 -0400)
commit685a694f0653b7db49f663b2cd6953695214fb30
tree2b75af85e5be0f32d521e66c12a9412ea55fb5c4
parentf1db88d2a7f1c92284e64f5dbb5c7a316a22576d
Blackfin: convert early_printk EVT init to a loop

The EVT registers are all contiguous in the memory map, so using a loop to
initialize them all rather than hardcoding the list results in much better
generated code (a hardware loop rather than a whole bunch of individual
loads).

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/early_printk.c