summaryrefslogtreecommitdiff
path: root/board/siemens/common/factoryset.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2020-01-07 16:37:42 +0100
committerStefano Babic <sbabic@denx.de>2020-01-14 22:15:21 +0100
commit7b5b9343139f934f1ce876e9466c065f20c8265c (patch)
tree4c6636057130713042fb73191aebf4ce5104a07e /board/siemens/common/factoryset.c
parent88366b96ee0d8640b2af53e4026dbaeed0fab5e0 (diff)
downloadu-boot-7b5b9343139f934f1ce876e9466c065f20c8265c.tar.gz
imx: add imx8x capricorn giedi board
Add support for i.MX8X based Capricorn Giedi SoM. Supported interfaces: GPIO, ENET, eMMC, I2C, UART. Console output: U-Boot SPL 2020.01-00003-gfd1c98f (Jan 07 2020 - 15:51:25 +0100) Trying to boot from MMC1 Load image from MMC/SD 0x3e400 U-Boot 2020.01-00003-gfd1c98f (Jan 07 2020 - 15:51:25 +0100) ##v01.07 CPU: NXP i.MX8QXP RevB A35 at 1200 MHz at 30C Model: Siemens Giedi Board: Capricorn Boot: MMC0 DRAM: 1022 MiB MMC: FSL_SDHC: 0 Loading Environment from MMC... OK In: serial@5a080000 Out: serial@5a080000 Err: serial@5a080000 Net: eth1: ethernet@5b050000 [PRIME] Autobooting in 1 seconds, press "<Esc><Esc>" to stop Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'board/siemens/common/factoryset.c')
-rw-r--r--board/siemens/common/factoryset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/siemens/common/factoryset.c b/board/siemens/common/factoryset.c
index 7715ddf307..0d3701c03c 100644
--- a/board/siemens/common/factoryset.c
+++ b/board/siemens/common/factoryset.c
@@ -13,7 +13,9 @@
#include <env_internal.h>
#include <i2c.h>
#include <asm/io.h>
+#if !CONFIG_IS_ENABLED(TARGET_GIEDI) && !CONFIG_IS_ENABLED(TARGET_DENEB)
#include <asm/arch/cpu.h>
+#endif
#include <asm/arch/sys_proto.h>
#include <asm/unaligned.h>
#include <net.h>