summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
diff options
context:
space:
mode:
authorKerry Sheh <shekairui@gmail.com>2011-10-12 11:42:59 +0800
committerMarc Jones <marcj303@gmail.com>2011-10-12 07:45:09 +0200
commit55437c57a967e73b8a78147c30779a6b7d39872b (patch)
tree64858a46b31a7af9f9fe4b84bc9b68b4dacfa293 /src/southbridge/amd
parent0e6344e1cfe0bad409a4a0bfacbaa92a57440aa7 (diff)
downloadcoreboot-55437c57a967e73b8a78147c30779a6b7d39872b.tar.xz
SB800 RAID: add kconfig option RAID_MISC_ROM_POSITION
SB800 RAID ROM require to put the misc ROM to specific position, this patch enable user to put the RAID misc ROM to the right place in the coreboot image. Change-Id: I4fc64df8e091fb0cccd063826ab31a4f198942d1 Signed-off-by: Kerry She <kerry.she@amd.com> Signed-off-by: Kerry She <shekairui@gmail.com> Reviewed-on: http://review.coreboot.org/249 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r--src/southbridge/amd/cimx/sb800/Kconfig9
-rw-r--r--src/southbridge/amd/cimx/sb800/Makefile.inc1
2 files changed, 10 insertions, 0 deletions
diff --git a/src/southbridge/amd/cimx/sb800/Kconfig b/src/southbridge/amd/cimx/sb800/Kconfig
index 17ff3f9d68..79624e00c4 100644
--- a/src/southbridge/amd/cimx/sb800/Kconfig
+++ b/src/southbridge/amd/cimx/sb800/Kconfig
@@ -111,6 +111,15 @@ config RAID_MISC_ROM_FILE
default "site-local/sb800/misc.bin"
depends on SB800_SATA_RAID
+config RAID_MISC_ROM_POSITION
+ hex "RAID Misc ROM Position"
+ default 0xFFF00000
+ depends on SB800_SATA_RAID
+ help
+ The RAID ROM requires that the MISC ROM is located between the range
+ 0xFFF0_0000 to 0xFFF0_FFFF. Also, it must 1K bytes aligned.
+ The CONFIG_ROM_SIZE must larger than 0x100000.
+
endif
endif #SOUTHBRIDGE_AMD_CIMX_SB800
diff --git a/src/southbridge/amd/cimx/sb800/Makefile.inc b/src/southbridge/amd/cimx/sb800/Makefile.inc
index 30c0d39e44..48b198d0cb 100644
--- a/src/southbridge/amd/cimx/sb800/Makefile.inc
+++ b/src/southbridge/amd/cimx/sb800/Makefile.inc
@@ -48,5 +48,6 @@ ifeq ($(CONFIG_SB800_SATA_RAID), y)
cbfs-files-y += raid/misc.bin
raid/misc.bin-file := $(call strip_quotes,$(CONFIG_RAID_MISC_ROM_FILE))
+ raid/misc.bin-position := $(CONFIG_RAID_MISC_ROM_POSITION)
raid/misc.bin-type := raw
endif