Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5079df99 authored by Mike Frysinger's avatar Mike Frysinger Committed by Linus Torvalds
Browse files

Blackfin arch: document why we have to touch the UART peripheral in our boot up code

parent ef9256d2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -173,7 +173,8 @@ ENTRY(__stext)
	STI R2;
#endif

	/* Initialise UART */
	/* Initialise UART - when booting from u-boot, the UART is not disabled
	 * so if we dont initalize here, our serial console gets hosed */
	p0.h = hi(UART_LCR);
	p0.l = lo(UART_LCR);
	r0 = 0x0(Z);
+2 −1
Original line number Diff line number Diff line
@@ -181,7 +181,8 @@ ENTRY(__stext)
	SSYNC;
#endif

	/*Initialise UART*/
	/* Initialise UART - when booting from u-boot, the UART is not disabled
	 * so if we dont initalize here, our serial console gets hosed */
	p0.h = hi(UART_LCR);
	p0.l = lo(UART_LCR);
	r0 = 0x0(Z);
+2 −1
Original line number Diff line number Diff line
@@ -127,7 +127,8 @@ ENTRY(__stext)
	STI R2;
#endif

	/* Initialise UART*/
	/* Initialise UART - when booting from u-boot, the UART is not disabled
	 * so if we dont initalize here, our serial console gets hosed */
	p0.h = hi(UART_LCR);
	p0.l = lo(UART_LCR);
	r0 = 0x0(Z);