lkml.org 
[lkml]   [2022]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] i2c: tegra: allow compiling out support for Tegra's special constrollers
On Sun, Jan 16, 2022 at 08:54:08PM +0300, Dmitry Osipenko wrote:
> 16.01.2022 19:02, Michał Mirosław пишет:
> > To patches that, combined, reduce I2C driver's code by ~2kB and a bit
> > from runtime overhead for non-Tegra20 or non-Tegra210 builds.
> >
> > Michał Mirosław (2):
> > i2c: tegra: allow DVC support to be compiled out
> > i2c: tegra: allow VI support to be compiled out
> >
> > drivers/i2c/busses/Kconfig | 16 ++++++++++++++++
> > drivers/i2c/busses/i2c-tegra.c | 35 +++++++++++++++++++++-------------
> > 2 files changed, 38 insertions(+), 13 deletions(-)
> >
>
> 2KB is a too small difference to justify the ifdefs and Kconfig entries,
> IMO.

Maybe I should have mentioned that it's ~20%? With my "embedded" hat on:
I think it might be small, but sometimes it is the difference between
bootable kernel or one too big.

Best Regards
Michał Mirosław

\
 
 \ /
  Last update: 2022-01-16 19:04    [W:1.538 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site