summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2013-02-14 12:08:30 +0100
committerChristian Gmeiner <christian.gmeiner@gmail.com>2013-02-15 09:04:30 +0100
commitb97ee89684265e735e3da7bdcd7d19ee81fa1ae3 (patch)
treedddc692d8047aa3d0ba6affb08fdf379f187b1a2
parent8deb5c6e0fde0b326881c7684056fe9ec4f310e9 (diff)
downloadcoreboot-b97ee89684265e735e3da7bdcd7d19ee81fa1ae3.tar.xz
OT200: add CMOS support
nvramtool works as expected. root@CHGM-DEV-OT200:~# /home/vis/nvramtool -a baud_rate = 19200 debug_level = Emergency Change-Id: Ia25dc5b4f0ed3a2dd7cc67b7d3174db3a6eff70e Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-on: http://review.coreboot.org/2382 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins)
-rw-r--r--src/mainboard/bachmann/ot200/Kconfig1
-rw-r--r--src/mainboard/bachmann/ot200/cmos.layout61
2 files changed, 62 insertions, 0 deletions
diff --git a/src/mainboard/bachmann/ot200/Kconfig b/src/mainboard/bachmann/ot200/Kconfig
index 5d185c0d70..0bf4a7068a 100644
--- a/src/mainboard/bachmann/ot200/Kconfig
+++ b/src/mainboard/bachmann/ot200/Kconfig
@@ -14,6 +14,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select DRIVERS_I2C_IDREG
select PLL_MANUAL_CONFIG
select CORE_GLIU_500_266
+ select HAVE_OPTION_TABLE
config MAINBOARD_DIR
string
diff --git a/src/mainboard/bachmann/ot200/cmos.layout b/src/mainboard/bachmann/ot200/cmos.layout
new file mode 100644
index 0000000000..90ade93e05
--- /dev/null
+++ b/src/mainboard/bachmann/ot200/cmos.layout
@@ -0,0 +1,61 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2013 Bachmann electronic GmbH
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+entries
+
+#start-bit length config config-ID name
+# -----------------------------------------------------------------
+# RTC reserved
+0 384 r 0 reserved_memory
+
+# -----------------------------------------------------------------
+# coreboot config options: console
+384 3 e 1 baud_rate
+387 4 e 2 debug_level
+
+# -----------------------------------------------------------------
+# coreboot config options: check sums
+1008 16 h 0 check_sum
+
+enumerations
+
+#ID value text
+1 0 115200
+1 1 57600
+1 2 38400
+1 3 19200
+1 4 9600
+1 5 4800
+1 6 2400
+1 7 1200
+2 0 Emergency
+2 1 Alert
+2 2 Critical
+2 3 Error
+2 4 Warning
+2 5 Notice
+2 6 Info
+2 7 Debug
+2 8 Spew
+
+checksums
+
+checksum 400 1007 1008
+
+