From: Lucas Stach <l.stach@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 01/12] ARM: vexpress: always build relocatable image
Date: Fri, 15 Sep 2017 10:39:11 +0200 [thread overview]
Message-ID: <20170915083922.25134-2-l.stach@pengutronix.de> (raw)
In-Reply-To: <20170915083922.25134-1-l.stach@pengutronix.de>
This allows to make more space available for the malloc area and
allows us to drop the special CA9 defconfig, which had a different
text base.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
arch/arm/configs/vexpress_ca9_defconfig | 52 ---------------------------------
arch/arm/configs/vexpress_defconfig | 1 +
arch/arm/mach-vexpress/Kconfig | 3 +-
3 files changed, 3 insertions(+), 53 deletions(-)
delete mode 100644 arch/arm/configs/vexpress_ca9_defconfig
diff --git a/arch/arm/configs/vexpress_ca9_defconfig b/arch/arm/configs/vexpress_ca9_defconfig
deleted file mode 100644
index a1c42512d205..000000000000
--- a/arch/arm/configs/vexpress_ca9_defconfig
+++ /dev/null
@@ -1,52 +0,0 @@
-CONFIG_ARCH_VEXPRESS=y
-CONFIG_AEABI=y
-CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
-CONFIG_TEXT_BASE=0x63f00000
-CONFIG_MALLOC_TLSF=y
-CONFIG_PROMPT="vexpress: "
-CONFIG_GLOB=y
-CONFIG_HUSH_FANCY_PROMPT=y
-CONFIG_CMDLINE_EDITING=y
-CONFIG_AUTO_COMPLETE=y
-CONFIG_MENU=y
-CONFIG_BOOTM_SHOW_TYPE=y
-CONFIG_BOOTM_VERBOSE=y
-CONFIG_BOOTM_INITRD=y
-CONFIG_PARTITION=y
-CONFIG_DEFAULT_ENVIRONMENT_GENERIC=y
-CONFIG_LONGHELP=y
-CONFIG_CMD_MEMINFO=y
-# CONFIG_CMD_BOOTU is not set
-CONFIG_CMD_GO=y
-CONFIG_CMD_LOADB=y
-CONFIG_CMD_RESET=y
-CONFIG_CMD_UIMAGE=y
-CONFIG_CMD_PARTITION=y
-CONFIG_CMD_EXPORT=y
-CONFIG_CMD_PRINTENV=y
-CONFIG_CMD_SAVEENV=y
-CONFIG_CMD_UNCOMPRESS=y
-CONFIG_CMD_SLEEP=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_TFTP=y
-CONFIG_CMD_ECHO_E=y
-CONFIG_CMD_EDIT=y
-CONFIG_CMD_LOGIN=y
-CONFIG_CMD_MENU=y
-CONFIG_CMD_MENU_MANAGEMENT=y
-CONFIG_CMD_PASSWD=y
-CONFIG_CMD_READLINE=y
-CONFIG_CMD_TIMEOUT=y
-CONFIG_CMD_CLK=y
-CONFIG_CMD_OFTREE=y
-CONFIG_NET=y
-CONFIG_NET_NFS=y
-CONFIG_NET_NETCONSOLE=y
-CONFIG_NET_RESOLV=y
-CONFIG_SERIAL_AMBA_PL011=y
-CONFIG_DRIVER_NET_SMC91111=y
-# CONFIG_SPI is not set
-CONFIG_FS_TFTP=y
-CONFIG_DIGEST_SHA1_GENERIC=y
-CONFIG_DIGEST_SHA256_GENERIC=y
diff --git a/arch/arm/configs/vexpress_defconfig b/arch/arm/configs/vexpress_defconfig
index 94fe1eaa72b1..e31da4a8c668 100644
--- a/arch/arm/configs/vexpress_defconfig
+++ b/arch/arm/configs/vexpress_defconfig
@@ -1,6 +1,7 @@
CONFIG_ARCH_VEXPRESS=y
CONFIG_AEABI=y
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
+CONFIG_MALLOC_SIZE=0x0
CONFIG_MALLOC_TLSF=y
CONFIG_PROMPT="vexpress: "
CONFIG_GLOB=y
diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig
index bf1dd5a79150..1d5e293602f6 100644
--- a/arch/arm/mach-vexpress/Kconfig
+++ b/arch/arm/mach-vexpress/Kconfig
@@ -2,13 +2,14 @@ if ARCH_VEXPRESS
config ARCH_TEXT_BASE
hex
- default 0x83f00000
+ default 0x0
choice
prompt "ARM Board type"
config MACH_VEXPRESS
bool "ARM Vexpress"
+ select RELOCATABLE
endchoice
--
2.11.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2017-09-15 8:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-15 8:39 [PATCH 00/12] Vexpress rework Lucas Stach
2017-09-15 8:39 ` Lucas Stach [this message]
2017-09-15 8:39 ` [PATCH 02/12] of: populate clock providers before other devices Lucas Stach
2017-09-15 8:39 ` [PATCH 03/12] clk: versatile: add basic clocks Lucas Stach
2017-09-16 13:34 ` Sam Ravnborg
2017-09-15 8:39 ` [PATCH 04/12] clocksource: sp804: silently ignore secondary instaces Lucas Stach
2017-09-15 8:39 ` [PATCH 05/12] mci: mmci: add DT support Lucas Stach
2017-09-16 13:37 ` Sam Ravnborg
2017-09-15 8:39 ` [PATCH 06/12] ARM: vexpress: switch to DT probe and multi-image build Lucas Stach
2017-09-15 8:39 ` [PATCH 07/12] ARM: vexpress: regenerate config Lucas Stach
2017-09-15 8:39 ` [PATCH 08/12] docs: add qemu vexpress Lucas Stach
2017-09-15 8:39 ` [PATCH 09/12] vexpress: use device tree provided by QEMU if available Lucas Stach
2017-09-15 8:39 ` [PATCH 10/12] vexpress: add bootstate node to the device tree Lucas Stach
2017-09-15 8:39 ` [PATCH 11/12] of: base: add funtion to copy a device tree node Lucas Stach
2017-09-20 6:20 ` Sascha Hauer
2017-09-15 8:39 ` [PATCH 12/12] ARM: vexpress: add fixup handler for 'virtio, mmio' devices Lucas Stach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170915083922.25134-2-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox