|
@@ -66,6 +66,9 @@ uart_rd(unsigned int reg)
|
|
|
|
|
|
static void putc(int ch)
|
|
|
{
|
|
|
+ if (!config_enabled(CONFIG_DEBUG_LL))
|
|
|
+ return;
|
|
|
+
|
|
|
if (uart_rd(S3C2410_UFCON) & S3C2410_UFCON_FIFOMODE) {
|
|
|
int level;
|
|
|
|
|
@@ -118,7 +121,12 @@ static void arch_decomp_error(const char *x)
|
|
|
#ifdef CONFIG_S3C_BOOT_UART_FORCE_FIFO
|
|
|
static inline void arch_enable_uart_fifo(void)
|
|
|
{
|
|
|
- u32 fifocon = uart_rd(S3C2410_UFCON);
|
|
|
+ u32 fifocon;
|
|
|
+
|
|
|
+ if (!config_enabled(CONFIG_DEBUG_LL))
|
|
|
+ return;
|
|
|
+
|
|
|
+ fifocon = uart_rd(S3C2410_UFCON);
|
|
|
|
|
|
if (!(fifocon & S3C2410_UFCON_FIFOMODE)) {
|
|
|
fifocon |= S3C2410_UFCON_RESETBOTH;
|