Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 436
b: refs/heads/master
c: bd7b170
h: refs/heads/master
v: v3
  • Loading branch information
Lucas Correia Villa Real authored and Russell King committed Apr 25, 2005
1 parent 63dbe3f commit 4172b43
Show file tree
Hide file tree
Showing 2 changed files with 6 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: b7ebcc108a1754a1d044b49c0acf977a7e86ae71
refs/heads/master: bd7b170201149fd82bc3212cb570a7a7386463a4
6 changes: 5 additions & 1 deletion trunk/include/asm-arm/arch-s3c2410/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* 12-Oct-2004 BJD Take account of debug uart configuration
* 15-Nov-2004 BJD Fixed uart configuration
* 22-Feb-2005 BJD Added watchdog to uncompress
* 04-Apr-2005 LCVR Added support to S3C2400 (no cpuid at GSTATUS1)
*/

#ifndef __ASM_ARCH_UNCOMPRESS_H
Expand Down Expand Up @@ -69,9 +70,12 @@ uart_rd(unsigned int reg)
static void
putc(char ch)
{
int cpuid = *((volatile unsigned int *)S3C2410_GSTATUS1);
int cpuid = S3C2410_GSTATUS1_2410;

#ifndef CONFIG_CPU_S3C2400
cpuid = *((volatile unsigned int *)S3C2410_GSTATUS1);
cpuid &= S3C2410_GSTATUS1_IDMASK;
#endif

if (ch == '\n')
putc('\r'); /* expand newline to \r\n */
Expand Down

0 comments on commit 4172b43

Please sign in to comment.