BCM2708: The PiZero configuration now compiles and links cleanly. Still a few thngs missing internally.

This commit is contained in:
Gregory Nutt 2017-10-18 14:07:52 -06:00
parent e18e8573d1
commit 9b5f56ba5b

View File

@ -797,7 +797,7 @@ int bcm_mu_interrupt(int irq, void *context, void *arg)
} }
/**************************************************************************** /****************************************************************************
* Name: bcm_lpuart_earlyserialinit * Name: bcm_miniuart_earlyserialinit
* *
* Description: * Description:
* Performs the low level Mini-UART initialization early in debug so that the * Performs the low level Mini-UART initialization early in debug so that the
@ -808,7 +808,7 @@ int bcm_mu_interrupt(int irq, void *context, void *arg)
* *
****************************************************************************/ ****************************************************************************/
void bcm_lpuart_earlyserialinit(void) void bcm_miniuart_earlyserialinit(void)
{ {
/* Disable interrupts from all Mini-UARTS. The console is enabled in /* Disable interrupts from all Mini-UARTS. The console is enabled in
* bcm_setup() * bcm_setup()
@ -873,10 +873,10 @@ int up_putc(int ch)
{ {
/* Add CR */ /* Add CR */
up_lowputc('\r'); bcm_lowputc('\r');
} }
up_lowputc(ch); bcm_lowputc(ch);
bcm_restoreuartint(priv, ier); bcm_restoreuartint(priv, ier);
#endif #endif
return ch; return ch;
@ -901,10 +901,10 @@ int up_putc(int ch)
{ {
/* Add CR */ /* Add CR */
up_lowputc('\r'); bcm_lowputc('\r');
} }
up_lowputc(ch); bcm_lowputc(ch);
#endif #endif
return ch; return ch;