Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376847
b: refs/heads/master
c: 437d8ac
h: refs/heads/master
i:
  376845: c5030f3
  376843: f23f7cc
  376839: df93a91
  376831: 2085f68
v: v3
  • Loading branch information
Tushar Behera authored and Olof Johansson committed Jun 8, 2013
1 parent 99c4355 commit 802b2b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b6825585bb9a896cd10adfdaf6c3724c419311c
refs/heads/master: 437d8ac510b90610da814ae25a7b79aaf3b4910f
10 changes: 9 additions & 1 deletion trunk/arch/arm/plat-samsung/include/plat/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 802b2b7

Please sign in to comment.