meta-digi-arm: For the ccardimx28js, chose serial name depending on kernel.
The 2.6.35.14 kernel calls the serial device ttyAM0 while the 3.10 which uses a different driver calls it ttyAMA0. Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
aa1f21aae2
commit
c3a4bf30a1
|
|
@ -4,5 +4,6 @@
|
|||
|
||||
include conf/machine/include/ccardimx28.inc
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyAM0"
|
||||
SERIAL_CONSOLE_DEVICE = '${@base_version_less_or_equal("PREFERRED_VERSION_linux-dey", "2.6.35.14", "ttyAM0", "ttyAMA0", d)}'
|
||||
SERIAL_CONSOLE = "115200 ${SERIAL_CONSOLE_DEVICE}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue