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

MPC8315ERD: fix build error


Commit 29c6fbe0 "MPC5121: Add USB EHCI support" renamed
CONFIG_SYS_MPC8xxx_USB_ADDR into CONFIG_SYS_FSL_USB_ADDR but missed
to update arch/powerpc/cpu/mpc83xx/cpu_init.c, resulting in:

cpu_init.c: In function 'cpu_init_f':
cpu_init.c:332: error: 'CONFIG_SYS_MPC8xxx_USB_ADDR' undeclared (first use in this function)
cpu_init.c:332: error: (Each undeclared identifier is reported only once
cpu_init.c:332: error: for each function it appears in.)
make[1]: *** [/work/wd/tmp-ppc/arch/powerpc/cpu/mpc83xx/cpu_init.o] Error 1

Fix this.

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
Cc: Kim Phillips <kim.phillips@freescale.com>
parent 26fe3d2b
No related branches found
No related tags found
No related merge requests found
...@@ -329,7 +329,7 @@ void cpu_init_f (volatile immap_t * im) ...@@ -329,7 +329,7 @@ void cpu_init_f (volatile immap_t * im)
#ifdef CONFIG_USB_EHCI_FSL #ifdef CONFIG_USB_EHCI_FSL
#ifndef CONFIG_MPC834x #ifndef CONFIG_MPC834x
uint32_t temp; uint32_t temp;
struct usb_ehci *ehci = (struct usb_ehci *)CONFIG_SYS_MPC8xxx_USB_ADDR; struct usb_ehci *ehci = (struct usb_ehci *)CONFIG_SYS_FSL_USB_ADDR;
/* Configure interface. */ /* Configure interface. */
setbits_be32(&ehci->control, REFSEL_16MHZ | UTMI_PHY_EN); setbits_be32(&ehci->control, REFSEL_16MHZ | UTMI_PHY_EN);
......
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