ARM: davinci: uncompress.h: bail out if uart not initialized
authorSekhar Nori <nsekhar@ti.com>
Tue, 28 Aug 2012 09:08:05 +0000 (14:38 +0530)
committerSekhar Nori <nsekhar@ti.com>
Sat, 27 Oct 2012 11:01:04 +0000 (16:31 +0530)
commit09aaf994e37c3e37fd2b0e9b1856038e31ae3b68
tree141d3d0f742c045cb81d314fa0635cab707cc306
parent5604f69eec0aed392cea2909ee49dd834b782fac
ARM: davinci: uncompress.h: bail out if uart not initialized

Bail out of UART access functions in uncompress.h if the uart
port is not setup. This will happen when booting from DT since
machine type matching does not work in this case. This may also
happen if a correct machine type is not setup by bootloader.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/include/mach/uncompress.h