summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-10-01 07:53:15 -0400
committerTom Rini <trini@konsulko.com>2015-10-01 07:53:15 -0400
commit4bbc08f2ecdd16d38f933f202fb1a711fb30d880 (patch)
tree2f7c346e7aac598e6a5be862adc52573415d4e4d /include/configs
parent2959f936c57239aab38e4e5df92c5451a62f36d6 (diff)
parentaca5d0830aab91680c2ef44e9cb2999cbea19f2f (diff)
downloadtalos-obmc-uboot-4bbc08f2ecdd16d38f933f202fb1a711fb30d880.tar.gz
talos-obmc-uboot-4bbc08f2ecdd16d38f933f202fb1a711fb30d880.zip
Merge branch 'master' of git://git.denx.de/u-boot-atmel
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/at91-sama5_common.h8
-rw-r--r--include/configs/smartweb.h4
2 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h
index 3d6b0ae0c3..a5990cec03 100644
--- a/include/configs/at91-sama5_common.h
+++ b/include/configs/at91-sama5_common.h
@@ -53,6 +53,13 @@
#define CONFIG_CMD_DHCP
#ifdef CONFIG_SYS_USE_MMC
+
+#ifdef CONFIG_ENV_IS_IN_MMC
+/* Use raw reserved sectors to save environment */
+#define CONFIG_ENV_OFFSET 0x2000
+#define CONFIG_ENV_SIZE 0x1000
+#define CONFIG_SYS_MMC_ENV_DEV 0
+#else
/* u-boot env in sd/mmc card */
#define CONFIG_ENV_IS_IN_FAT
#define CONFIG_FAT_WRITE
@@ -60,6 +67,7 @@
#define FAT_ENV_DEVICE_AND_PART "0"
#define FAT_ENV_FILE "uboot.env"
#define CONFIG_ENV_SIZE 0x4000
+#endif
#define CONFIG_BOOTCOMMAND "if test ! -n ${dtb_name}; then " \
"setenv dtb_name at91-${board_name}.dtb; " \
diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h
index d189c3fde9..e11c016aed 100644
--- a/include/configs/smartweb.h
+++ b/include/configs/smartweb.h
@@ -117,6 +117,9 @@
*
*/
#define CONFIG_MACB
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_MCS7830
#define CONFIG_RMII /* use reduced MII inteface */
#define CONFIG_NET_RETRY_COUNT 20 /* # of DHCP/BOOTP retries */
#define CONFIG_AT91_WANTS_COMMON_PHY
@@ -182,6 +185,7 @@
/* General Boot Parameter */
#define CONFIG_BOOTDELAY 3
#define CONFIG_BOOTCOMMAND "run flashboot"
+#define CONFIG_BOOT_RETRY_TIME 30
#define CONFIG_SYS_CBSIZE 512
#define CONFIG_SYS_MAXARGS 16
#define CONFIG_SYS_PBSIZE \
OpenPOWER on IntegriCloud