summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-03-10 13:12:21 -0400
committerTom Rini <trini@konsulko.com>2020-03-10 13:12:21 -0400
commitb62cd976543ae1b90050346c870d8357d749fe2d (patch)
treebbfd3ea47f94b4b4fc8af5bd7ef243835f4642ff /include
parentdd12b2f632fa32d154dfb338419b987a99071862 (diff)
parentdf1cf775ffa0ae770931f5911c1dc99a9545c3cd (diff)
Merge tag 'u-boot-atmel-fixes-2020.04-a' of https://gitlab.denx.de/u-boot/custodians/u-boot-atmel
First set of u-boot-atmel fixes for 2020.04 cycle: - Includes two small configuration fixes that will solve the SPL booting on sama5d3_xplained board.
Diffstat (limited to 'include')
-rw-r--r--include/configs/sama5d3_xplained.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h
index 696933da73..42c14007c0 100644
--- a/include/configs/sama5d3_xplained.h
+++ b/include/configs/sama5d3_xplained.h
@@ -9,6 +9,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H
+#include <linux/sizes.h>
#include "at91-sama5_common.h"
/*
@@ -64,7 +65,8 @@
#define CONFIG_SYS_SPL_MALLOC_START 0x20080000
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x80000
-#define CONFIG_SYS_MONITOR_LEN (512 << 10)
+/* size of u-boot.bin to load */
+#define CONFIG_SYS_MONITOR_LEN (2 * SZ_512K)
#ifdef CONFIG_SD_BOOT
#define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1