All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/4] ARM: omapl138_lcdk: Disable SPL_DM_USB
@ 2019-09-01 21:19 Adam Ford
  2019-09-01 21:19 ` [U-Boot] [PATCH 2/4] ARM: omapl138_lcdk: Split SPL BSS and increase malloc size Adam Ford
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Adam Ford @ 2019-09-01 21:19 UTC (permalink / raw)
  To: u-boot

The USB was just recently enabled, so it is unlikely anyone is
using it in SPL, so this patch removes it from SPL to further
reduce the SPL code size.

Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index 7e470bf73e..6813a8b2ae 100644
--- a/configs/omapl138_lcdk_defconfig
+++ b/configs/omapl138_lcdk_defconfig
@@ -67,6 +67,7 @@ CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+# CONFIG_SPL_DM_USB is not set
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_DA8XX=y
 CONFIG_USB_MUSB_HOST=y
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/4] ARM: omapl138_lcdk: Split SPL BSS and increase malloc size
  2019-09-01 21:19 [U-Boot] [PATCH 1/4] ARM: omapl138_lcdk: Disable SPL_DM_USB Adam Ford
@ 2019-09-01 21:19 ` Adam Ford
  2019-09-01 21:19 ` [U-Boot] [PATCH 3/4] ARM: omapl138_lcdk: Enable DM_GPIO and DM and GPIO Commands Adam Ford
  2019-09-01 21:19 ` [U-Boot] [PATCH 4/4] ARM: omapl138_lcdk: Enable Pinctrl Adam Ford
  2 siblings, 0 replies; 4+ messages in thread
From: Adam Ford @ 2019-09-01 21:19 UTC (permalink / raw)
  To: u-boot

In further preparation for device tree conversion in SPL, this
patch separates BSS in SPL and increases malloc size.

Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index 6813a8b2ae..98f101342d 100644
--- a/configs/omapl138_lcdk_defconfig
+++ b/configs/omapl138_lcdk_defconfig
@@ -10,6 +10,7 @@ CONFIG_SYS_DA850_PLL1_PLLDIV3=0x8003
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
+CONFIG_SYS_MALLOC_F_LEN=0x800
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_NR_DRAM_BANKS=1
@@ -23,6 +24,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
+CONFIG_SPL_SEPARATE_BSS=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_HUSH_PARSER=y
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 3/4] ARM: omapl138_lcdk: Enable DM_GPIO and DM and GPIO Commands
  2019-09-01 21:19 [U-Boot] [PATCH 1/4] ARM: omapl138_lcdk: Disable SPL_DM_USB Adam Ford
  2019-09-01 21:19 ` [U-Boot] [PATCH 2/4] ARM: omapl138_lcdk: Split SPL BSS and increase malloc size Adam Ford
@ 2019-09-01 21:19 ` Adam Ford
  2019-09-01 21:19 ` [U-Boot] [PATCH 4/4] ARM: omapl138_lcdk: Enable Pinctrl Adam Ford
  2 siblings, 0 replies; 4+ messages in thread
From: Adam Ford @ 2019-09-01 21:19 UTC (permalink / raw)
  To: u-boot

The da8xx GPIO driver is available with DM_GPIO support.  This
patch enables the CMD_GPIO, CMD_DM, and DM_GPIO and DA8XX_GPIO.

Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index 98f101342d..c8a2b145bc 100644
--- a/configs/omapl138_lcdk_defconfig
+++ b/configs/omapl138_lcdk_defconfig
@@ -31,8 +31,8 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CRC32_VERIFY=y
 # CONFIG_CMD_EEPROM is not set
 CONFIG_MX_CYCLIC=y
+CONFIG_CMD_DM=y
 # CONFIG_CMD_FLASH is not set
-# CONFIG_CMD_GPIO is not set
 CONFIG_CMD_NAND=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
@@ -48,6 +48,8 @@ CONFIG_ENV_IS_IN_NAND=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_SPL_DM=y
+CONFIG_DM_GPIO=y
+CONFIG_DA8XX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_DAVINCI=y
 CONFIG_DM_MMC=y
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 4/4] ARM: omapl138_lcdk: Enable Pinctrl
  2019-09-01 21:19 [U-Boot] [PATCH 1/4] ARM: omapl138_lcdk: Disable SPL_DM_USB Adam Ford
  2019-09-01 21:19 ` [U-Boot] [PATCH 2/4] ARM: omapl138_lcdk: Split SPL BSS and increase malloc size Adam Ford
  2019-09-01 21:19 ` [U-Boot] [PATCH 3/4] ARM: omapl138_lcdk: Enable DM_GPIO and DM and GPIO Commands Adam Ford
@ 2019-09-01 21:19 ` Adam Ford
  2 siblings, 0 replies; 4+ messages in thread
From: Adam Ford @ 2019-09-01 21:19 UTC (permalink / raw)
  To: u-boot

The single pinctrl supports the da8xx, so this patch enables
pinctrl in U-Boot.

Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index c8a2b145bc..802e3971ff 100644
--- a/configs/omapl138_lcdk_defconfig
+++ b/configs/omapl138_lcdk_defconfig
@@ -34,6 +34,7 @@ CONFIG_MX_CYCLIC=y
 CONFIG_CMD_DM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_NAND=y
+# CONFIG_CMD_PINMUX is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nand0=nand256"
@@ -66,6 +67,8 @@ CONFIG_MII=y
 CONFIG_DRIVER_TI_EMAC=y
 CONFIG_PHY=y
 CONFIG_PHY_DA8XX_USB=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_SINGLE=y
 CONFIG_SPECIFY_CONSOLE_INDEX=y
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-01 21:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-01 21:19 [U-Boot] [PATCH 1/4] ARM: omapl138_lcdk: Disable SPL_DM_USB Adam Ford
2019-09-01 21:19 ` [U-Boot] [PATCH 2/4] ARM: omapl138_lcdk: Split SPL BSS and increase malloc size Adam Ford
2019-09-01 21:19 ` [U-Boot] [PATCH 3/4] ARM: omapl138_lcdk: Enable DM_GPIO and DM and GPIO Commands Adam Ford
2019-09-01 21:19 ` [U-Boot] [PATCH 4/4] ARM: omapl138_lcdk: Enable Pinctrl Adam Ford

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.