blob: 6764644274e17d378f3fc3edb352a5c2eb40c755 [file] [log] [blame]
Angel Pons89ab2502020-04-03 01:22:28 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Vladimir Serbinenko61ffb4c2014-08-12 22:51:53 +02002
Arthur Heymans40b0fc32017-04-05 12:05:12 +02003#include <southbridge/intel/common/gpio.h>
Vladimir Serbinenko61ffb4c2014-08-12 22:51:53 +02004#include <northbridge/intel/gm45/gm45.h>
5
Patrick Georgi40b8f012021-05-12 14:52:12 +02006void get_mb_spd_addrmap(u8 spd_addrmap[4])
Vladimir Serbinenko61ffb4c2014-08-12 22:51:53 +02007{
Arthur Heymans3b0eb602019-01-31 22:47:09 +01008 spd_addrmap[0] = 0x50;
9 spd_addrmap[2] = 0x51;
10}
Vladimir Serbinenko61ffb4c2014-08-12 22:51:53 +020011
Arthur Heymans3b0eb602019-01-31 22:47:09 +010012void mb_post_raminit_setup(void)
13{
Peter Lemenkov6b7d40a2020-01-22 11:40:16 +010014 /* FIXME: make a proper SMBUS mux support. */
Arthur Heymans3b0eb602019-01-31 22:47:09 +010015 /* Set the SMBUS mux to the eeprom */
Arthur Heymans32a414f2019-01-31 22:53:09 +010016 set_gpio(42, GPIO_LEVEL_LOW);
Vladimir Serbinenko61ffb4c2014-08-12 22:51:53 +020017}