aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/common
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-07-19 12:48:52 +0200
committerTom Rini <trini@konsulko.com>2024-07-22 10:51:47 -0600
commit90b9479b38e95015f80755f882df436a401ac03f (patch)
tree894c30984c6429eaa24cdc38a60faed5229cba6e /board/freescale/common
parent5fb3ba988c6809711f97a187aca9697ca78e24a2 (diff)
downloadu-boot-90b9479b38e95015f80755f882df436a401ac03f.zip
u-boot-90b9479b38e95015f80755f882df436a401ac03f.tar.gz
u-boot-90b9479b38e95015f80755f882df436a401ac03f.tar.bz2
board: freescale: Remove duplicate newlines
Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'board/freescale/common')
-rw-r--r--board/freescale/common/cadmus.c5
-rw-r--r--board/freescale/common/cadmus.h4
-rw-r--r--board/freescale/common/eeprom.h3
-rw-r--r--board/freescale/common/fsl_validate.c2
4 files changed, 0 insertions, 14 deletions
diff --git a/board/freescale/common/cadmus.c b/board/freescale/common/cadmus.c
index 6f66ed6..e5ecd0e 100644
--- a/board/freescale/common/cadmus.c
+++ b/board/freescale/common/cadmus.c
@@ -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)
{
diff --git a/board/freescale/common/cadmus.h b/board/freescale/common/cadmus.h
index fb74e8f..93cea12 100644
--- a/board/freescale/common/cadmus.h
+++ b/board/freescale/common/cadmus.h
@@ -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_ */
diff --git a/board/freescale/common/eeprom.h b/board/freescale/common/eeprom.h
index 328fd39..1d0685f 100644
--- a/board/freescale/common/eeprom.h
+++ b/board/freescale/common/eeprom.h
@@ -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_ */
diff --git a/board/freescale/common/fsl_validate.c b/board/freescale/common/fsl_validate.c
index e03434d..657f453 100644
--- a/board/freescale/common/fsl_validate.c
+++ b/board/freescale/common/fsl_validate.c
@@ -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.