diff options
author | Ji Luo <ji.luo@nxp.com> | 2019-06-17 20:27:40 +0800 |
---|---|---|
committer | Ji Luo <ji.luo@nxp.com> | 2019-06-19 09:28:02 +0800 |
commit | ebfe2933f9ca2c31252b5e57b6f951208a6b47a9 (patch) | |
tree | c8234e8408cd790db33845719cfe9e615d1edff9 /common | |
parent | b9310b6ef2cf8c536126dd3867e9aa2b13bab81b (diff) |
MA-14989-1 Add 2GB ddr support for AIY
Add support for AIY 2GB DDR size. Wrap support for
3GB DDR board with CONFIG_AIY_LPDDR4_3G because of
the limited ocram size.
Test: build and boot on 2GB AIY board.
Change-Id: I04da60cc0d0b22c6c32ff705bcab4095068ba6ea
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/spl_fit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index 80e784ac5c..4e294015e5 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -162,13 +162,12 @@ static int get_aligned_image_size(struct spl_load_info *info, int data_size, return (data_size + info->bl_len - 1) / info->bl_len; } -#if defined(CONFIG_DUAL_BOOTLOADER) && defined(CONFIG_IMX_TRUSTY_OS) +#ifdef CONFIG_IMX_TRUSTY_OS __weak int get_tee_load(ulong *load) { /* default return ok */ return 0; } - #endif /** @@ -220,7 +219,7 @@ static int spl_load_fit_image(struct spl_load_info *info, ulong sector, if (fit_image_get_load(fit, node, &load_addr)) load_addr = image_info->load_addr; -#if defined(CONFIG_DUAL_BOOTLOADER) && defined(CONFIG_IMX_TRUSTY_OS) +#ifdef CONFIG_IMX_TRUSTY_OS char *desc = NULL; if (fit_get_desc(fit, node, &desc)) { |