diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-06-06 16:47:31 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-07-12 02:17:46 -0400 |
commit | b1e574d95b6a2d8674dc45b6ff3425cffc115c14 (patch) | |
tree | 68ae1061a58ead57275345b9b8eb31a4e35ebd4d /arch/blackfin/cpu/initcode.c | |
parent | 4150cec3353b7a6d7a3ea71b2d3c62deafff353d (diff) |
Blackfin: serial: convert to bfin_{read,write} helpers
Since the serial struct declares the sizes for us, no need to hardcode
them in the accessor functions. Let the bfin_{read,write} helpers do
it for us.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/cpu/initcode.c')
-rw-r--r-- | arch/blackfin/cpu/initcode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/cpu/initcode.c b/arch/blackfin/cpu/initcode.c index 917b7f9b91..fb3a101c79 100644 --- a/arch/blackfin/cpu/initcode.c +++ b/arch/blackfin/cpu/initcode.c @@ -19,6 +19,8 @@ #include <asm/mach-common/bits/pll.h> #include <asm/mach-common/bits/uart.h> +#define BUG() while (1) { asm volatile("emuexcpt;"); } + #include "serial.h" __attribute__((always_inline)) |