soc/amd/stoneyridge: start header file for iomap

Create a new header file, iomap.h, which serves as a single
place for providing the address space definitions. Remove
the amd_defs.h file that had a single define in it.

Change-Id: I1b1aaa8c5d60d670c272ac7131faeb6b3edc1968
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/22318
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Aaron Durbin 2017-11-03 12:46:26 -06:00
parent 6d53c6bc6a
commit 733ad92c65
2 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@
#define GPIO_DEVICE_DESC "GPIO Controller"
#ifndef __ACPI__
#include <soc/amd/common/amd_defs.h>
#include <soc/iomap.h>
#include <types.h>
#define GPIO_PIN_STS (1 << 16)

View File

@ -2,6 +2,7 @@
* This file is part of the coreboot project.
*
* Copyright (C) 2017 Raptor Engineering, LLC
* Copyright 2017 Google 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
@ -13,10 +14,9 @@
* GNU General Public License for more details.
*/
#ifndef __AMD_SB_DEFS_H__
#define __AMD_SB_DEFS_H__
#ifndef __SOC_STONEYRIDGE_IOMAP_H__
#define __SOC_STONEYRIDGE_IOMAP_H__
#define AMD_SB_ACPI_MMIO_ADDR 0xfed80000ul
#endif
#endif /* __SOC_STONEYRIDGE_IOMAP_H__ */