GPIOs for I2C3 were being unset in amdinitmid if the GPIO enable table wasn't passed. It had been initialy set in amdinitreset. Pull the GPIO settings into their own file that can be used in bootblock and later stages. Change-Id: I41cd7873f8c8543c95ad8653e0a3887f7d0487a2 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/19839 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
35 lines
986 B
Makefile
35 lines
986 B
Makefile
#
|
|
# This file is part of the coreboot project.
|
|
#
|
|
# Copyright (C) 2015-2017 Advanced Micro Devices, Inc.
|
|
#
|
|
# 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.
|
|
#
|
|
|
|
bootblock-y += bootblock/bootblock.c
|
|
bootblock-y += bootblock/BiosCallOuts.c
|
|
bootblock-y += bootblock/OemCustomize.c
|
|
bootblock-y += ec.c
|
|
bootblock-y += gpio.c
|
|
|
|
romstage-y += BiosCallOuts.c
|
|
romstage-y += chromeos.c
|
|
romstage-y += gpio.c
|
|
romstage-y += OemCustomize.c
|
|
|
|
ramstage-y += BiosCallOuts.c
|
|
ramstage-y += chromeos.c
|
|
ramstage-y += ec.c
|
|
ramstage-y += gpio.c
|
|
ramstage-y += OemCustomize.c
|
|
|
|
verstage-y += chromeos.c
|
|
verstage-y += ec.c
|