ipq807x: Enable crashdump support

Change-Id: Ie404c042c6222c12f25632078b3db96af2522fc7
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
This commit is contained in:
Ajay Kishore 2016-09-28 11:53:59 +05:30
parent 3491df2edd
commit 55ae0d19fb
2 changed files with 20 additions and 0 deletions

View file

@ -31,6 +31,11 @@ const char *del_node[] = {"uboot",
"sbl"};
const add_node_t add_node[] = {};
struct dumpinfo_t dumpinfo[] = {
{ "EBICS0.BIN", 0x40000000, 0x10000000, 0 },
};
int dump_entries = ARRAY_SIZE(dumpinfo);
void qca_serial_init(struct ipq_serial_platdata *plat)
{
writel(1, GCC_BLSP1_UART1_APPS_CBCR);

View file

@ -223,6 +223,21 @@ extern loff_t board_env_offset;
#define CONFIG_CMD_PCI
#define CONFIG_PCI_SCAN_SHOW
#endif
/*
* CRASH DUMP ENABLE
*/
#define CONFIG_QCA_APPSBL_DLOAD 0
#ifdef CONFIG_QCA_APPSBL_DLOAD
#define CONFIG_CMD_TFTPPUT
/* We will be uploading very big files */
#undef CONFIG_NET_RETRY_COUNT
#define CONFIG_NET_RETRY_COUNT 500
#endif
/* L1 cache line size is 64 bytes, L2 cache line size is 128 bytes
* Cache flush and invalidation based on L1 cache, so the cache line
* size is configured to 64 */