diff options
author | Marek Vasut <marex@denx.de> | 2015-07-25 09:09:11 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 12:14:07 (GMT) |
commit | 2d779b39b4e11c4db7a2796af76051e70a556c5f (patch) | |
tree | 3109aa74539f3a8303886bf876e919ef86eecd2f /include | |
parent | 40687b4f468c357d3821454099020949a10d759e (diff) | |
download | u-boot-2d779b39b4e11c4db7a2796af76051e70a556c5f.tar.xz |
arm: socfpga: system: Clean up pinmux_config.c
Implement new accessor, sysmgr_get_pinmux_table(), used to obtain pinmux
table and it's size from the QTS-generated pinmux_config.c. The target
here is again to get rid of poluting global namespace by including the
pinmux_config.h into it.
Furthermore, the pinmux_config.h declares some CONFIG_HPS_* macros,
which are explicitly useless to us in U-Boot. Instead, U-Boot does
use DT to detect exactly these configuration options. This patch
makes sure that while this QTS-generated file can stay in the tree,
these obscure macros do not ooze into the namespace anymore.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/socfpga_arria5.h | 1 | ||||
-rw-r--r-- | include/configs/socfpga_cyclone5.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/socfpga_arria5.h b/include/configs/socfpga_arria5.h index 3ef87b4..2d31df8 100644 --- a/include/configs/socfpga_arria5.h +++ b/include/configs/socfpga_arria5.h @@ -7,7 +7,6 @@ #define __CONFIG_SOCFPGA_ARRIA5_H__ #include <asm/arch/socfpga_base_addrs.h> -#include "../../board/altera/socfpga/qts/pinmux_config.h" /* U-Boot Commands */ #define CONFIG_SYS_NO_FLASH diff --git a/include/configs/socfpga_cyclone5.h b/include/configs/socfpga_cyclone5.h index dda411d..96d5412 100644 --- a/include/configs/socfpga_cyclone5.h +++ b/include/configs/socfpga_cyclone5.h @@ -7,7 +7,6 @@ #define __CONFIG_SOCFPGA_CYCLONE5_H__ #include <asm/arch/socfpga_base_addrs.h> -#include "../../board/altera/socfpga/qts/pinmux_config.h" /* U-Boot Commands */ #define CONFIG_SYS_NO_FLASH |