Message ID | 1399306150-932-13-git-send-email-sjg@chromium.org |
---|---|
State | RFC |
Headers | show |
On 05/05/2014 10:09 AM, Simon Glass wrote:
> Enable driver model for Tegra boards.
I have no objection to this, but I'm curious if it brings any changes to
the binary size?
Hi Stephen, On 5 May 2014 10:58, Stephen Warren <swarren@wwwdotorg.org> wrote: > On 05/05/2014 10:09 AM, Simon Glass wrote: >> Enable driver model for Tegra boards. > > I have no objection to this, but I'm curious if it brings any changes to > the binary size? Yes, it depends on how much of driver model you use. Here are the results for this commit for trimslice (./tools/buildman/buildman -b us-gpio4 trimslice -sS) 13: tegra: Enable driver model arm: (for 1/1 boards) all +2863.0 bss +4.0 data +92.0 rodata +551.0 spl/u-boot-spl:all +8.0 spl/u-boot-spl:data +8.0 text +2216.0 Regards, Simon
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index ae786cf..3943249 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -19,6 +19,8 @@ #include <asm/arch/tegra.h> /* get chip and board defs */ +#define CONFIG_DM + #define CONFIG_SYS_TIMER_RATE 1000000 #define CONFIG_SYS_TIMER_COUNTER NV_PA_TMRUS_BASE
Enable driver model for Tegra boards. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v2: - Split out a separate patch to enable driver model for tegra include/configs/tegra-common.h | 2 ++ 1 file changed, 2 insertions(+)