meta-quanta: runbmc-nuvoton: console: configure SOL parameters

The parameters are specified in obmc-console related settings.

Signed-off-by: kfting <kfting@nuvoton.com>
Change-Id: I4693f86cd6f8b1196a83edf49deaf935af6ee16a
diff --git a/meta-runbmc-nuvoton/recipes-phosphor/console/files/obmc-console.conf b/meta-runbmc-nuvoton/recipes-phosphor/console/files/obmc-console.conf
new file mode 100644
index 0000000..f99eaff
--- /dev/null
+++ b/meta-runbmc-nuvoton/recipes-phosphor/console/files/obmc-console.conf
@@ -0,0 +1 @@
+baud = 57600
diff --git a/meta-runbmc-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend b/meta-runbmc-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend
new file mode 100644
index 0000000..5967ce1
--- /dev/null
+++ b/meta-runbmc-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend
@@ -0,0 +1,12 @@
+SUMMARY = "Nuvoton OpenBMC console daemon"
+DESCRIPTION = "Nuvoton Daemon to handle UART console connections"
+HOMEPAGE = "http://github.com/openbmc/obmc-console"
+PR = "r1"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+OBMC_CONSOLE_HOST_TTY := "ttyS2"
+
+do_build_append() {
+        install -m 0644 ${THISDIR}/files/${PN}.conf ${WORKDIR}/${PN}.conf
+}