Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172704
b: refs/heads/master
c: f8631e7
h: refs/heads/master
v: v3
  • Loading branch information
Alistair Buxton committed Oct 7, 2009
1 parent 947d5c4 commit e55f4b7
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 1f73b4de93e06d18c28cb282761c8507bc476489
refs/heads/master: f8631e7bba34d46d6ccea4cd90f7a0482770ff70
3 changes: 2 additions & 1 deletion trunk/arch/arm/plat-omap/include/mach/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ unsigned int system_rev;

#define UART_OMAP_MDR1 0x08 /* mode definition register */
#define OMAP_ID_730 0x355F
#define OMAP_ID_850 0x362C
#define ID_MASK 0x7fff
#define check_port(base, shift) ((base[UART_OMAP_MDR1 << shift] & 7) == 0)
#define omap_get_id() ((*(volatile unsigned int *)(0xfffed404)) >> 12) & ID_MASK
Expand Down Expand Up @@ -53,7 +54,7 @@ static void putc(int c)
/* MMU is not on, so cpu_is_omapXXXX() won't work here */
unsigned int omap_id = omap_get_id();

if (omap_id == OMAP_ID_730)
if (omap_id == OMAP_ID_730 || omap_id == OMAP_ID_850)
shift = 0;

if (check_port(uart, shift))
Expand Down

0 comments on commit e55f4b7

Please sign in to comment.