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>
This commit is contained in:
Kerry Sheh 2011-10-12 11:42:59 +08:00 committed by Marc Jones
parent 0e6344e1cf
commit 55437c57a9
2 changed files with 10 additions and 0 deletions

View File

@ -111,6 +111,15 @@ config RAID_MISC_ROM_FILE
default "site-local/sb800/misc.bin" default "site-local/sb800/misc.bin"
depends on SB800_SATA_RAID 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
endif #SOUTHBRIDGE_AMD_CIMX_SB800 endif #SOUTHBRIDGE_AMD_CIMX_SB800

View File

@ -48,5 +48,6 @@ ifeq ($(CONFIG_SB800_SATA_RAID), y)
cbfs-files-y += raid/misc.bin cbfs-files-y += raid/misc.bin
raid/misc.bin-file := $(call strip_quotes,$(CONFIG_RAID_MISC_ROM_FILE)) 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 raid/misc.bin-type := raw
endif endif