bachmann/ot200: Fix cmos.layout.

In current cmos.layout baud_rate overlaps with hardcoded reboot byte.
Fix the layout and provide the default for upgrade.

Change-Id: I979b8743c4aab6f17b3acf61b92a74a333203379
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4804
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
This commit is contained in:
Vladimir Serbinenko 2014-01-25 14:38:51 +01:00 committed by Christian Gmeiner
parent 790e3adc70
commit ffa81bf29d
3 changed files with 14 additions and 4 deletions

View File

@ -15,6 +15,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select PLL_MANUAL_CONFIG
select CORE_GLIU_500_266
select HAVE_OPTION_TABLE
select HAVE_CMOS_DEFAULT
config MAINBOARD_DIR
string

View File

@ -0,0 +1,4 @@
boot_option=Fallback
last_boot=Fallback
baud_rate=115200
debug_level=Spew

View File

@ -24,10 +24,14 @@ entries
# RTC reserved
0 384 r 0 reserved_memory
384 1 e 4 boot_option
385 1 e 4 last_boot
388 4 r 0 reboot_bits
# -----------------------------------------------------------------
# coreboot config options: console
384 3 e 1 baud_rate
387 4 e 2 debug_level
392 3 e 1 baud_rate
395 4 e 2 debug_level
# -----------------------------------------------------------------
# coreboot config options: check sums
@ -53,9 +57,10 @@ enumerations
2 6 Info
2 7 Debug
2 8 Spew
4 0 Fallback
4 1 Normal
checksums
checksum 400 1007 1008
checksum 392 1007 1008