Skip to contentSkip to conversation

ARM: OMAP3_LOGIC: Fix SPL Memory Map for Falcon Mode

PATCH In review Adam Ford 2 participants 3 messages Nov 13, 2016 – Nov 22, 2016

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 ARM: OMAP3_LOGIC: Fix SPL Memory Map for Falcon Mode

The memory map defined in commit ("49c7303f0e52: OMAP3: Enable SPL on omap3_logic) was used by a copy-paste of another board without fully understanding how the map works in Falcon mode. This patch undoes the customization and uses the default SPL Memory Map for OMAP3.

When building the uImage, set LOADADDR=0x82000000 and Falcon mode should properly load.

include/configs/omap3_logic.h +0 -13
index 0827ebe..301d4b2 100644
@@ -15,19 +15,6 @@
 
 #define CONFIG_NR_DRAM_BANKS	2	/* CS1 may or may not be populated */
 
-/*
- * 1MB into the SDRAM to allow for SPL's bss at the beginning of SDRAM
- * 64 bytes before this address should be set aside for u-boot.img's
- * header. That is 0x800FFFC0--0x80100000 should not be used for any
- * other needs.  We use this rather than the inherited defines from
- * ti_armv7_common.h for backwards compatibility.
- */
-#define CONFIG_SYS_TEXT_BASE		0x80100000
-#define CONFIG_SPL_BSS_START_ADDR	0x80000000
-#define CONFIG_SPL_BSS_MAX_SIZE		(512 << 10)	/* 512 KB */
-#define CONFIG_SYS_SPL_MALLOC_START	0x80208000
-#define CONFIG_SYS_SPL_MALLOC_SIZE	0x100000
-
 #include <configs/ti_omap3_common.h>
 
 /*
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 ARM: OMAP3_LOGIC: Fix SPL Memory Map for Falcon Mode

include/configs/omap3_logic.h

Quoted 13 lines · Adam Ford

The memory map defined in commit ("49c7303f0e52: OMAP3: Enable SPL on omap3_logic) was used by a copy-paste of another board without fully understanding how the map works in Falcon mode. This patch undoes the customization and uses the default SPL Memory Map for OMAP3.

When building the uImage, set LOADADDR=0x82000000 and Falcon mode should properly load.

include/configs/omap3_logic.h +0 -0
index 0827ebe..301d4b2 100644
Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161117/51fb7e3c/attachment.sig>
#2 lore raw
In reply to Adam Ford

include/configs/omap3_logic.h

Quoted 14 lines · Adam Ford

The memory map defined in commit ("49c7303f0e52: OMAP3: Enable SPL on omap3_logic) was used by a copy-paste of another board without fully understanding how the map works in Falcon mode. This patch undoes the customization and uses the default SPL Memory Map for OMAP3.

When building the uImage, set LOADADDR=0x82000000 and Falcon mode should properly load.

include/configs/omap3_logic.h +0 -0
index 0827ebe..301d4b2 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161121/1355e2a8/attachment.sig>