This is supposed to be a build-system flag. Move it there so we can define it before linux/kconfig.h is included. Signed-off-by: Simon Glass <sjg@chromium.org>
@@ -91,7 +91,7 @@ $(PLUGIN).bin:
endif
quiet_cmd_cpp_cfg = CFGS $@
- cmd_cpp_cfg = $(CPP) $(cpp_flags) -x c -o $@ $<
+ cmd_cpp_cfg = $(CPP) $(cpp_flags) -D__ASSEMBLY__ -x c -o $@ $<
# mkimage source config file
IMX_CONFIG = $(CONFIG_IMX_CONFIG:"%"=%)
@@ -3,7 +3,6 @@
* Copyright 2019 NXP
*/
-#define __ASSEMBLY__
FIT
BOOT_FROM sd
ROM_VERSION v2
* Copyright 2018-2021 NXP
* Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/
#include <config.h>
IMAGE_VERSION 2
* Copyright 2018 NXP
/* Boot from SD, sector size 0x400 */
BOOT_FROM SD 0x400
@@ -21,7 +21,6 @@ IMAGE_VERSION 2
BOOT_FROM spi
#ifdef CONFIG_IMX_HAB
CSF CONFIG_CSF_SIZE
* Copyright 2021 NXP
LOADER u-boot-spl-ddr.bin 0x7E1000
@@ -17,7 +17,6 @@ IMAGE_VERSION 2
LOADER u-boot-spl-ddr.bin 0x7e1000
@@ -9,7 +9,6 @@
* The syntax is taken as close as possible with the kwbimage
/* image version */
/* This file is to create a container image could be loaded by SPL */
@@ -6,7 +6,6 @@
* and create imx8image boot image
@@ -4,7 +4,6 @@
* Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
@@ -7,7 +7,6 @@
*
@@ -8,7 +8,6 @@
* Copyright (C) 2014 Freescale Semiconductor, Inc.
* Copyright 2021 Gateworks Corporation
@@ -13,7 +13,6 @@
#include "asm/arch/mx6-ddr.h"
#include "asm/arch/iomux.h"
* Copyright (C) 2019 Kontron Electronics GmbH
@@ -2,7 +2,6 @@
// Copyright (C) 2016 Freescale Semiconductor, Inc.
// Copyright (C) 2021 Oleh Kravchenko <oleg@kaa.org.ua>
* Copyright 2021 Phytec Messtechnik GmbH
LOADER mkimage.flash.mkimage 0x7E1000
* Copyright (C) 2017-2019 softing automotive electronics gmbH
* Copyright (C) 2017 Soeren Moch <smoch@web.de>
#include "asm/arch/crm_regs.h"
BOOT_FROM EMMC_FASTBOOT 0x400
* Copyright 2020-2021 Toradex
BOOT_FROM emmc_fastboot
@@ -3,8 +3,6 @@
* Copyright 2022 Toradex
-
LOADER u-boot-spl-ddr.bin 0x920000
@@ -11,7 +11,6 @@
/*
* Copyright 2021 Collabora Ltd.
LOADER u-boot-spl-ddr.bin 0x912000