2016-01-26 19:06:42 +01:00
|
|
|
##
|
|
|
|
## This file is part of the coreboot project.
|
|
|
|
##
|
|
|
|
## Copyright (C) 2013 Google Inc.
|
|
|
|
## Copyright (C) 2015-2016 Intel Corp.
|
|
|
|
##
|
|
|
|
## 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.
|
|
|
|
##
|
|
|
|
|
|
|
|
chip soc/intel/quark
|
|
|
|
|
2016-03-04 00:30:48 +01:00
|
|
|
############################################################
|
|
|
|
# Set the parameters for MemoryInit
|
|
|
|
############################################################
|
|
|
|
|
2016-06-19 03:52:43 +02:00
|
|
|
register "AddrMode" = "0"
|
|
|
|
register "ChanMask" = "1" # Channel 0 enabled
|
|
|
|
register "ChanWidth" = "1" # 16-bit channel
|
|
|
|
register "DramDensity" = "1" # 1 Gib;
|
|
|
|
register "DramRonVal" = "0" # 34 Ohm
|
|
|
|
register "DramRttNomVal" = "2" # 120 Ohm
|
|
|
|
register "DramRttWrVal" = "0" # off
|
|
|
|
register "DramSpeed" = "0" # 800 MHz
|
|
|
|
register "DramType" = "0" # DDR3
|
|
|
|
register "DramWidth" = "0" # 8-bit
|
|
|
|
register "EccScrubBlkSize" = "2" # 64 byte blocks
|
|
|
|
register "EccScrubInterval" = "0" # ECC scrub disabled
|
|
|
|
register "Flags" = "MRC_FLAG_SCRAMBLE_EN"
|
|
|
|
register "FspReservedMemoryLength" = "0x00100000" # Size in bytes
|
|
|
|
register "RankMask" = "1" # RANK 0 enabled
|
|
|
|
register "SmmTsegSize" = "0" # SMM Region size in MiB
|
|
|
|
register "SocRdOdtVal" = "0" # off
|
|
|
|
register "SocWrRonVal" = "1" # 32 Ohm
|
|
|
|
register "SocWrSlewRate" = "1" # 4V/nSec
|
|
|
|
register "SrInt" = "3" # 7.8 uSec
|
|
|
|
register "SrTemp" = "0" # normal
|
|
|
|
register "tCL" = "6" # clocks
|
|
|
|
register "tFAW" = "40000" # picoseconds
|
|
|
|
register "tRAS" = "37500" # picoseconds
|
|
|
|
register "tRRD" = "10000" # picoseconds
|
|
|
|
register "tWTR" = "10000" # picoseconds
|
2016-03-04 00:30:48 +01:00
|
|
|
|
|
|
|
############################################################
|
|
|
|
# Enable the devices
|
|
|
|
############################################################
|
|
|
|
|
2016-01-26 19:06:42 +01:00
|
|
|
device domain 0 on
|
|
|
|
# EDS Table 3
|
2016-02-15 00:18:14 +01:00
|
|
|
device pci 00.0 on end # 8086 0958 - Host Bridge
|
2016-02-29 17:03:53 +01:00
|
|
|
device pci 14.0 on end # 8086 08A7 - SD/SDIO/eMMC controller
|
2016-02-15 00:18:14 +01:00
|
|
|
device pci 14.1 off end # 8086 0936 - HSUART 0
|
2016-05-22 19:07:20 +02:00
|
|
|
device pci 14.2 on end # 8086 0939 - USB 2.0 Device port
|
2016-02-28 20:35:29 +01:00
|
|
|
device pci 14.3 on end # 8086 0939 - USB EHCI Host controller
|
|
|
|
device pci 14.4 on end # 8086 093A - USB OHCI Host controller
|
2016-02-17 17:47:58 +01:00
|
|
|
device pci 14.5 on end # 8086 0936 - HSUART 1
|
2016-02-15 00:18:14 +01:00
|
|
|
device pci 14.6 off end # 8086 0937 - 10/100 Ethernet MAC 0
|
|
|
|
device pci 14.7 off end # 8086 0937 - 10/100 Ethernet MAC 1
|
2016-03-04 00:30:48 +01:00
|
|
|
device pci 15.0 on end # 8086 0935 - SPI controller 0
|
|
|
|
device pci 15.1 on end # 8086 0935 - SPI controller 1
|
2016-04-30 18:07:14 +02:00
|
|
|
device pci 15.2 on end # 8086 0934 - I2C/GPIO controller
|
2016-02-16 17:26:03 +01:00
|
|
|
device pci 17.0 on end # 8086 11C3 - PCIe Root Port 0
|
2016-02-15 00:18:14 +01:00
|
|
|
device pci 17.1 off end # 8086 11C4 - PCIe Root Port 1
|
|
|
|
device pci 1f.0 on end # 8086 095E - Legacy Bridge
|
2016-01-26 19:06:42 +01:00
|
|
|
end
|
|
|
|
end
|