mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 10:18:38 +00:00
3bd5ea566e
T4240RDB supports booting from 2 nor banks(default and altbank). The corresponding defconfig can only have one entry defined and therefore, extend cs4340_get_fw_addr() function to overwrite firmware address which will be later used in cortina firmware. Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
20 lines
467 B
C
20 lines
467 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2014 Freescale Semiconductor, Inc.
|
|
*/
|
|
|
|
#ifndef __T4RDB_H__
|
|
#define __T4RDB_H__
|
|
|
|
#undef CONFIG_SYS_NUM_FM1_DTSEC
|
|
#undef CONFIG_SYS_NUM_FM2_DTSEC
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 4
|
|
#define CONFIG_SYS_NUM_FM2_DTSEC 4
|
|
|
|
#define CORTINA_FW_ADDR_IFCNOR 0xefe00000
|
|
#define CORTINA_FW_ADDR_IFCNOR_ALTBANK 0xebf00000
|
|
|
|
void fdt_fixup_board_enet(void *blob);
|
|
void pci_of_setup(void *blob, struct bd_info *bd);
|
|
|
|
#endif
|