From: Roland Hieber <rhi@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [DistroKit] [PATCH 6/9] v7a: barebox-am335x: slim down config diff
Date: Tue, 4 Jun 2019 22:44:29 +0200 [thread overview]
Message-ID: <20190604204432.23750-6-rhi@pengutronix.de> (raw)
In-Reply-To: <20190604204432.23750-1-rhi@pengutronix.de>
* don't disable common features unnecessarily
* repair compile log level < default log level by using the defaults
* now that USB_HOST is enabled, MUSB_HOST makes sense too
* disable unneeded features:
- CMD_LOADB: no one uses kermit these days
- CMD_MENU_MANAGEMENT: not used
- FIT image support: not used
- initrd support: not used
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
configs/platform-v7a/barebox-am335x.config | 62 ++++++++++++-------
.../platform-v7a/barebox-am335x.config.diff | 22 +------
2 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/configs/platform-v7a/barebox-am335x.config b/configs/platform-v7a/barebox-am335x.config
index e10f377d1456..1d58f97dfac2 100644
--- a/configs/platform-v7a/barebox-am335x.config
+++ b/configs/platform-v7a/barebox-am335x.config
@@ -92,8 +92,6 @@ CONFIG_BLOCK_WRITE=y
CONFIG_FILETYPE=y
CONFIG_BINFMT=y
CONFIG_UIMAGE=y
-CONFIG_FITIMAGE=y
-CONFIG_FITIMAGE_SIGNATURE=y
CONFIG_LOGBUF=y
CONFIG_STDDEV=y
CONFIG_BAREBOX_UPDATE=y
@@ -161,14 +159,11 @@ CONFIG_ERRNO_MESSAGES=y
CONFIG_BOOTM=y
CONFIG_BOOTM_SHOW_TYPE=y
CONFIG_BOOTM_VERBOSE=y
-CONFIG_BOOTM_INITRD=y
+# CONFIG_BOOTM_INITRD is not set
CONFIG_BOOTM_OFTREE=y
CONFIG_BOOTM_OFTREE_UIMAGE=y
# CONFIG_BOOTM_AIMAGE is not set
-CONFIG_BOOTM_FITIMAGE=y
-CONFIG_BOOTM_FITIMAGE_SIGNATURE=y
-CONFIG_BOOTM_FITIMAGE_PUBKEY="../fit/pubkey.dtsi"
-# CONFIG_BOOTM_FORCE_SIGNED_IMAGES is not set
+# CONFIG_BOOTM_FITIMAGE is not set
CONFIG_BLSPEC=y
CONFIG_FLEXIBLE_BOOTARGS=y
CONFIG_IMD=y
@@ -189,7 +184,10 @@ CONFIG_PARTITION_DISK_DOS=y
# CONFIG_PARTITION_DISK_EFI is not set
CONFIG_ENV_HANDLING=y
CONFIG_DEFAULT_ENVIRONMENT=y
+# CONFIG_DEFAULT_COMPRESSION_GZIP is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is not set
# CONFIG_DEFAULT_COMPRESSION_LZO is not set
+# CONFIG_DEFAULT_COMPRESSION_XZ is not set
CONFIG_DEFAULT_COMPRESSION_NONE=y
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
@@ -197,15 +195,17 @@ CONFIG_DEFAULT_ENVIRONMENT_PATH=".ptxdist-defaultenv"
# CONFIG_BAREBOXENV_TARGET is not set
# CONFIG_BAREBOXCRC32_TARGET is not set
CONFIG_POLLER=y
-# CONFIG_STATE is not set
+CONFIG_STATE=y
+# CONFIG_STATE_CRYPTO is not set
+# CONFIG_STATE_BACKWARD_COMPATIBLE is not set
# CONFIG_BOOTCHOOSER is not set
CONFIG_RESET_SOURCE=y
#
# Debugging
#
-CONFIG_COMPILE_LOGLEVEL=6
-CONFIG_DEFAULT_LOGLEVEL=7
+CONFIG_COMPILE_LOGLEVEL=7
+CONFIG_DEFAULT_LOGLEVEL=6
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_LL is not set
CONFIG_DEBUG_OMAP_UART_PORT=1
@@ -231,6 +231,7 @@ CONFIG_CMD_IOMEM=y
CONFIG_CMD_IMD=y
CONFIG_CMD_MEMINFO=y
CONFIG_CMD_ARM_MMUINFO=y
+CONFIG_CMD_REGULATOR=y
CONFIG_CMD_VERSION=y
# CONFIG_CMD_MMC_EXTCSD is not set
@@ -242,7 +243,7 @@ CONFIG_CMD_BOOTM=y
# CONFIG_CMD_BOOTU is not set
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_GO=y
-CONFIG_CMD_LOADB=y
+# CONFIG_CMD_LOADB is not set
# CONFIG_CMD_LOADS is not set
# CONFIG_CMD_LOADY is not set
CONFIG_CMD_RESET=y
@@ -327,7 +328,7 @@ CONFIG_CMD_ECHO_E=y
CONFIG_CMD_EDIT=y
# CONFIG_CMD_LOGIN is not set
CONFIG_CMD_MENU=y
-CONFIG_CMD_MENU_MANAGEMENT=y
+# CONFIG_CMD_MENU_MANAGEMENT is not set
CONFIG_CMD_MENUTREE=y
CONFIG_CMD_READLINE=y
CONFIG_CMD_TIMEOUT=y
@@ -359,6 +360,7 @@ CONFIG_CMD_NAND_BITFLIP=y
# CONFIG_CMD_POWEROFF is not set
CONFIG_CMD_SPI=y
CONFIG_CMD_LED_TRIGGER=y
+CONFIG_CMD_USB=y
CONFIG_CMD_USBGADGET=y
CONFIG_CMD_WD=y
CONFIG_CMD_WD_DEFAULT_TIMOUT=0
@@ -377,6 +379,7 @@ CONFIG_CMD_OF_PROPERTY=y
# CONFIG_CMD_OF_FIXUP_STATUS is not set
CONFIG_CMD_OFTREE=y
CONFIG_CMD_TIME=y
+CONFIG_CMD_STATE=y
# CONFIG_CMD_DHRYSTONE is not set
# CONFIG_CMD_SPD_DECODE is not set
# CONFIG_CMD_SEED is not set
@@ -447,19 +450,23 @@ CONFIG_DRIVER_NET_CPSW=y
#
# CONFIG_MDIO_BITBANG is not set
# CONFIG_MDIO_BUS_MUX_GPIO is not set
+CONFIG_NET_USB=y
+CONFIG_NET_USB_ASIX=y
+CONFIG_NET_USB_SMSC95XX=y
#
# SPI drivers
#
CONFIG_SPI=y
-# CONFIG_DRIVER_SPI_GPIO is not set
+CONFIG_DRIVER_SPI_GPIO=y
CONFIG_DRIVER_SPI_OMAP3=y
CONFIG_I2C=y
+CONFIG_I2C_ALGOBIT=y
#
# I2C Hardware Bus support
#
-# CONFIG_I2C_GPIO is not set
+CONFIG_I2C_GPIO=y
# CONFIG_I2C_DESIGNWARE is not set
CONFIG_I2C_OMAP=y
# CONFIG_I2C_MUX is not set
@@ -516,7 +523,11 @@ CONFIG_DISK_WRITE=y
#
# CONFIG_DISK_INTF_PLATFORM_IDE is not set
CONFIG_USB=y
-# CONFIG_USB_HOST is not set
+CONFIG_USB_HOST=y
+CONFIG_USB_EHCI=y
+# CONFIG_USB_XHCI is not set
+# CONFIG_USB_ULPI is not set
+CONFIG_USB_STORAGE=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_AUTOSTART=y
@@ -531,6 +542,7 @@ CONFIG_USB_GADGET_FASTBOOT_SPARSE=y
CONFIG_USB_MUSB=y
CONFIG_USB_MUSB_DSPS=y
CONFIG_USB_MUSB_AM335X=y
+CONFIG_USB_MUSB_HOST=y
CONFIG_USB_MUSB_GADGET=y
# CONFIG_VIDEO is not set
CONFIG_MCI=y
@@ -577,6 +589,7 @@ CONFIG_CLOCKSOURCE_TI_DM=y
#
# CONFIG_JTAG is not set
# CONFIG_SRAM is not set
+CONFIG_STATE_DRV=y
CONFIG_DEV_MEM=y
CONFIG_LED=y
CONFIG_LED_GPIO=y
@@ -597,12 +610,13 @@ CONFIG_EEPROM_AT24=y
#
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_QT1070 is not set
+# CONFIG_KEYBOARD_USB is not set
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_POLLER is not set
# CONFIG_WATCHDOG_DW is not set
CONFIG_WATCHDOG_OMAP=y
# CONFIG_PWM is not set
-# CONFIG_HWRNG is not set
+CONFIG_HWRNG=y
#
# DMA support
@@ -629,7 +643,8 @@ CONFIG_PINCTRL_SINGLE=y
#
CONFIG_BUS_OMAP_GPMC=y
CONFIG_TI_SYSC=y
-# CONFIG_REGULATOR is not set
+CONFIG_REGULATOR=y
+# CONFIG_REGULATOR_FIXED is not set
# CONFIG_RESET_CONTROLLER is not set
# CONFIG_RTC_CLASS is not set
@@ -701,11 +716,17 @@ CONFIG_FS_FAT_LFN=y
#
CONFIG_PARAMETER=y
CONFIG_UNCOMPRESS=y
-# CONFIG_ZLIB is not set
-# CONFIG_BZLIB is not set
+CONFIG_ZLIB=y
+CONFIG_BZLIB=y
# CONFIG_LZ4_DECOMPRESS is not set
# CONFIG_ZSTD_DECOMPRESS is not set
-# CONFIG_XZ_DECOMPRESS is not set
+CONFIG_XZ_DECOMPRESS=y
+CONFIG_XZ_DEC_X86=y
+CONFIG_XZ_DEC_POWERPC=y
+CONFIG_XZ_DEC_IA64=y
+CONFIG_XZ_DEC_ARM=y
+CONFIG_XZ_DEC_ARMTHUMB=y
+CONFIG_XZ_DEC_SPARC=y
CONFIG_PROCESS_ESCAPE_SEQUENCE=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_FNMATCH=y
@@ -740,7 +761,6 @@ CONFIG_DIGEST_SHA1_GENERIC=y
CONFIG_DIGEST_HMAC_GENERIC=y
# CONFIG_DIGEST_SHA1_ARM is not set
# CONFIG_DIGEST_SHA256_ARM is not set
-CONFIG_CRYPTO_RSA=y
CONFIG_CRYPTO_KEYSTORE=y
#
diff --git a/configs/platform-v7a/barebox-am335x.config.diff b/configs/platform-v7a/barebox-am335x.config.diff
index 7e70acd5a504..f31303e61714 100644
--- a/configs/platform-v7a/barebox-am335x.config.diff
+++ b/configs/platform-v7a/barebox-am335x.config.diff
@@ -10,45 +10,29 @@ CONFIG_ARM_USE_COMPRESSED_DTB=y
# CONFIG_BAREBOX_UPDATE_AM33XX_EMMC is not set
# CONFIG_BAREBOX_UPDATE_AM33XX_NAND is not set
CONFIG_BAREBOX_UPDATE_AM33XX_SPI_NOR_MLO=y
-CONFIG_BOOTM_FITIMAGE=y
-CONFIG_BOOTM_FITIMAGE_PUBKEY="../fit/pubkey.dtsi"
-CONFIG_BOOTM_FITIMAGE_SIGNATURE=y
-# CONFIG_BOOTM_FORCE_SIGNED_IMAGES is not set
-CONFIG_BOOTM_INITRD=y
CONFIG_BOOTM_OFTREE_UIMAGE=y
CONFIG_BUS_OMAP_GPMC=y
-# CONFIG_BZLIB is not set
CONFIG_CLOCKSOURCE_TI_DM=y
CONFIG_CMD_KEYSTORE=y
-CONFIG_CMD_LOADB=y
-CONFIG_CMD_MENU_MANAGEMENT=y
CONFIG_CMD_MIITOOL=y
CONFIG_CMD_NAND=y
CONFIG_CMD_NANDTEST=y
CONFIG_CMD_NAND_BITFLIP=y
-CONFIG_COMPILE_LOGLEVEL=6
# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
CONFIG_CONSOLE_ACTIVATE_NONE=y
CONFIG_CRYPTO_KEYSTORE=y
-CONFIG_CRYPTO_RSA=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_OMAP_UART_PORT=1
-CONFIG_DEFAULT_LOGLEVEL=7
CONFIG_DIGEST_HMAC=y
CONFIG_DIGEST_HMAC_GENERIC=y
CONFIG_DRIVER_NET_CPSW=y
CONFIG_DRIVER_SERIAL_NS16550=y
CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
-# CONFIG_DRIVER_SPI_GPIO is not set
CONFIG_DRIVER_SPI_OMAP3=y
CONFIG_EEPROM_AT24=y
-CONFIG_FITIMAGE=y
-CONFIG_FITIMAGE_SIGNATURE=y
CONFIG_GPIO_GENERIC=y
CONFIG_GPIO_GENERIC_PLATFORM=y
CONFIG_GPIO_OMAP=y
-# CONFIG_HWRNG is not set
-# CONFIG_I2C_GPIO is not set
CONFIG_I2C_OMAP=y
CONFIG_IMAGE_SPARSE=y
CONFIG_MACH_AFI_GF=y
@@ -83,20 +67,16 @@ CONFIG_OMAP_GPMC=y
CONFIG_OMAP_MULTI_BOARDS=y
CONFIG_PINCTRL_SINGLE=y
CONFIG_PROMPT="barebox> "
-# CONFIG_REGULATOR is not set
# CONFIG_SPI_CADENCE_QUADSPI is not set
-# CONFIG_STATE is not set
CONFIG_THUMB2_BAREBOX=y
# CONFIG_TIMESTAMP is not set
CONFIG_TI_SYSC=y
CONFIG_USB_GADGET_FASTBOOT=y
# CONFIG_USB_GADGET_FASTBOOT_BUF is not set
CONFIG_USB_GADGET_FASTBOOT_SPARSE=y
-# CONFIG_USB_HOST is not set
CONFIG_USB_MUSB=y
CONFIG_USB_MUSB_AM335X=y
CONFIG_USB_MUSB_DSPS=y
CONFIG_USB_MUSB_GADGET=y
+CONFIG_USB_MUSB_HOST=y
CONFIG_WATCHDOG_OMAP=y
-# CONFIG_XZ_DECOMPRESS is not set
-# CONFIG_ZLIB is not set
--
2.20.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
next prev parent reply other threads:[~2019-06-04 20:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-04 20:44 [DistroKit] [PATCH 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 2/9] v7a: barebox-common: add a common reference config for all barebox variants Roland Hieber
2019-06-05 8:13 ` Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 3/9] v7a: platformconfig: configure barebox-common Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 4/9] v7a: bareboxes: use shared settings from the barebox-common package Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 5/9] v7a: bareboxes: use config diffs with the common reference config Roland Hieber
2019-06-04 20:44 ` Roland Hieber [this message]
2019-06-04 20:44 ` [DistroKit] [PATCH 7/9] v7a: barebox-mx6: slim down config diff Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 8/9] v7a: barebox-rpi2: " Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 9/9] v7a: barebox-vexpress: " Roland Hieber
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=20190604204432.23750-6-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=distrokit@pengutronix.de \
/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