diff options
author | Semen Protsenko <semen.protsenko@linaro.org> | 2017-06-13 15:15:58 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-16 14:11:41 (GMT) |
commit | 19de2deb814a0e4eee0c8ada726a6f9cb698fe57 (patch) | |
tree | 355598833d1241707c107aca28177a00c03e062e | |
parent | 92100426cbf33c4e8afd8779a554726443a1ae34 (diff) | |
download | u-boot-19de2deb814a0e4eee0c8ada726a6f9cb698fe57.tar.xz |
arm: ti: Add missing guards to headers
To prevent possible double inclusions in future.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | include/environment/ti/dfu.h | 5 | ||||
-rw-r--r-- | include/environment/ti/mmc.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/environment/ti/dfu.h b/include/environment/ti/dfu.h index c9f61a5..c89005f 100644 --- a/include/environment/ti/dfu.h +++ b/include/environment/ti/dfu.h @@ -6,6 +6,9 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#ifndef __TI_DFU_H +#define __TI_DFU_H + #define DFU_ALT_INFO_MMC \ "dfu_alt_info_mmc=" \ "boot part 0 1;" \ @@ -75,3 +78,5 @@ "u-boot-env raw 0x1C0000 0x010000;" \ "u-boot-env.backup raw 0x1D0000 0x010000;" \ "kernel raw 0x1E0000 0x800000\0" + +#endif /* __TI_DFU_H */ diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h index b987f71..4305ebd 100644 --- a/include/environment/ti/mmc.h +++ b/include/environment/ti/mmc.h @@ -6,6 +6,9 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#ifndef __TI_MMC_H +#define __TI_MMC_H + #define DEFAULT_MMC_TI_ARGS \ "mmcdev=0\0" \ "mmcrootfstype=ext4 rootwait\0" \ @@ -66,3 +69,5 @@ "fi;" \ "fi;" \ "fi;\0" + +#endif /* __TI_MMC_H */ |