Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313715
b: refs/heads/master
c: e65650e
h: refs/heads/master
i:
  313713: a33fa9c
  313711: 74b9629
v: v3
  • Loading branch information
Kokoris, Ioannis authored and Kumar Gala committed Jul 10, 2012
1 parent b99c7c3 commit 2b42706
Show file tree
Hide file tree
Showing 4 changed files with 8 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: 1f0e90ad7a3b6f9f8a0598ed30f4e9c7dd9ff82e
refs/heads/master: e65650e6c3eb67226eda80a21f62b7aa145878f4
4 changes: 3 additions & 1 deletion trunk/arch/powerpc/include/asm/immap_qe.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
struct qe_iram {
__be32 iadd; /* I-RAM Address Register */
__be32 idata; /* I-RAM Data Register */
u8 res0[0x78];
u8 res0[0x04];
__be32 iready; /* I-RAM Ready Register */
u8 res1[0x70];
} __attribute__ ((packed));

/* QE Interrupt Controller */
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/powerpc/include/asm/qe.h
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ enum comm_dir {
/* I-RAM */
#define QE_IRAM_IADD_AIE 0x80000000 /* Auto Increment Enable */
#define QE_IRAM_IADD_BADDR 0x00080000 /* Base Address */
#define QE_IRAM_READY 0x80000000 /* Ready */

/* UPC */
#define UPGCR_PROTOCOL 0x80000000 /* protocol ul2 or pl2 */
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/sysdev/qe_lib/qe.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,9 @@ static void qe_upload_microcode(const void *base,

for (i = 0; i < be32_to_cpu(ucode->count); i++)
out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i]));

/* Set I-RAM Ready Register */
out_be32(&qe_immr->iram.iready, be32_to_cpu(QE_IRAM_READY));
}

/*
Expand Down

0 comments on commit 2b42706

Please sign in to comment.