board: freescale: Remove duplicate newlines
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 19 Jul 2024 10:48:52 +0000 (12:48 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 22 Jul 2024 16:51:47 +0000 (10:51 -0600)
Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
31 files changed:
board/freescale/common/cadmus.c
board/freescale/common/cadmus.h
board/freescale/common/eeprom.h
board/freescale/common/fsl_validate.c
board/freescale/imx8mn_evk/ddr4_timing.c
board/freescale/imx8mn_evk/ddr4_timing_ld.c
board/freescale/ls1012ardb/ls1012ardb.c
board/freescale/ls1021aiot/ls1021aiot.c
board/freescale/ls1043aqds/ls1043aqds.c
board/freescale/ls1088a/ddr.c
board/freescale/ls2080aqds/ddr.c
board/freescale/ls2080aqds/ddr.h
board/freescale/ls2080ardb/ddr.c
board/freescale/ls2080ardb/ddr.h
board/freescale/m5249evb/m5249evb.c
board/freescale/m5253demo/m5253demo.c
board/freescale/m5275evb/m5275evb.c
board/freescale/mpc8548cds/ddr.c
board/freescale/mx6sabreauto/mx6sabreauto.c
board/freescale/mx6sllevk/mx6sllevk.c
board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
board/freescale/p1010rdb/p1010rdb.c
board/freescale/t102xrdb/cpld.h
board/freescale/t104xrdb/eth.c
board/freescale/t208xqds/t208xqds_qixis.h
board/freescale/t208xqds/tlb.c
board/freescale/t208xrdb/tlb.c
board/freescale/t4rdb/ddr.c
board/freescale/t4rdb/ddr.h
board/freescale/vf610twr/vf610twr.c

index 6f66ed6..e5ecd0e 100644 (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)
 {
index fb74e8f..93cea12 100644 (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_ */
index 328fd39..1d0685f 100644 (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_ */
index e03434d..657f453 100644 (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.
index 77611ea..ce39c9e 100644 (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 },
index a3577ef..d719b59 100644 (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 },
index 7f8001b..5f0564f 100644 (file)
@@ -147,7 +147,6 @@ int dram_init(void)
 }
 #endif
 
-
 int board_early_init_f(void)
 {
        fsl_lsch2_early_init_f();
index 7abc412..2fdac87 100644 (file)
@@ -33,7 +33,6 @@ DECLARE_GLOBAL_DATA_PTR;
 
 #define DDR_SIZE               0x40000000
 
-
 int checkboard(void)
 {
        puts("Board: LS1021AIOT\n");
index fdf011e..2ecf5a7 100644 (file)
@@ -508,7 +508,6 @@ int config_serdes_mux(void)
        return 0;
 }
 
-
 #ifdef CONFIG_MISC_INIT_R
 int misc_init_r(void)
 {
index d2e239c..54b432a 100644 (file)
@@ -94,7 +94,6 @@ found:
        popts->wrlvl_override = 1;
        popts->wrlvl_sample = 0xf;
 
-
        /* Enable ZQ calibration */
        popts->zq_en = 1;
 
index 2986ffb..d19c061 100644 (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.
         */
index b5d790a..465155e 100644 (file)
@@ -87,5 +87,4 @@ static const struct board_specific_parameters *rdimms[] = {
        rdimm2,
 };
 
-
 #endif
index ec34b42..a1a97f9 100644 (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.
         */
index c5f2a95..43301dc 100644 (file)
@@ -72,5 +72,4 @@ static const struct board_specific_parameters *rdimms[] = {
        udimm2, /* DP-DDR doesn't support RDIMM */
 };
 
-
 #endif
index 717dc08..68524e5 100644 (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 */
index d0b01f8..446a79e 100644 (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)
 {
index e1d94fc..8b986d4 100644 (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;
 
index 14202cd..4b8ddcc 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  */
 
-
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 
index e782543..bab62fd 100644 (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);
index 7114444..9e39e39 100644 (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);
 
index 6176f73..d80cfd4 100644 (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);
 
index 6b0665a..e5a0197 100644 (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,
index ab00314..e386840 100644 (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);
index bd40cc3..b504c3f 100644 (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);
index d5c084e..c35ec36 100644 (file)
@@ -84,7 +84,6 @@ int board_eth_init(struct bd_info *bis)
                                                        DEFAULT_FM_MDIO_NAME));
        }
 
-
        cpu_eth_init(bis);
 #endif
 
index 0f9a45a..6665142 100644 (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
index f99d51c..a4cc532 100644 (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,
index df58315..a9a0390 100644 (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,
index 5b60b50..bbe31d4 100644 (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.
         */
index 74a2779..241b134 100644 (file)
@@ -73,5 +73,4 @@ static const struct board_specific_parameters *rdimms[] = {
        rdimm0,
 };
 
-
 #endif
index 80a798a..bfb49ad 100644 (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[] = {