ls2080aqds.c (a8c6fd4ec11a3bd9cfd3bdb6350686d497158d62) ls2080aqds.c (54ad7b5ab8ad4e5577e79f782582d1d0f79b4659)
1/*
2 * Copyright 2015 Freescale Semiconductor
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6#include <common.h>
7#include <malloc.h>
8#include <errno.h>

--- 5 unchanged lines hidden (view full) ---

14#include <libfdt.h>
15#include <fsl-mc/fsl_mc.h>
16#include <environment.h>
17#include <i2c.h>
18#include <rtc.h>
19#include <asm/arch/soc.h>
20#include <hwconfig.h>
21#include <fsl_sec.h>
1/*
2 * Copyright 2015 Freescale Semiconductor
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6#include <common.h>
7#include <malloc.h>
8#include <errno.h>

--- 5 unchanged lines hidden (view full) ---

14#include <libfdt.h>
15#include <fsl-mc/fsl_mc.h>
16#include <environment.h>
17#include <i2c.h>
18#include <rtc.h>
19#include <asm/arch/soc.h>
20#include <hwconfig.h>
21#include <fsl_sec.h>
22#include <asm/arch/ppa.h>
22
23
24
23#include "../common/qixis.h"
24#include "ls2080aqds_qixis.h"
25#include "../common/vid.h"
26
27#define PIN_MUX_SEL_SDHC 0x00
28#define PIN_MUX_SEL_DSPI 0x0a
29#define SCFG_QSPICLKCTRL_DIV_20 (5 << 27)
30

--- 188 unchanged lines hidden (view full) ---

219 FSL_QIXIS_BRDCFG9_QSPI);
220#endif
221
222#ifdef CONFIG_ENV_IS_NOWHERE
223 gd->env_addr = (ulong)&default_environment[0];
224#endif
225 select_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT);
226 rtc_enable_32khz_output();
25#include "../common/qixis.h"
26#include "ls2080aqds_qixis.h"
27#include "../common/vid.h"
28
29#define PIN_MUX_SEL_SDHC 0x00
30#define PIN_MUX_SEL_DSPI 0x0a
31#define SCFG_QSPICLKCTRL_DIV_20 (5 << 27)
32

--- 188 unchanged lines hidden (view full) ---

221 FSL_QIXIS_BRDCFG9_QSPI);
222#endif
223
224#ifdef CONFIG_ENV_IS_NOWHERE
225 gd->env_addr = (ulong)&default_environment[0];
226#endif
227 select_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT);
228 rtc_enable_32khz_output();
229
230#ifdef CONFIG_FSL_LS_PPA
231 ppa_init();
232#endif
233
227#ifdef CONFIG_FSL_CAAM
228 sec_init();
229#endif
230
231 return 0;
232}
233
234int board_early_init_f(void)

--- 118 unchanged lines hidden ---
234#ifdef CONFIG_FSL_CAAM
235 sec_init();
236#endif
237
238 return 0;
239}
240
241int board_early_init_f(void)

--- 118 unchanged lines hidden ---