Fix AMD Agesa leaking Kconfig
[coreboot.git] / src / cpu / amd / agesa / Kconfig
index 2133f89f94cdc717d4ad631a64538907d996cd55..f8a8c3fca620dd8d5ef692dcacffccbf84fae0c3 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the coreboot project.
 #
-# Copyright (C) 2011 Advanced Micro Devices, Inc.
+# Copyright (C) 2011 - 2012 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
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
+config AMD_AGESA
+        bool
+        default y if CPU_AMD_AGESA_FAMILY15
+        default n
+
+if AMD_AGESA
+
+config XIP_ROM_SIZE
+       hex
+       default 0x100000
+       help
+         Overwride the default write through caching size as 1M Bytes.
+         On some AMD paltform, one socket support 2 or more kinds of
+         processor family, compiling several cpu families agesa code
+         will increase the romstage size.
+         In order to execute romstage in place on the flash rom,
+         more space is required to be set as write through caching.
+
+source src/cpu/amd/agesa/family10/Kconfig
+source src/cpu/amd/agesa/family12/Kconfig
 source src/cpu/amd/agesa/family14/Kconfig
+source src/cpu/amd/agesa/family15/Kconfig
+
+endif # AMD_AGESA
+