Merge patch series "board: BuS: Remove duplicate newlines"

Drop all duplicate newlines from the board directory files.
This commit is contained in:
Tom Rini 2024-07-22 10:52:36 -06:00
commit 9b186f68af
103 changed files with 0 additions and 138 deletions

View File

@ -181,5 +181,4 @@ void __led_set(led_id_t mask, int state)
/*---------------------------------------------------------------------------*/
/* EOF EB+MCF-EV123.c */

View File

@ -59,7 +59,6 @@ struct efi_capsule_update_info update_info = {
#endif /* EFI_HAVE_CAPSULE_SUPPORT */
int board_early_init_f(void)
{
init_uart_clk(2);

View File

@ -691,5 +691,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004100,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -80,5 +80,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 2
#define CFG_HPS_ALTERAGRP_DBGATCLK 3
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -655,5 +655,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004100,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -80,5 +80,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 4
#define CFG_HPS_ALTERAGRP_DBGATCLK 4
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -655,5 +655,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004000,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -80,5 +80,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 3
#define CFG_HPS_ALTERAGRP_DBGATCLK 3
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -109,7 +109,6 @@ static void xr3pci_setup_atr(void)
XR3_PCI_MEMSPACE64_SIZE,
XR3PCI_ATR_TRSLID_AXIMEMORY);
/* setup CPU to PCIe address translation table */
base = XR3_CONFIG_BASE + XR3PCI_ATR_AXI4_SLV0;

View File

@ -23,7 +23,6 @@ DECLARE_GLOBAL_DATA_PTR;
* (Print information about the board to stdout.)
*/
#if defined(CONFIG_XTFPGA_LX60)
const char *board = "XT_AV60";
const char *description = "Avnet Xilinx LX60 FPGA Evaluation Board / ";

View File

@ -61,7 +61,6 @@ Done:
return;
}
unsigned long flash_init(void)
{
int i, j;
@ -112,7 +111,6 @@ unsigned long flash_init(void)
return size;
}
#define CMD_READ_ARRAY 0x00F0
#define CMD_UNLOCK1 0x00AA
#define CMD_UNLOCK2 0x0055
@ -133,7 +131,6 @@ unsigned long flash_init(void)
#define ERR 2
#define TMO 4
int flash_erase(flash_info_t *info, int s_first, int s_last)
{
ulong result;
@ -267,7 +264,6 @@ static int write_word(flash_info_t *info, ulong dest, ulong data)
if ((result & data) != data)
return ERR_NOT_ERASED;
/*
* Disable interrupts which might cause a timeout
* here. Remember that our exception vectors are
@ -317,7 +313,6 @@ static int write_word(flash_info_t *info, ulong dest, ulong data)
return rc;
}
int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt)
{
ulong wp, data;

View File

@ -252,7 +252,6 @@ I2C_PADS(i2c2_pads,
PAD_GPIO_6__GPIO1_IO06 | MUX_PAD_CTRL(I2C_PAD_CTRL),
IMX_GPIO_NR(1, 6));
static int cm_fx6_setup_one_i2c(int busnum, struct i2c_pads_info *pads)
{
int ret;

View File

@ -31,6 +31,5 @@
#define CM_FX6_SATA_NRSTDLY IMX_GPIO_NR(6, 6)
#define CM_FX6_SATA_PWLOSS_INT IMX_GPIO_NR(6, 31)
void cm_fx6_set_usdhc_iomux(void);
void cm_fx6_set_ecspi_iomux(void);

View File

@ -371,7 +371,6 @@ void detail_board_ddr_info(void)
puts("\nDDR ");
}
#ifdef CONFIG_OF_BOARD_SETUP
int ft_board_setup(void *blob, struct bd_info *bd)
{

View File

@ -167,7 +167,6 @@ int board_init(void)
/* address of boot parameters */
gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR;
/* setup the SUSPSRC for ARM to control emulation suspend */
writel(readl(&davinci_syscfg_regs->suspsrc) &
~(DAVINCI_SYSCFG_SUSPSRC_EMAC | DAVINCI_SYSCFG_SUSPSRC_I2C |
@ -195,7 +194,6 @@ int board_init(void)
&davinci_emif_regs->ab2cr); /* CS3 */
#endif
#ifdef CONFIG_MMC_DAVINCI
if (davinci_configure_pin_mux(mmc0_pins, ARRAY_SIZE(mmc0_pins)) != 0)
return 1;

View File

@ -655,5 +655,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004000,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -80,5 +80,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 3
#define CFG_HPS_ALTERAGRP_DBGATCLK 3
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -541,7 +541,6 @@ static int spl_dram_perform_cal(struct mx6_ddr_sysinfo const *sysinfo)
return ret;
}
/* DRAM */
static void dhcom_spl_dram_init(void)
{

View File

@ -655,5 +655,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004000,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -80,5 +80,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 3
#define CFG_HPS_ALTERAGRP_DBGATCLK 3
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -5,7 +5,6 @@
* Author: Jagan Teki <jagan@amarulasolutions.com>
*/
#include <asm/io.h>
#include <asm/gpio.h>
#include <linux/sizes.h>

View File

@ -3,7 +3,6 @@
* Copyright 2004, 2011 Freescale Semiconductor.
*/
#include <config.h>
#include <clock_legacy.h>
#include <linux/types.h>
@ -27,7 +26,6 @@ typedef struct cadmus_reg {
u_char cm_reserved[248]; /* Total 256 bytes */
} cadmus_reg_t;
unsigned int
get_board_version(void)
{
@ -36,7 +34,6 @@ get_board_version(void)
return cadmus->cm_ver;
}
unsigned long
get_board_sys_clk(void)
{
@ -54,7 +51,6 @@ get_board_sys_clk(void)
}
}
unsigned int
get_pci_slot(void)
{
@ -66,7 +62,6 @@ get_pci_slot(void)
return ((cadmus->cm_csr >> 6) & 0x3) + 1;
}
unsigned int
get_pci_dual(void)
{

View File

@ -6,7 +6,6 @@
#ifndef __CADMUS_H_
#define __CADMUS_H_
/*
* CADMUS Board System Register interface.
*/
@ -21,17 +20,14 @@ extern unsigned int get_board_version(void);
*/
extern unsigned long get_board_sys_clk(void);
/*
* Returns 1 - 4, as found in the USER CSR[6:7] bits.
*/
extern unsigned int get_pci_slot(void);
/*
* Returns PCI DUAL as found in CM_PCI[3].
*/
extern unsigned int get_pci_dual(void);
#endif /* __CADMUS_H_ */

View File

@ -6,12 +6,10 @@
#ifndef __EEPROM_H_
#define __EEPROM_H_
/*
* EEPROM Board System Register interface.
*/
/*
* CPU Board Revision
*/
@ -29,5 +27,4 @@
*/
extern unsigned int get_cpu_board_revision(void);
#endif /* __CADMUS_H_ */

View File

@ -327,7 +327,6 @@ static u32 read_validate_ie_tbl(struct fsl_secboot_img_priv *img)
}
#endif
/* This function return length of public key.*/
static inline u32 get_key_len(struct fsl_secboot_img_priv *img)
{
@ -858,7 +857,6 @@ static int secboot_init(struct fsl_secboot_img_priv **img_ptr)
return 0;
}
/* haddr - Address of the header of image to be validated.
* arg_hash_str - Option hash string. If provided, this
* overrides the key hash in the SFP fuses.

View File

@ -787,7 +787,6 @@ struct dram_cfg_param ddr_fsp1_cfg[] = {
{ 0xd0000, 0x1 },
};
/* P0 2D message block paremeter for training firmware */
struct dram_cfg_param ddr_fsp0_2d_cfg[] = {
{ 0xd0000, 0x0 },

View File

@ -765,7 +765,6 @@ struct dram_cfg_param ddr_fsp0_cfg[] = {
{ 0xd0000, 0x1 },
};
/* P1 message block paremeter for training firmware */
struct dram_cfg_param ddr_fsp1_cfg[] = {
{ 0xd0000, 0x0 },
@ -791,7 +790,6 @@ struct dram_cfg_param ddr_fsp1_cfg[] = {
{ 0xd0000, 0x1 },
};
/* P0 2D message block paremeter for training firmware */
struct dram_cfg_param ddr_fsp0_2d_cfg[] = {
{ 0xd0000, 0x0 },

View File

@ -147,7 +147,6 @@ int dram_init(void)
}
#endif
int board_early_init_f(void)
{
fsl_lsch2_early_init_f();

View File

@ -33,7 +33,6 @@ DECLARE_GLOBAL_DATA_PTR;
#define DDR_SIZE 0x40000000
int checkboard(void)
{
puts("Board: LS1021AIOT\n");

View File

@ -508,7 +508,6 @@ int config_serdes_mux(void)
return 0;
}
#ifdef CONFIG_MISC_INIT_R
int misc_init_r(void)
{

View File

@ -94,7 +94,6 @@ found:
popts->wrlvl_override = 1;
popts->wrlvl_sample = 0xf;
/* Enable ZQ calibration */
popts->zq_en = 1;

View File

@ -46,7 +46,6 @@ void fsl_ddr_board_options(memctl_options_t *popts,
else
pbsp = udimms[ctrl_num];
/* Get clk_adjust, wrlvl_start, wrlvl_ctl, according to the board ddr
* freqency and n_banks specified in board_specific_parameters table.
*/

View File

@ -87,5 +87,4 @@ static const struct board_specific_parameters *rdimms[] = {
rdimm2,
};
#endif

View File

@ -46,7 +46,6 @@ void fsl_ddr_board_options(memctl_options_t *popts,
else
pbsp = udimms[ctrl_num];
/* Get clk_adjust, wrlvl_start, wrlvl_ctl, according to the board ddr
* freqency and n_banks specified in board_specific_parameters table.
*/

View File

@ -72,5 +72,4 @@ static const struct board_specific_parameters *rdimms[] = {
udimm2, /* DP-DDR doesn't support RDIMM */
};
#endif

View File

@ -32,7 +32,6 @@ int checkboard (void) {
return 0;
};
int dram_init(void)
{
unsigned long junk = 0xa5a59696;
@ -91,7 +90,6 @@ int dram_init(void)
return 0;
};
int testdram(void)
{
/* TODO: XXX XXX XXX */

View File

@ -133,7 +133,6 @@ void ide_set_reset(int idereset)
}
#endif /* CONFIG_IDE */
#ifdef CONFIG_DRIVER_DM9000
int board_eth_init(struct bd_info *bis)
{

View File

@ -74,7 +74,6 @@ int dram_init(void)
*((volatile unsigned long *)CFG_SYS_SDRAM_BASE) = 0xa5a59696;
*((volatile unsigned long *)CFG_SYS_SDRAM_BASE) = 0xa5a59696;
out_be32(&sdp->sdmr, 0x018d0000);
*((volatile unsigned long *)CFG_SYS_SDRAM_BASE) = 0xa5a59696;

View File

@ -3,7 +3,6 @@
* Copyright 2008 Freescale Semiconductor, Inc.
*/
#include <fsl_ddr_sdram.h>
#include <fsl_ddr_dimm_params.h>

View File

@ -138,7 +138,6 @@ static void eim_clk_setup(void)
struct mxc_ccm_reg *imx_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR;
int cscmr1, ccgr6;
/* Turn off EIM clock */
ccgr6 = readl(&imx_ccm->CCGR6);
ccgr6 &= ~(0x3 << 10);
@ -170,7 +169,6 @@ static void setup_iomux_eimnor(void)
}
#endif
static iomux_v3_cfg_t const usdhc3_pads[] = {
IOMUX_PADS(PAD_SD3_CLK__SD3_CLK | MUX_PAD_CTRL(USDHC_PAD_CTRL)),
IOMUX_PADS(PAD_SD3_CMD__SD3_CMD | MUX_PAD_CTRL(USDHC_PAD_CTRL)),
@ -480,7 +478,6 @@ int power_init_board(void)
if (ret != 0)
return ret;
if (is_mx6dqp()) {
/* set SW2 staby volatage 0.975V*/
value = pmic_reg_read(dev, PFUZE100_SW2STBY);

View File

@ -54,7 +54,6 @@ int power_init_board(void)
rev_id = pmic_reg_read(dev, PFUZE100_REVID);
printf("PMIC: PFUZE100! DEV_ID=0x%x REV_ID=0x%x\n", dev_id, rev_id);
/* Init mode to APS_PFM */
pmic_reg_write(dev, PFUZE100_SW1ABMODE, APS_PFM);

View File

@ -135,7 +135,6 @@ int power_init_board(void)
rev_id = pmic_reg_read(dev, PFUZE100_REVID);
printf("PMIC: PFUZE100! DEV_ID=0x%x REV_ID=0x%x\n", dev_id, rev_id);
/* Init mode to APS_PFM */
pmic_reg_write(dev, PFUZE100_SW1ABMODE, APS_PFM);

View File

@ -108,7 +108,6 @@ static iomux_v3_cfg_t const uart1_pads[] = {
MX6_PAD_UART1_RX_DATA__UART1_DCE_RX | MUX_PAD_CTRL(UART_PAD_CTRL),
};
static void setup_iomux_uart(void)
{
imx_iomux_v3_setup_multiple_pads(uart1_pads, ARRAY_SIZE(uart1_pads));
@ -352,7 +351,6 @@ void board_preboot_os(void)
#include <spl.h>
#include <asm/arch/mx6-ddr.h>
static struct mx6ul_iomux_grp_regs mx6_grp_ioregs = {
.grp_addds = 0x00000030,
.grp_ddrmode_ctl = 0x00020000,

View File

@ -622,7 +622,6 @@ void board_reset(void)
}
#endif
int misc_init_r(void)
{
ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);

View File

@ -23,7 +23,6 @@ struct cpld_data {
u8 boot_config2; /* 0x1A - Boot config override register*/
};
/* Pointer to the CPLD register set */
u8 cpld_read(unsigned int reg);

View File

@ -84,7 +84,6 @@ int board_eth_init(struct bd_info *bis)
DEFAULT_FM_MDIO_NAME));
}
cpu_eth_init(bis);
#endif

View File

@ -11,7 +11,6 @@
#define QIXIS_SRDS1CLK_122 0x5a
#define QIXIS_SRDS1CLK_125 0x5e
/* BRDCFG4[4:7]] select EC1 and EC2 as a pair */
#define BRDCFG4_EMISEL_MASK 0xE0
#define BRDCFG4_EMISEL_SHIFT 5

View File

@ -81,7 +81,6 @@ struct fsl_e_tlb_entry tlb_table[] = {
MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
0, 5, BOOKE_PAGESZ_256M, 1),
/* *I*G* - PCIe 4, 0xc0000000 */
SET_TLB_ENTRY(1, CFG_SYS_PCIE4_MEM_VIRT, CFG_SYS_PCIE4_MEM_PHYS,
MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,

View File

@ -81,7 +81,6 @@ struct fsl_e_tlb_entry tlb_table[] = {
MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
0, 5, BOOKE_PAGESZ_256M, 1),
/* *I*G* - PCIe 4, 0xc0000000 */
SET_TLB_ENTRY(1, CFG_SYS_PCIE4_MEM_VIRT, CFG_SYS_PCIE4_MEM_PHYS,
MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,

View File

@ -39,7 +39,6 @@ void fsl_ddr_board_options(memctl_options_t *popts,
else
pbsp = udimms[0];
/* Get clk_adjust, cpo, write_data_delay,2T, according to the board ddr
* freqency and n_banks specified in board_specific_parameters table.
*/

View File

@ -73,5 +73,4 @@ static const struct board_specific_parameters *rdimms[] = {
rdimm0,
};
#endif

View File

@ -214,7 +214,6 @@ static void setup_iomux_nfc(void)
}
#endif
static void setup_iomux_qspi(void)
{
static const iomux_v3_cfg_t qspi0_pads[] = {

View File

@ -136,7 +136,6 @@ void dp501_powerdown(u8 addr)
dp501_setbits(addr, 0x0a, 0x30); /* power down encoder, standby mode */
}
int dp501_probe(unsigned screen, bool power)
{
#ifdef CONFIG_SYS_DP501_BASE

View File

@ -6,7 +6,6 @@
#ifdef CONFIG_GDSYS_LEGACY_DRIVERS
#include <gdsys_fpga.h>
#include <linux/bitops.h>

View File

@ -165,7 +165,6 @@ static unsigned int ics8n3qv01_get_fout_calc(unsigned index)
return fout_calc;
}
static void ics8n3qv01_calc_parameters(unsigned int fout,
unsigned int *_mint, unsigned int *_mfrac,
unsigned int *_n)
@ -424,7 +423,6 @@ int osd_write(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
y = hextoul(argv[2], NULL);
rp = argv[3];
while (*rp) {
char substr[5];

View File

@ -434,7 +434,6 @@ static const struct boot_mode board_boot_modes[] = {
};
#endif
/*
* The SoM used by these boards has XTAL not connected despite datasheet
* suggesting connecting unused XTAL pins to ground. Without explicitly

View File

@ -244,7 +244,6 @@ static int config_sd_carddetect(void)
return 0;
}
static void mmc1_init_pll(void)
{
uint32_t data;
@ -339,7 +338,6 @@ static void mmc0_reset_clk(void)
} while (data & PERI_RST0_MMC0);
}
/* PMU SSI is the IP that maps the external PMU hi6553 registers as IO */
static void hi6220_pmussi_init(void)
{
@ -398,7 +396,6 @@ static int init_dwmmc(void)
if (ret)
printf("%s: Error adding eMMC port (%d)\n", __func__, ret);
/* take mmc1 (sd slot) out of reset, configure clocks and pinmuxing */
mmc1_init_pll();
mmc1_reset_clk();

View File

@ -655,5 +655,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004000,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -80,5 +80,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 4
#define CFG_HPS_ALTERAGRP_DBGATCLK 4
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -84,7 +84,6 @@ int board_phys_sdram_size(phys_size_t *memsize)
return 0;
}
#ifdef CONFIG_FEC_MXC
#define FEC_RST_PAD IMX_GPIO_NR(1, 11)
static iomux_v3_cfg_t const fec1_rst_pads[] = {

View File

@ -28,7 +28,6 @@ extern struct dram_timing_info dram_timing_4gb;
DECLARE_GLOBAL_DATA_PTR;
static void spl_dram_init(void)
{
struct dram_timing_info *dram_timing;
@ -89,7 +88,6 @@ int board_mmc_getcd(struct mmc *mmc)
return 0;
}
#define USDHC_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_HYS | PAD_CTL_PUE | \
PAD_CTL_FSEL2)
#define USDHC_GPIO_PAD_CTRL (PAD_CTL_PUE | PAD_CTL_DSE1)

View File

@ -62,7 +62,6 @@ static void vinco_spi0_hw_init(void)
}
#endif /* CONFIG_ATMEL_SPI */
#ifdef CONFIG_CMD_USB
static void vinco_usb_hw_init(void)
{
@ -72,7 +71,6 @@ static void vinco_usb_hw_init(void)
}
#endif
#ifdef CONFIG_GENERIC_ATMEL_MCI
void vinco_mci0_hw_init(void)
{

View File

@ -19,7 +19,6 @@
#define NET_LAN92XX_GPMC_CONFIG5 0x00080a0a
#define NET_LAN92XX_GPMC_CONFIG6 0x03000280
const omap3_sysinfo sysinfo = {
DDR_DISCRETE,
"Logic DM37x/OMAP35x reference board",

View File

@ -28,14 +28,12 @@
DECLARE_GLOBAL_DATA_PTR;
#define WDOG_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_HYS | PAD_CTL_PUE)
static iomux_v3_cfg_t const wdog_pads[] = {
IMX8MQ_PAD_GPIO1_IO02__WDOG1_WDOG_B | MUX_PAD_CTRL(WDOG_PAD_CTRL),
};
int board_early_init_f(void)
{
struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR;

View File

@ -312,7 +312,6 @@ static struct dram_cfg_param lpddr4_fsp0_cfg[] = {
{ 0xd0000, 1 },
};
/* P1 message block parameter for training firmware */
static struct dram_cfg_param lpddr4_fsp1_cfg[] = {
{ 0xd0000, 0 },
@ -352,7 +351,6 @@ static struct dram_cfg_param lpddr4_fsp1_cfg[] = {
{ 0xd0000, 1 },
};
/* P0 2D message block parameter for training firmware */
static struct dram_cfg_param lpddr4_fsp0_2d_cfg[] = {
{ 0xd0000, 0 },

View File

@ -254,7 +254,6 @@ unsigned long ps7_reset_apu_3_0[] = {
EMIT_EXIT(),
};
int ps7_post_config(void)
{
return ps7_config(ps7_post_config_3_0);

View File

@ -115,7 +115,6 @@ int ft_board_setup(void *blob, struct bd_info *bd)
do_fixup_by_compat(blob, "qcom,wcnss-wlan",
"local-mac-address", mac, ARP_HLEN, 1);
if (!eth_env_get_enetaddr("btaddr", mac)) {
msm_generate_mac_addr(mac);

View File

@ -22,7 +22,6 @@
DECLARE_GLOBAL_DATA_PTR;
#ifdef CONFIG_SPL_BUILD
void set_uart_mux_conf(void)
{

View File

@ -50,7 +50,6 @@
#define PMIC_REG_ST_OFF_1 (0x2)
#define PMIC_REG_ST_ON_LOW_POW (0x3)
/* VDD2 & VDD1 voltage selection register. (VDD2_OP_REG & VDD1_OP_REG) */
#define PMIC_OP_REG_SEL (0x7F)

View File

@ -3,7 +3,6 @@
* Copyright 2008 Freescale Semiconductor, Inc.
*/
#include <fsl_ddr_sdram.h>
#include <fsl_ddr_dimm_params.h>

View File

@ -56,7 +56,6 @@ static void sc_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len)
}
}
/**
* sc_nand_read_byte - read one byte from the chip
* @mtd: MTD device structure

View File

@ -14,7 +14,6 @@
#include <spd_sdram.h>
#include <linux/delay.h>
#if !defined(CONFIG_SPD_EEPROM)
/*
* Autodetect onboard DDR SDRAM on 85xx platforms

View File

@ -28,7 +28,6 @@ struct fsl_e_tlb_entry tlb_table[] = {
MAS3_SX|MAS3_SW|MAS3_SR, 0,
0, 0, BOOKE_PAGESZ_4K, 0),
/*
* TLB 1: 64M Non-cacheable, guarded
* 0xfc000000 64M FLASH

View File

@ -655,5 +655,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004000,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -80,5 +80,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 3
#define CFG_HPS_ALTERAGRP_DBGATCLK 3
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -655,5 +655,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004000,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -80,5 +80,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 3
#define CFG_HPS_ALTERAGRP_DBGATCLK 3
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -76,7 +76,6 @@ int board_early_init_r(void)
// Switch PSRAM controller back to memory mode
writel(0, PSRAM_FLASH_CONFIG_REG_0);
// Switch PSRAM controller to command mode
writel(CRE_ENABLE | CRE_DRIVE_CMD, PSRAM_FLASH_CONFIG_REG_1);
// Program Refresh Configuration Register (RCR) for BANK1

View File

@ -348,7 +348,6 @@ int board_eth_init(struct bd_info *bis)
eth_env_set_enetaddr("eth1addr", mac_addr);
}
writel(MII_MODE_ENABLE, &cdev->miisel);
cpsw_slaves[0].phy_if = cpsw_slaves[1].phy_if =
PHY_INTERFACE_MODE_MII;

View File

@ -107,7 +107,6 @@ static struct module_pin_mux mii1_pin_mux[] = {
{-1},
};
void enable_uart0_pin_mux(void)
{
configure_module_pin_mux(uart0_pin_mux);

View File

@ -655,5 +655,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004000,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -86,5 +86,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 3
#define CFG_HPS_ALTERAGRP_DBGATCLK 3
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -655,5 +655,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004000,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -80,5 +80,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 3
#define CFG_HPS_ALTERAGRP_DBGATCLK 3
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -655,5 +655,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004000,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -80,5 +80,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 4
#define CFG_HPS_ALTERAGRP_DBGATCLK 4
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -655,5 +655,4 @@ const unsigned long iocsr_scan_chain3_table[] = {
0x00004000,
};
#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */

View File

@ -80,5 +80,4 @@
#define CFG_HPS_ALTERAGRP_MAINCLK 3
#define CFG_HPS_ALTERAGRP_DBGATCLK 3
#endif /* __SOCFPGA_PLL_CONFIG_H__ */

View File

@ -288,7 +288,6 @@ int board_late_init(void)
}
} while (get_timer(start_time) < ABORT_TIMEOUT);
/*
* At this stage the bootcounter has not been incremented
* yet. We need to do this manually here to get an actually

View File

@ -339,7 +339,6 @@ static void scale_vcores_bone(int freq)
if (power_tps65217_init(0))
return;
/*
* On Beaglebone White we need to ensure we have AC power
* before increasing the frequency.

View File

@ -336,7 +336,6 @@ const struct dpll_params *get_dpll_ddr_params(void)
return NULL;
}
/*
* get_opp_offset:
* Returns the index for safest OPP of the device to boot.

View File

@ -515,7 +515,6 @@ int get_voltrail_opp(int rail_offset)
return opp;
}
#ifdef CONFIG_SPL_BUILD
/* No env to setup for SPL */
static inline void setup_board_eeprom_env(void) { }

View File

@ -6,7 +6,6 @@
* Texas Instruments Incorporated, <www.ti.com>
*/
#include <asm/arch/ddr3.h>
#include "ddr3_cfg.h"

View File

@ -11,7 +11,6 @@
#include <asm/arch/mux_omap4.h>
const struct pad_conf_entry core_padconf_array_essential[] = {
{GPMC_AD0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat0 */

View File

@ -783,7 +783,6 @@ static void ccgr_init(void)
writel(0x010E0101, &ccm->ccosr);
}
#define PAD_CTL_INPUT_DDR BIT(17)
struct mx6dq_iomux_ddr_regs mx6_ddr_ioregs = {
@ -951,7 +950,6 @@ static const struct mx6_ddr3_cfg ddr3_cfg_it = {
.SRT = 1,
};
/* Perform DDR DRAM calibration */
static void spl_dram_perform_cal(const struct mx6_ddr_sysinfo *ddr_sysinfo)
{

View File

@ -759,7 +759,6 @@ MX6_MMDC_P0_MDMISC, 0x000b17c0,
*/
MX6_MMDC_P0_MDSCR, 0x00008000,
/* 800mhz_2x64mx16.cfg */
MX6_MMDC_P0_MDPDC, 0x0002002D,
@ -891,7 +890,6 @@ MX6_MMDC_P0_MDMISC, 0x000b17c0,
*/
MX6_MMDC_P0_MDSCR, 0x00008000,
/* 800mhz_2x64mx16.cfg */
MX6_MMDC_P0_MDPDC, 0x0002002D,

View File

@ -223,7 +223,6 @@ int power_init_board(void)
int reg, ver;
int ret;
ret = pmic_get("pmic@33", &dev);
if (ret)
return ret;

View File

@ -285,7 +285,6 @@ int ft_board_setup(void *blob, struct bd_info *bd)
mac_addr[4] = header.MAC1[4];
mac_addr[5] = header.MAC1[5];
node = fdt_path_offset(blob, "ethernet0");
if (node < 0) {
printf("no ethernet0 path offset\n");

View File

@ -4060,7 +4060,6 @@ unsigned long ps7_post_config_3_0[] = {
//
};
unsigned long ps7_pll_init_data_2_0[] = {
// START: top
// .. START: SLCR SETTINGS
@ -8263,7 +8262,6 @@ unsigned long ps7_post_config_2_0[] = {
//
};
unsigned long ps7_pll_init_data_1_0[] = {
// START: top
// .. START: SLCR SETTINGS

View File

@ -4167,7 +4167,6 @@ unsigned long ps7_post_config_3_0[] = {
//
};
unsigned long ps7_pll_init_data_2_0[] = {
// START: top
// .. START: SLCR SETTINGS
@ -8483,7 +8482,6 @@ unsigned long ps7_post_config_2_0[] = {
//
};
unsigned long ps7_pll_init_data_1_0[] = {
// START: top
// .. START: SLCR SETTINGS

Some files were not shown because too many files have changed in this diff Show More