diff options
author | Tom Rini <trini@konsulko.com> | 2018-04-18 13:50:47 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-04-27 14:54:48 -0400 |
commit | d024236e5a31a2b4b82cbcc98b31b8170fc88d28 (patch) | |
tree | ab4d96f1b0c5e3991b97708f72679a7af7234222 /board/engicam | |
parent | f1b1f77060beadbfe9f42a3be00019bd025afbd6 (diff) |
Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR
We have a large number of places where while we historically referenced
gd in the code we no longer do, as well as cases where the code added
that line "just in case" during development and never dropped it.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/engicam')
-rw-r--r-- | board/engicam/common/spl.c | 2 | ||||
-rw-r--r-- | board/engicam/imx6q/imx6q.c | 2 | ||||
-rw-r--r-- | board/engicam/imx6ul/imx6ul.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/board/engicam/common/spl.c b/board/engicam/common/spl.c index 6e2389dd4b..6d4f8c3426 100644 --- a/board/engicam/common/spl.c +++ b/board/engicam/common/spl.c @@ -23,8 +23,6 @@ #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/video.h> -DECLARE_GLOBAL_DATA_PTR; - #define UART_PAD_CTRL (PAD_CTL_PKE | PAD_CTL_PUE | \ PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_MED | \ PAD_CTL_DSE_40ohm | PAD_CTL_SRE_FAST | PAD_CTL_HYS) diff --git a/board/engicam/imx6q/imx6q.c b/board/engicam/imx6q/imx6q.c index fe37088b49..1c57358d16 100644 --- a/board/engicam/imx6q/imx6q.c +++ b/board/engicam/imx6q/imx6q.c @@ -22,8 +22,6 @@ #include "../common/board.h" -DECLARE_GLOBAL_DATA_PTR; - #ifdef CONFIG_NAND_MXS #define GPMI_PAD_CTRL0 (PAD_CTL_PKE | PAD_CTL_PUE | PAD_CTL_PUS_100K_UP) #define GPMI_PAD_CTRL1 (PAD_CTL_DSE_40ohm | PAD_CTL_SPEED_MED | \ diff --git a/board/engicam/imx6ul/imx6ul.c b/board/engicam/imx6ul/imx6ul.c index a903a3603b..26c6354c37 100644 --- a/board/engicam/imx6ul/imx6ul.c +++ b/board/engicam/imx6ul/imx6ul.c @@ -22,8 +22,6 @@ #include "../common/board.h" -DECLARE_GLOBAL_DATA_PTR; - #ifdef CONFIG_NAND_MXS #define GPMI_PAD_CTRL0 (PAD_CTL_PKE | PAD_CTL_PUE | PAD_CTL_PUS_100K_UP) |