]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 6f66ed6851d4095823d418fc53c622eb19df5db4..e5ecd0e19c6d4032554c1bc554a030b713d2037d 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 fb74e8f6db5ed04e10d994ac79e4f857a8dde92c..93cea120845688a6f29e0d540ee416084a3dde0a 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 328fd3974b1b64d4f517343fcbd3145d49044ea1..1d0685fde678f701f4aba198863c0a8601ecc3e8 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 e03434dcdfed09729a41a86a9a593e22fca8b35b..657f4533bcd3d589ae507010a499e76a672a7047 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 77611ea0260c771d87f34e7b6854666947ade2a8..ce39c9e2bcfcea0233fe6162d6978740f56bea03 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 a3577efd0b24be7c3facd99da02b5f54a71f2fdc..d719b5916f509087b998fce47440e72a520a933c 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 7f8001b4981f290dc6a43cb6f07ed332508665ee..5f0564f1b23e780a75d52e27bd1506abb15175cc 100644 (file)
@@ -147,7 +147,6 @@ int dram_init(void)
 }
 #endif
 
-
 int board_early_init_f(void)
 {
        fsl_lsch2_early_init_f();
index 7abc41269330d4e8cc4287fd0e0ca16c6ead5727..2fdac87bc299603f294f341aa656721e765a2249 100644 (file)
@@ -33,7 +33,6 @@ DECLARE_GLOBAL_DATA_PTR;
 
 #define DDR_SIZE               0x40000000
 
-
 int checkboard(void)
 {
        puts("Board: LS1021AIOT\n");
index fdf011efc5bdac8e94c5b6d92c4a76add1c3e669..2ecf5a74a034e956a007d8bcc90706159c39bc3e 100644 (file)
@@ -508,7 +508,6 @@ int config_serdes_mux(void)
        return 0;
 }
 
-
 #ifdef CONFIG_MISC_INIT_R
 int misc_init_r(void)
 {
index d2e239c4d61504b6432361d26f41cc581865118f..54b432ad79424579ceeb873f5f66da6789764898 100644 (file)
@@ -94,7 +94,6 @@ found:
        popts->wrlvl_override = 1;
        popts->wrlvl_sample = 0xf;
 
-
        /* Enable ZQ calibration */
        popts->zq_en = 1;
 
index 2986ffb7a820925c6cb553af913675c78389efc6..d19c061e122703b633b1a17c2611fd820e8e0045 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 b5d790a4a057982553ce785a1624806fc3512279..465155e56bf32aab932eb224f240a37090b4d52a 100644 (file)
@@ -87,5 +87,4 @@ static const struct board_specific_parameters *rdimms[] = {
        rdimm2,
 };
 
-
 #endif
index ec34b42e619ad2e712e5cec366a0b4e3fd6baa48..a1a97f9f8c228cf2ee2ad4b3a7dda9a9f155a36e 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 c5f2a95211b0a503cef662169267d85820f56d49..43301dc72a38c6faf8e12587fefd370bfdc5ee20 100644 (file)
@@ -72,5 +72,4 @@ static const struct board_specific_parameters *rdimms[] = {
        udimm2, /* DP-DDR doesn't support RDIMM */
 };
 
-
 #endif
index 717dc087e02b5ca56e618afe94a0cddbf6229257..68524e5e6826b5fdbbf016f30cff46fd8f40726b 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 d0b01f81745f3482c9e0806e701f78e45828a40f..446a79e67232bce6186cf699d75d3cf6b8aac97b 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 e1d94fc9a3e263488fa4c68e8dcd6d1d5d877997..8b986d424259f7baa720351871a96e85a00abdb5 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 14202cd5a7886c49218e383b0f44f2a5526a62ca..4b8ddcc3ae45e383863d7387d48245c5c41db63a 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  */
 
-
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 
index e782543c0fae70667e67c89b207bab6248bb77b2..bab62fd4421fecf75a618aafc420f3ecc1f97bb2 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 7114444fc3e6d54e1aaba16da94a9b425c9224e8..9e39e39ac90362b9a7d663fcdcdc7a8307b99fb9 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 6176f738238941c0a9959bb1e1768a3c0b47366f..d80cfd4ab27c4fec2502545dba8764d71c740f39 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 6b0665a1067fb4672fcb275bb613ab5384522ac0..e5a0197e2fd3385fd3695c8711179cc3a77e68fc 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 ab0031440ae830b8cde67e2a5fa8d49577f4533a..e386840d9ef2bb94eb317936d17f00db53e7a709 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 bd40cc319a891173f5bf3cee179bb0478b91cf73..b504c3fcc47b6a006d5cef4a0b062e1fd36b69e9 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 d5c084e319d4e6658db5f79b89b15252ee4e092d..c35ec368a4503747dc8f8fcdea7297064fee2de3 100644 (file)
@@ -84,7 +84,6 @@ int board_eth_init(struct bd_info *bis)
                                                        DEFAULT_FM_MDIO_NAME));
        }
 
-
        cpu_eth_init(bis);
 #endif
 
index 0f9a45a6fd483e815a2cbf83d7874d300c2a1c36..666514220312f69a50a425e1eebecccabaff5232 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 f99d51c8cd762430810b436a7589965578d93ab0..a4cc532acdab9f9e4404e1611dcd7b0cf27e5adc 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 df5831541f380b6678124908b2dfeb8d6f8a126c..a9a03908dfbdeec6530c3e609f7b92747233d37b 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 5b60b50c672bc541950d870bd05a9e1623bbb627..bbe31d4a54eb04380ccbfa7444aa68f7061efcd5 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 74a277961144d06c056b24a576ced3071929cac9..241b13475da96360c85db24bcebbb746ed48cadd 100644 (file)
@@ -73,5 +73,4 @@ static const struct board_specific_parameters *rdimms[] = {
        rdimm0,
 };
 
-
 #endif
index 80a798af9cb6971352253a84479e49cacaaaa852..bfb49ad8604fd106f6815d981335900f9ea5ec30 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[] = {