Skip to content
Snippets Groups Projects
Commit a8e2b044 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Merge branch 'master' of /home/wd/git/u-boot/work

parents 1f9d10f6 161e4ae4
No related branches found
No related tags found
No related merge requests found
...@@ -393,6 +393,7 @@ LIST_85xx=" \ ...@@ -393,6 +393,7 @@ LIST_85xx=" \
MPC8536DS_NAND \ MPC8536DS_NAND \
MPC8536DS_SDCARD \ MPC8536DS_SDCARD \
MPC8536DS_SPIFLASH \ MPC8536DS_SPIFLASH \
MPC8536DS_36BIT \
MPC8540ADS \ MPC8540ADS \
MPC8540EVAL \ MPC8540EVAL \
MPC8541CDS \ MPC8541CDS \
...@@ -453,6 +454,7 @@ LIST_85xx=" \ ...@@ -453,6 +454,7 @@ LIST_85xx=" \
LIST_86xx=" \ LIST_86xx=" \
MPC8610HPCD \ MPC8610HPCD \
MPC8641HPCN_36BIT \
MPC8641HPCN \ MPC8641HPCN \
sbc8641d \ sbc8641d \
XPEDITE5170 \ XPEDITE5170 \
......
...@@ -88,7 +88,7 @@ static void galsdma_enable_rx(void); ...@@ -88,7 +88,7 @@ static void galsdma_enable_rx(void);
/* GT64240A errata: cant read MPSC/BRG registers... so make mirrors in ram for read/modify write */ /* GT64240A errata: cant read MPSC/BRG registers... so make mirrors in ram for read/modify write */
#define MIRROR_HACK ((struct _tag_mirror_hack *)&(gd->mirror_hack)) #define MIRROR_HACK ((struct _tag_mirror_hack *)&(gd->mirror_hack[0]))
#define GT_REG_WRITE_MIRROR_G(a,d) {MIRROR_HACK->a ## _M = d; GT_REG_WRITE(a,d);} #define GT_REG_WRITE_MIRROR_G(a,d) {MIRROR_HACK->a ## _M = d; GT_REG_WRITE(a,d);}
#define GTREGREAD_MIRROR_G(a) (MIRROR_HACK->a ## _M) #define GTREGREAD_MIRROR_G(a) (MIRROR_HACK->a ## _M)
......
...@@ -275,7 +275,7 @@ static void *ehci_alloc(size_t sz, size_t align) ...@@ -275,7 +275,7 @@ static void *ehci_alloc(size_t sz, size_t align)
return NULL; return NULL;
} }
memset(p, sz, 0); memset(p, 0, sz);
return p; return p;
} }
...@@ -350,7 +350,6 @@ ehci_submit_async(struct usb_device *dev, unsigned long pipe, void *buffer, ...@@ -350,7 +350,6 @@ ehci_submit_async(struct usb_device *dev, unsigned long pipe, void *buffer,
(dev->parent->devnum << 16) | (0 << 8) | (0 << 0); (dev->parent->devnum << 16) | (0 << 8) | (0 << 0);
qh->qh_endpt2 = cpu_to_hc32(endpt); qh->qh_endpt2 = cpu_to_hc32(endpt);
qh->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); qh->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE);
qh->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE);
td = NULL; td = NULL;
tdp = &qh->qh_overlay.qt_next; tdp = &qh->qh_overlay.qt_next;
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
* *
* Stolen from prepboot/bootldr.h, (C) 1998 Gabriel Paubert, paubert@iram.es * Stolen from prepboot/bootldr.h, (C) 1998 Gabriel Paubert, paubert@iram.es
* *
* Uses r14 to access the GOT * Uses r12 to access the GOT
*/ */
#define START_GOT \ #define START_GOT \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment