[coreboot-gerrit] New patch to review for coreboot: ce0a750 am335x: Clean up/fix some settings in the am335x Kconfig.

Gabe Black (gabeblack@chromium.org) gerrit at coreboot.org
Tue May 28 23:19:33 CEST 2013


Gabe Black (gabeblack at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3327

-gerrit

commit ce0a7502349f6f5c773f6f84197b006bd2317a0b
Author: Gabe Black <gabeblack at google.com>
Date:   Mon May 27 22:16:13 2013 +0200

    am335x: Clean up/fix some settings in the am335x Kconfig.
    
    Some settings in the am335x Kconfig weren't actually used for anything, some
    where place holders, and some where left over from another CPU.
    
    Change-Id: I1a117d789a791d7e3db1118823f8216b3361433c
    Signed-off-by: Gabe Black <gabeblack at chromium.org>
---
 src/cpu/ti/am335x/Kconfig | 39 ++++-----------------------------------
 1 file changed, 4 insertions(+), 35 deletions(-)

diff --git a/src/cpu/ti/am335x/Kconfig b/src/cpu/ti/am335x/Kconfig
index c4ef8f1..472fbe7 100644
--- a/src/cpu/ti/am335x/Kconfig
+++ b/src/cpu/ti/am335x/Kconfig
@@ -6,25 +6,9 @@ config BOOTBLOCK_CPU_INIT
 	  bootblock must load microcode or copy data from ROM before
 	  searching for the bootblock.
 
-# Example SRAM/iRAM map for Exynos5250 platform:
-#
-# 0x0202_3400: bootblock, assume up to 32KB in size
-# 0x0203_0000: romstage, assume up to 128KB in size.
-# 0x0207_8000: stack pointer
-
-# FIXME: find out where romboot places ml0/coreboot
 config BOOTBLOCK_BASE
 	hex
-	default 0xdeadbeef
-
-#config ROMSTAGE_BASE
-#	hex
-#	default 0x02030000
-#
-# FIXME: this is bullshit.
-config ROMSTAGE_SIZE
-	hex
-	default 0xa000
+	default 0x402f0400
 
 # Stack may reside in either IRAM or DRAM. We will define it to live
 # at the top of IRAM for now.
@@ -33,11 +17,11 @@ config ROMSTAGE_SIZE
 # consecutive memory locations ending just below SP
 config STACK_TOP
 	hex
-	default 0x02078000
+	default 0x4030ce00
 
 config STACK_BOTTOM
 	hex
-	default 0x02077000
+	default 0x4030be00
 
 config STACK_SIZE
 	hex
@@ -46,7 +30,7 @@ config STACK_SIZE
 config CBFS_ROM_OFFSET
 	# Calculated by BL1 + max bootblock size.
 	hex "offset of CBFS data in ROM"
-	default 0x0A000
+	default 0x2800
 
 ## TODO Change this to some better address not overlapping bootblock when
 ## cbfstool supports creating header in arbitrary location.
@@ -54,21 +38,6 @@ config CBFS_HEADER_ROM_OFFSET
 	hex "offset of master CBFS header in ROM"
 	default 0x40
 
-## TODO We may probably move this to board-specific implementation files instead
-## of KConfig values.
-#config CBFS_CACHE_ADDRESS
-#	hex "memory address to put CBFS cache data"
-#	default 0x02060000
-#
-#config CBFS_CACHE_SIZE
-#	hex "size of CBFS cache data"
-#	default 0x000017000
-
-# FIXME: other magic numbers that should probably go away
-config XIP_ROM_SIZE
-	hex
-	default ROMSTAGE_SIZE
-
 config SYS_SDRAM_BASE
 	hex
 	default 0x40000000



More information about the coreboot-gerrit mailing list