SB800 RAID: add kconfig option RAID_MISC_ROM_POSITION
authorKerry Sheh <shekairui@gmail.com>
Wed, 12 Oct 2011 03:42:59 +0000 (11:42 +0800)
committerMarc Jones <marcj303@gmail.com>
Wed, 12 Oct 2011 05:45:09 +0000 (07:45 +0200)
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>
src/southbridge/amd/cimx/sb800/Kconfig
src/southbridge/amd/cimx/sb800/Makefile.inc

index 17ff3f9d68569e29983f22716fc456fdbd568d92..79624e00c474659759dff7e6c3dca64ed524463e 100644 (file)
@@ -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
index 30c0d39e44b6725ea7c9f278a543f2df34b9973c..48b198d0cbff91f4bdbe6db021b2a3c95b8cec81 100644 (file)
@@ -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