]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Tweak the imx debug console code so that it works with multiple SoCs.
authorian <ian@FreeBSD.org>
Sat, 3 Aug 2013 13:31:10 +0000 (13:31 +0000)
committerian <ian@FreeBSD.org>
Sat, 3 Aug 2013 13:31:10 +0000 (13:31 +0000)
commit22800b93260d6c57471ae35e5da14504d3c101f1
tree097c79a155c74882d1dced070cb3f2970c05edc7
parent181346cab108b0c981e0cd443b511614efd55bcd
Tweak the imx debug console code so that it works with multiple SoCs.

Instead of hard-coding the uart register addresses for the imx51, use
a variable that defaults to the imx51 address.  When debugging another
imx-family SoC, the variable can be set early in initarm() to provide
full console/printf support for debugging early boot.
sys/arm/freescale/imx/console.c