Re: [PATCH 1/3] configs: rzg2_beacon: Disable the ability to remove devices
On Thu, Oct 26, 2023 at 8:44 PM Marek Vasut wrote: > > On 10/26/23 01:13, Adam Ford wrote: > > In order to save some space, disable the ability to dynamically > > remove devices. Without this, U-Boot is too large to load without > > recompiling TF-A. > > Did you enable LTO yet ? Yes. > > Striping DM_REMOVE seems like a really bad idea, doesn't that break 'usb > reset' and its removal of devices ? I did not, but we can drop this one, and I'll just have to re-compile TF-A to load a larger U-Boot. adam
Re: [PATCH 1/3] configs: rzg2_beacon: Disable the ability to remove devices
On 10/26/23 01:13, Adam Ford wrote: In order to save some space, disable the ability to dynamically remove devices. Without this, U-Boot is too large to load without recompiling TF-A. Did you enable LTO yet ? Striping DM_REMOVE seems like a really bad idea, doesn't that break 'usb reset' and its removal of devices ?
[PATCH 1/3] configs: rzg2_beacon: Disable the ability to remove devices
In order to save some space, disable the ability to dynamically remove devices. Without this, U-Boot is too large to load without recompiling TF-A. Signed-off-by: Adam Ford diff --git a/configs/rzg2_beacon_defconfig b/configs/rzg2_beacon_defconfig index 73abe966b8..7b14d225b5 100644 --- a/configs/rzg2_beacon_defconfig +++ b/configs/rzg2_beacon_defconfig @@ -48,6 +48,7 @@ CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_MMC_ENV_PART=2 CONFIG_VERSION_VARIABLE=y +# CONFIG_DM_DEVICE_REMOVE is not set CONFIG_REGMAP=y CONFIG_SYSCON=y CONFIG_CLK=y -- 2.40.1