mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-10 03:07:16 +01:00
Merge "ipq5018: Enable mtest support"
This commit is contained in:
commit
4cd1329204
2 changed files with 9 additions and 4 deletions
|
|
@ -52,15 +52,15 @@
|
|||
gcnt_base = <0x4a1000>;
|
||||
gcnt_cntcv_lo = <0x4a2000>;
|
||||
gcnt_cntcv_hi = <0x4a2004>;
|
||||
gpt_freq_hz = <48000000>;
|
||||
gpt_freq_hz = <24000000>;
|
||||
timer_load_val = <0x00FFFFFF 0xFFFFFFFF>;
|
||||
};
|
||||
|
||||
spi {
|
||||
status = "ok";
|
||||
compatible = "qcom,spi-qup-v2.7.0";
|
||||
wr_pipe_0 = <12>;
|
||||
rd_pipe_0 = <13>;
|
||||
wr_pipe_0 = <4>;
|
||||
rd_pipe_0 = <5>;
|
||||
spi_gpio {};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ extern loff_t board_env_size;
|
|||
#define CONFIG_SPI_FLASH_USE_4K_SECTORS
|
||||
#define CONFIG_IPQ_4B_ADDR_SWITCH_REQD
|
||||
|
||||
#define CONFIG_QUP_SPI_USE_DMA 0
|
||||
#define CONFIG_QUP_SPI_USE_DMA 1
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_QCA_BAM 1
|
||||
/*
|
||||
|
|
@ -174,6 +174,11 @@ extern loff_t board_env_size;
|
|||
*/
|
||||
#define CONFIG_OF_LIBFDT 1
|
||||
|
||||
/* MTEST */
|
||||
#define CONFIG_CMD_MEMTEST
|
||||
#define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE + 0x1300000
|
||||
#define CONFIG_SYS_MEMTEST_END CONFIG_SYS_MEMTEST_START + 0x100
|
||||
|
||||
/* NSS firmware loaded using bootm */
|
||||
#define CONFIG_BOOTCOMMAND "bootm"
|
||||
#define CONFIG_BOOTARGS "console=ttyMSM0,115200n8"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue