[coreboot] Patch set updated for coreboot: 69a8252 OT200: add CMOS support

Christian Gmeiner (christian.gmeiner@gmail.com) gerrit at coreboot.org
Thu Feb 14 11:46:50 CET 2013


Christian Gmeiner (christian.gmeiner at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2382

-gerrit

commit 69a8252025a2c440d13e6cb099849641772a15ab
Author: Christian Gmeiner <christian.gmeiner at gmail.com>
Date:   Thu Feb 14 12:08:30 2013 +0100

    OT200: add CMOS support
    
    nvramtool works as expected.
    
    root at CHGM-DEV-OT200:~# /home/vis/nvramtool -a
    baud_rate = 19200
    debug_level = Emergency
    
    Change-Id: Ia25dc5b4f0ed3a2dd7cc67b7d3174db3a6eff70e
    Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
 src/mainboard/bachmann/ot200/Kconfig     |  1 +
 src/mainboard/bachmann/ot200/cmos.layout | 61 ++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/src/mainboard/bachmann/ot200/Kconfig b/src/mainboard/bachmann/ot200/Kconfig
index 5d185c0..0bf4a70 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 0000000..90ade93
--- /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
+
+



More information about the coreboot mailing list