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)
This commit is contained in:
Christian Gmeiner 2013-02-14 12:08:30 +01:00
parent 8deb5c6e0f
commit b97ee89684
2 changed files with 62 additions and 0 deletions

View File

@ -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

View File

@ -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