Skip to contentSkip to conversation

x86: theadorable-x86-common: Add further pci hotplug cmdline parameters

PATCH New Stefan Roese 1 participant 3 messages Sep 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: theadorable-x86-common: Add further pci hotplug cmdline parameters

This is needed for the PCIe hotplug to work correctly on some boards.

---
 include/configs/theadorable-x86-common.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/configs/theadorable-x86-common.h +2 -1
index 238056a65f..7621385fa2 100644
@@ -58,7 +58,8 @@
 	"addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"	\
 	"addmisc=setenv bootargs ${bootargs} "			\
 		"intel-spi.writeable=1 vmalloc=300M "		\
-		"pci=realloc=on,hpmemsize=0x12000000\0"		\
+		"pci=realloc=on,hpmemsize=0x12000000,"		\
+		"hpmemprefsize=0,hpiosize=0\0"	    		\
 	"bootcmd=if env exists recovery_status;"		\
 		"then run swupdate;"				\
 		"else run yocto_boot;run swupdate;"		\
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 x86: theadorable-x86-xxx_defconfig: Enable setexpr command

The setexpr command is useful for scripting, lets enable it for all x86 based theadorable platforms.

---
 configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 1 -
 configs/theadorable-x86-conga-qa3-e3845_defconfig         | 1 -
 configs/theadorable-x86-dfi-bt700_defconfig               | 1 -
 3 files changed, 3 deletions(-)
configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig +0 -1
index 1888f08928..344a8f25c2 100644
@@ -27,7 +27,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
-# CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_PING=y
configs/theadorable-x86-conga-qa3-e3845_defconfig +0 -1
index 4c9492cf1f..84a92c54da 100644
@@ -26,7 +26,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
-# CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_PING=y
configs/theadorable-x86-dfi-bt700_defconfig +0 -1
index 348d917b3b..d42798e8e9 100644
@@ -25,7 +25,6 @@ CONFIG_CMD_PART=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
-# CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_PING=y
Signature · 1 line
2.14.1
#2 lore raw

PATCH 1/1 arm: mvebu: theadorable_debug_defconfig: Enable setexpr command

In reply to Stefan Roese

The setexpr command is useful for scripting, lets enable it for this platform.

---
 configs/theadorable_debug_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/theadorable_debug_defconfig +0 -1
index a39497984b..c10b1b30b9 100644
@@ -28,7 +28,6 @@ CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
-# CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
Signature · 1 line
2.14.1