[coreboot] New patch to review for coreboot: f8c69e7 SB800 RAID: add kconfig option RAID_MISC_ROM_POSITION

Kerry Sheh (shekairui@gmail.com) gerrit at coreboot.org
Tue Oct 11 12:00:45 CEST 2011

Kerry Sheh (shekairui at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/249


commit f8c69e73c88ac79b88c204d19544e08fef3fd80f
Author: Kerry Sheh <shekairui at gmail.com>
Date:   Tue Oct 11 18:20:35 2011 +0800

    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 at amd.com>
    Signed-off-by: Kerry She <shekairui at gmail.com>
 src/southbridge/amd/cimx/sb800/Kconfig      |    9 +++++++++
 src/southbridge/amd/cimx/sb800/Makefile.inc |    1 +
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/southbridge/amd/cimx/sb800/Kconfig b/src/southbridge/amd/cimx/sb800/Kconfig
index 17ff3f9..41a167a 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
+	hex "RAID Misc ROM Position"
+	default 0xFFF00000
+	depends on SB800_SATA_RAID
+	help
+	  RAID ROM require to put the misc ROM at range from 0xFFF0_0000 to
+	  0xFFF0_FFFF, and must 1K bytes aligned.
+	  So CONFIG_ROM_SIZE must larger than 0x100000.
diff --git a/src/southbridge/amd/cimx/sb800/Makefile.inc b/src/southbridge/amd/cimx/sb800/Makefile.inc
index 30c0d39..48b198d 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

More information about the coreboot mailing list