Skip to content

Commit

Permalink
board: sama5d3_xplained: Fix uboot size when load from NAND by SPL
Browse files Browse the repository at this point in the history
Signed-off-by: Fabien Lehoussel <[email protected]>
  • Loading branch information
FabienLehoussel committed Feb 24, 2020
1 parent a1986a8 commit b4654dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/configs/sama5d3_xplained.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H

#include <linux/sizes.h>
#include "at91-sama5_common.h"

/*
Expand Down Expand Up @@ -59,13 +60,14 @@

/* SPL */
#define CONFIG_SPL_TEXT_BASE 0x300000
#define CONFIG_SPL_MAX_SIZE 0x18000
#define CONFIG_SPL_MAX_SIZE 0x18000
#define CONFIG_SPL_BSS_START_ADDR 0x20000000
#define CONFIG_SPL_BSS_MAX_SIZE 0x80000
#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
Expand Down

0 comments on commit b4654dc

Please sign in to comment.