Skip to content

arm64: imx93-chargebyte_defconfig: Drop unnecessary features#31

Open
lategoodbye wants to merge 1 commit into
v6.12.34-2.1.0-phy-cbfrom
v6.12.34-2.1.0-phy-cb-defconfig
Open

arm64: imx93-chargebyte_defconfig: Drop unnecessary features#31
lategoodbye wants to merge 1 commit into
v6.12.34-2.1.0-phy-cbfrom
v6.12.34-2.1.0-phy-cb-defconfig

Conversation

@lategoodbye

@lategoodbye lategoodbye commented Jun 26, 2026

Copy link
Copy Markdown
Member

Drop list:

CONFIG_BTRFS_FS (needs 9 MB space)
CONFIG_CORESIGHT
CONFIG_NETWORK_FILESYSTEMS (NFS, 9P)
CONFIG_CHROME_PLATFORMS
CONFIG_SLIMBUS
unused Ethernet PHYs, DMA, regulator, I2C, SPI, MMC, MFD, crypto,
USB, watchdog, sensors
all charger & battery driver
unused GPUs (i.MX93 doesn't have a GPU)

This saves 3 MB (kernel core) + ~ 14 MB (kernel modules). This should also speed up kernel built time.

Boot test on Charge Control V

The plain and more valueable diff is here:
config.patch

Drop list:

  CONFIG_BTRFS_FS (needs 9 MB space)
  CONFIG_CORESIGHT
  CONFIG_NETWORK_FILESYSTEMS (NFS, 9P)
  CONFIG_CHROME_PLATFORMS
  CONFIG_SLIMBUS
  unused Ethernet PHYs, DMA, regulator, I2C, SPI, MMC, MFD, crypto,
    USB, watchdog, sensors
  all charger & battery driver
  unused GPUs (i.MX93 doesn't have a GPU)

This saves 3 MB (kernel core) + ~ 14 MB (kernel modules).

Signed-off-by: Stefan Wahren <stefan.wahren@chargebyte.com>
@lategoodbye lategoodbye requested review from barsnick and mhei June 26, 2026 10:24

@barsnick barsnick left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants