target: socfpga: Add Altera SoCFPGA support
[openwrt/svn-archive/openwrt.git] / package / boot / uboot-socfpga / patches / 0001-arm-socfpga-Drop-space-after-loadaddr-in-extra-env.patch
1 From 04a4c90fee75c95130af1e40880c0927d56b0b61 Mon Sep 17 00:00:00 2001
2 From: Marek Vasut <marex@denx.de>
3 Date: Sun, 3 Apr 2016 19:11:12 +0200
4 Subject: [PATCH 1/2] arm: socfpga: Drop space after 'loadaddr=' in extra env
5
6 There is an incorrect space after loadaddr= in the extra environment,
7 so drop it.
8
9 Signed-off-by: Marek Vasut <marex@denx.de>
10 Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
11 Cc: Chin Liang See <clsee@altera.com>
12 ---
13 include/configs/socfpga_arria5_socdk.h | 2 +-
14 include/configs/socfpga_cyclone5_socdk.h | 2 +-
15 include/configs/socfpga_de0_nano_soc.h | 2 +-
16 include/configs/socfpga_sockit.h | 2 +-
17 include/configs/socfpga_socrates.h | 2 +-
18 include/configs/socfpga_sr1500.h | 2 +-
19 6 files changed, 6 insertions(+), 6 deletions(-)
20
21 diff --git a/include/configs/socfpga_arria5_socdk.h b/include/configs/socfpga_arria5_socdk.h
22 index a0161bc..153f9f8 100644
23 --- a/include/configs/socfpga_arria5_socdk.h
24 +++ b/include/configs/socfpga_arria5_socdk.h
25 @@ -56,7 +56,7 @@
26 /* Extra Environment */
27 #define CONFIG_EXTRA_ENV_SETTINGS \
28 "verify=n\0" \
29 - "loadaddr= " __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
30 + "loadaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
31 "ramboot=setenv bootargs " CONFIG_BOOTARGS ";" \
32 "bootm ${loadaddr} - ${fdt_addr}\0" \
33 "bootimage=zImage\0" \
34 diff --git a/include/configs/socfpga_cyclone5_socdk.h b/include/configs/socfpga_cyclone5_socdk.h
35 index c4c4ecb..d7c339e 100644
36 --- a/include/configs/socfpga_cyclone5_socdk.h
37 +++ b/include/configs/socfpga_cyclone5_socdk.h
38 @@ -56,7 +56,7 @@
39 /* Extra Environment */
40 #define CONFIG_EXTRA_ENV_SETTINGS \
41 "verify=n\0" \
42 - "loadaddr= " __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
43 + "loadaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
44 "ramboot=setenv bootargs " CONFIG_BOOTARGS ";" \
45 "bootm ${loadaddr} - ${fdt_addr}\0" \
46 "bootimage=zImage\0" \
47 diff --git a/include/configs/socfpga_de0_nano_soc.h b/include/configs/socfpga_de0_nano_soc.h
48 index cbc7396..314b9bf 100644
49 --- a/include/configs/socfpga_de0_nano_soc.h
50 +++ b/include/configs/socfpga_de0_nano_soc.h
51 @@ -51,7 +51,7 @@
52
53 /* Extra Environment */
54 #define CONFIG_EXTRA_ENV_SETTINGS \
55 - "loadaddr= " __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
56 + "loadaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
57 "ramboot=setenv bootargs " CONFIG_BOOTARGS ";" \
58 "bootm ${loadaddr} - ${fdt_addr}\0" \
59 "bootimage=zImage\0" \
60 diff --git a/include/configs/socfpga_sockit.h b/include/configs/socfpga_sockit.h
61 index 95e7ba6..07cfcbf 100644
62 --- a/include/configs/socfpga_sockit.h
63 +++ b/include/configs/socfpga_sockit.h
64 @@ -52,7 +52,7 @@
65 /* Extra Environment */
66 #define CONFIG_EXTRA_ENV_SETTINGS \
67 "verify=n\0" \
68 - "loadaddr= " __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
69 + "loadaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
70 "ramboot=setenv bootargs " CONFIG_BOOTARGS ";" \
71 "bootm ${loadaddr} - ${fdt_addr}\0" \
72 "bootimage=zImage\0" \
73 diff --git a/include/configs/socfpga_socrates.h b/include/configs/socfpga_socrates.h
74 index c32a40a..02ea0c5 100644
75 --- a/include/configs/socfpga_socrates.h
76 +++ b/include/configs/socfpga_socrates.h
77 @@ -52,7 +52,7 @@
78 /* Extra Environment */
79 #define CONFIG_EXTRA_ENV_SETTINGS \
80 "verify=n\0" \
81 - "loadaddr= " __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
82 + "loadaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
83 "ramboot=setenv bootargs " CONFIG_BOOTARGS ";" \
84 "bootm ${loadaddr} - ${fdt_addr}\0" \
85 "bootimage=zImage\0" \
86 diff --git a/include/configs/socfpga_sr1500.h b/include/configs/socfpga_sr1500.h
87 index 6414eeb..e43b5cf 100644
88 --- a/include/configs/socfpga_sr1500.h
89 +++ b/include/configs/socfpga_sr1500.h
90 @@ -55,7 +55,7 @@
91
92 #define CONFIG_EXTRA_ENV_SETTINGS \
93 "verify=n\0" \
94 - "loadaddr= " __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
95 + "loadaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
96 "ramboot=setenv bootargs " CONFIG_BOOTARGS ";" \
97 "bootm ${loadaddr} - ${fdt_addr}\0" \
98 "bootimage=zImage\0" \
99 --
100 2.8.0.rc3
101