Commit cfb8e87a8e0997a2baecfa7f0cbe10fb9fa8e62e
Committed by
Stefano Babic
1 parent
ae3509dc32
Exists in
master
and in
53 other branches
arm: mx5: Add SPL support code to MX5
Fix minor adjustments needed to get SPL framework building on MX5. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Tom Rini <trini@ti.com>
Showing 2 changed files with 23 additions and 0 deletions Side-by-side Diff
arch/arm/include/asm/arch-mx5/spl.h
1 | +/* | |
2 | + * Copyright (C) 2013 Marek Vasut <marex@denx.de> | |
3 | + * | |
4 | + * See file CREDITS for list of people who contributed to this | |
5 | + * project. | |
6 | + * | |
7 | + * This program is free software; you can redistribute it and/or | |
8 | + * modify it under the terms of the GNU General Public License as | |
9 | + * published by the Free Software Foundation; either version 2 of | |
10 | + * the License, or (at your option) any later version. | |
11 | + */ | |
12 | + | |
13 | +#ifndef __ASM_ARCH_SPL_H__ | |
14 | +#define __ASM_ARCH_SPL_H__ | |
15 | + | |
16 | +#define BOOT_DEVICE_NONE 0 | |
17 | +#define BOOT_DEVICE_NAND 1 | |
18 | + | |
19 | +#endif /* __ASM_ARCH_SPL_H__ */ |
spl/Makefile
... | ... | @@ -88,6 +88,10 @@ |
88 | 88 | LIBS-y += $(CPUDIR)/omap-common/libomap-common.o |
89 | 89 | endif |
90 | 90 | |
91 | +ifneq (,$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35)) | |
92 | +LIBS-y += arch/$(ARCH)/imx-common/libimx-common.o | |
93 | +endif | |
94 | + | |
91 | 95 | ifneq ($(CONFIG_TEGRA),) |
92 | 96 | LIBS-y += arch/$(ARCH)/cpu/$(SOC)-common/lib$(SOC)-common.o |
93 | 97 | LIBS-y += arch/$(ARCH)/cpu/tegra-common/libcputegra-common.o |