|
Lines 1-6
Link Here
|
| 1 |
--- include/configs/am335x_evm.h.orig 2014-10-14 08:47:15 UTC |
1 |
--- include/configs/am335x_evm.h.orig 2014-10-14 10:47:15.000000000 +0200 |
| 2 |
+++ include/configs/am335x_evm.h |
2 |
+++ include/configs/am335x_evm.h 2015-07-07 16:16:40.470053553 +0200 |
| 3 |
@@ -479,4 +479,79 @@ |
3 |
@@ -479,4 +479,80 @@ |
| 4 |
#endif |
4 |
#endif |
| 5 |
#endif /* NOR support */ |
5 |
#endif /* NOR support */ |
| 6 |
|
6 |
|
|
Lines 28-34
Link Here
|
| 28 |
+#define CONFIG_ENV_IS_IN_FAT |
28 |
+#define CONFIG_ENV_IS_IN_FAT |
| 29 |
+#define CONFIG_FAT_WRITE |
29 |
+#define CONFIG_FAT_WRITE |
| 30 |
+#define FAT_ENV_INTERFACE "mmc" |
30 |
+#define FAT_ENV_INTERFACE "mmc" |
| 31 |
+#define FAT_ENV_DEVICE_AND_PART "0" |
31 |
+#define FAT_ENV_DEVICE_AND_PART "" |
| 32 |
+#define FAT_ENV_FILE "u-boot.env" |
32 |
+#define FAT_ENV_FILE "u-boot.env" |
| 33 |
+#endif |
33 |
+#endif |
| 34 |
+ |
34 |
+ |
|
Lines 36-42
Link Here
|
| 36 |
+#ifndef CONFIG_SPL_BUILD |
36 |
+#ifndef CONFIG_SPL_BUILD |
| 37 |
+#undef CONFIG_EXTRA_ENV_SETTINGS |
37 |
+#undef CONFIG_EXTRA_ENV_SETTINGS |
| 38 |
+#define CONFIG_EXTRA_ENV_SETTINGS \ |
38 |
+#define CONFIG_EXTRA_ENV_SETTINGS \ |
| 39 |
+ "loadaddr=88000000\0" \ |
39 |
+ "bootdevice=0\0" \ |
|
|
40 |
+ "loadaddr=88000000\0" \ |
| 40 |
+ "Fatboot=" \ |
41 |
+ "Fatboot=" \ |
| 41 |
+ "env exists loaderdev || env set loaderdev ${fatdev}; " \ |
42 |
+ "env exists loaderdev || env set loaderdev ${fatdev}; " \ |
| 42 |
+ "env exists UserFatboot && run UserFatboot; " \ |
43 |
+ "env exists UserFatboot && run UserFatboot; " \ |
|
Lines 50-56
Link Here
|
| 50 |
+ "\0" \ |
51 |
+ "\0" \ |
| 51 |
+ "Preboot=" \ |
52 |
+ "Preboot=" \ |
| 52 |
+ "env exists bootfile || bootfile=ubldr; " \ |
53 |
+ "env exists bootfile || bootfile=ubldr; " \ |
| 53 |
+ "env exists uenv_file || uenv_file=uEnv.txt; " \ |
54 |
+ "env exists uenv_file || uenv_file=u-boot.env; " \ |
| 54 |
+ "env exists SetupFdtfile && run SetupFdtfile; " \ |
55 |
+ "env exists SetupFdtfile && run SetupFdtfile; " \ |
| 55 |
+ "env exists SetupFatdev && run SetupFatdev; " \ |
56 |
+ "env exists SetupFatdev && run SetupFatdev; " \ |
| 56 |
+ "env exists SetupUenv && run SetupUenv; " \ |
57 |
+ "env exists SetupUenv && run SetupUenv; " \ |