mbox series

[v2,00/12] sunxi: arm64 binary size fixes

Message ID 20180116084424.17801-1-maxime.ripard@free-electrons.com
Headers show
Series sunxi: arm64 binary size fixes | expand

Message

Maxime Ripard Jan. 16, 2018, 8:44 a.m. UTC
Hi,

As we discussed already, this is the list of options that we will need
to disable by default.

I also added to the mix a size check, which even though it's not
really optimal, is temporary and will be removed in a future (and
hopefully close) release.

Tom, is this still something we can merge for 2018.01?

Thanks!
Maxime

Changes from v1:
  - Fixed a couple of nitpicks
  - Rebased on top of current master
  - Fixed a build error with boards using DFU

Andre Heider (1):
  sunxi: imply CONFIG_OF_LIBFDT_OVERLAY

Maxime Ripard (11):
  dfu: select HASH
  cmd: crc32: Disable by default on sunXi
  cmd: unzip: Disable by default on sunXi
  cmd: loadb: Disable by default on sunXi
  cmd: loads: Disable by default on sunXi
  cmd: misc: Disable by default on sunXi
  video: bpp8: Disable by default on sunXi
  video: bpp16: Disable by default on sunXi
  net: regex: Disable by default on sunXi
  Makefile: Add size check to the u-boot.itb make target
  sunxi: Add limit with the MMC environment

 Makefile                       |  1 +
 arch/arm/Kconfig               |  1 +
 cmd/Kconfig                    |  5 +++++
 configs/CHIP_defconfig         |  1 -
 configs/CHIP_pro_defconfig     |  1 -
 drivers/dfu/Kconfig            |  1 +
 drivers/video/Kconfig          |  2 ++
 include/configs/sunxi-common.h | 10 ++++++++++
 lib/Kconfig                    |  1 +
 9 files changed, 21 insertions(+), 2 deletions(-)

Comments

Jagan Teki Jan. 24, 2018, 4:42 p.m. UTC | #1
On Tue, Jan 16, 2018 at 2:14 PM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> Hi,
>
> As we discussed already, this is the list of options that we will need
> to disable by default.
>
> I also added to the mix a size check, which even though it's not
> really optimal, is temporary and will be removed in a future (and
> hopefully close) release.
>
> Tom, is this still something we can merge for 2018.01?
>
> Thanks!
> Maxime
>
> Changes from v1:
>   - Fixed a couple of nitpicks
>   - Rebased on top of current master
>   - Fixed a build error with boards using DFU
>
> Andre Heider (1):
>   sunxi: imply CONFIG_OF_LIBFDT_OVERLAY
>
> Maxime Ripard (11):
>   dfu: select HASH
>   cmd: crc32: Disable by default on sunXi
>   cmd: unzip: Disable by default on sunXi
>   cmd: loadb: Disable by default on sunXi
>   cmd: loads: Disable by default on sunXi
>   cmd: misc: Disable by default on sunXi
>   video: bpp8: Disable by default on sunXi
>   video: bpp16: Disable by default on sunXi
>   net: regex: Disable by default on sunXi
>   Makefile: Add size check to the u-boot.itb make target
>   sunxi: Add limit with the MMC environment

Reviewed-by: Jagan Teki <jagan@openedev.com>
Jagan Teki Jan. 26, 2018, 2:32 p.m. UTC | #2
On Wed, Jan 24, 2018 at 10:12 PM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> On Tue, Jan 16, 2018 at 2:14 PM, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
>> Hi,
>>
>> As we discussed already, this is the list of options that we will need
>> to disable by default.
>>
>> I also added to the mix a size check, which even though it's not
>> really optimal, is temporary and will be removed in a future (and
>> hopefully close) release.
>>
>> Tom, is this still something we can merge for 2018.01?
>>
>> Thanks!
>> Maxime
>>
>> Changes from v1:
>>   - Fixed a couple of nitpicks
>>   - Rebased on top of current master
>>   - Fixed a build error with boards using DFU
>>
>> Andre Heider (1):
>>   sunxi: imply CONFIG_OF_LIBFDT_OVERLAY
>>
>> Maxime Ripard (11):
>>   dfu: select HASH
>>   cmd: crc32: Disable by default on sunXi
>>   cmd: unzip: Disable by default on sunXi
>>   cmd: loadb: Disable by default on sunXi
>>   cmd: loads: Disable by default on sunXi
>>   cmd: misc: Disable by default on sunXi
>>   video: bpp8: Disable by default on sunXi
>>   video: bpp16: Disable by default on sunXi
>>   net: regex: Disable by default on sunXi
>>   Makefile: Add size check to the u-boot.itb make target
>>   sunxi: Add limit with the MMC environment
>
> Reviewed-by: Jagan Teki <jagan@openedev.com>

Applied to u-boot-sunxi/master, thanks!