[U-Boot] [PATCH 1/2] arm: ls102xa: Add dummy gpio.h to enable CONFIG_OF_CONTROL
Masahiro Yamada
yamada.m at jp.panasonic.com
Wed Dec 10 08:50:29 CET 2014
On Wed, 10 Dec 2014 11:47:03 +0530
Ruchika Gupta <ruchika.gupta at freescale.com> wrote:
> If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled.
> It includes <asm/gpio.h> and then <asm/gpio.h> includes
> <asm/arch/gpio.h>. As a result, all the SoCs that enable
> CONFIG_OF_CONTROL must have <asm/arch/gpio.h> even if they
> do not support GPIO.
>
> The right fix would be to split the lib/fdtdec.c to remove
> dependency on GPIO.This commit adds a dummy <asm/arch/gpio.h>
> to support OF_CONTROL for LS102x platform. This dummy header
> will be removed after FDT-GPIO stuff is fixed correctly.
>
> Signed-off-by: Ruchika Gupta <ruchika.gupta at freescale.com>
> ---
Oh, you too.
(I assume you saw my commit 630bf80ebb34.)
When I try to do something on my board,
I pretty often encounter awful code.
To fix that crap, I have to fix other crap first,
which requires me to fix other crap in advance...
My plate gets filled with a bunch of issues soon.
I am getting sick of this project.
Best Regards
Masahiro Yamada
More information about the U-Boot
mailing list