mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 20:54:31 +00:00
4849d95407
Added support for K2G EVM with FlipChip SoC of which ARM/DDR3 runs at 1GHz/1066 MT/s. The patch is also backward compatible with old revision EVM and EVM with WireBond SoC. Their ARM/DDR3 run at 600MHz/800 MT/s. The new SoC supports 2 different speeds at 1GHz and 600MHz. Modyfied the CPU Name to show which SoC is used in the EVM. Modified the DDR3 configuration to reflect New SoC supports 2 different CPU and DDR3 speeds, 1GHz/1066MT and 600MHz/800MT. Added new inline function board_it_k2g_g1() for the new FlipChip 1GHz, and set the u-boot env variable board_name accordingly. Modified findfdt script in u-boot environment variable to include new k2g board type. Signed-off-by: Rex Chang <rchang@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
45 lines
798 B
C
45 lines
798 B
C
/*
|
|
* K2HK EVM : Board common header
|
|
*
|
|
* (C) Copyright 2014
|
|
* Texas Instruments Incorporated, <www.ti.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _KS2_BOARD
|
|
#define _KS2_BOARD
|
|
|
|
#include <asm/ti-common/keystone_net.h>
|
|
#include "../common/board_detect.h"
|
|
|
|
extern struct eth_priv_t eth_priv_cfg[];
|
|
|
|
#if defined(CONFIG_TI_I2C_BOARD_DETECT)
|
|
static inline int board_is_k2g_gp(void)
|
|
{
|
|
return board_ti_is("66AK2GGP");
|
|
}
|
|
static inline int board_is_k2g_g1(void)
|
|
{
|
|
return board_ti_is("66AK2GG1");
|
|
}
|
|
static inline int board_is_k2g_ice(void)
|
|
{
|
|
return board_ti_is("66AK2GIC");
|
|
}
|
|
#else
|
|
static inline int board_is_k2g_gp(void)
|
|
{
|
|
return false;
|
|
}
|
|
static inline int board_is_k2g_ice(void)
|
|
{
|
|
return false;
|
|
}
|
|
#endif
|
|
|
|
int get_num_eth_ports(void);
|
|
void spl_init_keystone_plls(void);
|
|
|
|
#endif
|