summaryrefslogtreecommitdiff
path: root/src/drivers/aspeed
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-19 21:51:08 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 15:51:52 +0000
commitd161a2fafd14700b133b1deca7b8a9a5ca1c5283 (patch)
treecf091c2582e17442eb5096322b3c0f328cdbffa0 /src/drivers/aspeed
parent490546f191cf2aa1aceec97b7d0503f4fb4408f4 (diff)
src/drivers: Drop unneeded empty lines
Change-Id: I202e5d285612b9bf237b588ea3c006187623fdc3 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44609 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/drivers/aspeed')
-rw-r--r--src/drivers/aspeed/common/ast_dp501.c1
-rw-r--r--src/drivers/aspeed/common/ast_drv.h1
-rw-r--r--src/drivers/aspeed/common/ast_mode.c1
-rw-r--r--src/drivers/aspeed/common/ast_post.c7
-rw-r--r--src/drivers/aspeed/common/ast_tables.h2
5 files changed, 0 insertions, 12 deletions
diff --git a/src/drivers/aspeed/common/ast_dp501.c b/src/drivers/aspeed/common/ast_dp501.c
index 460b85801e..924ca57d9d 100644
--- a/src/drivers/aspeed/common/ast_dp501.c
+++ b/src/drivers/aspeed/common/ast_dp501.c
@@ -331,7 +331,6 @@ static bool ast_init_dvo(struct drm_device *dev)
return true;
}
-
static void ast_init_analog(struct drm_device *dev)
{
struct ast_private *ast = dev->dev_private;
diff --git a/src/drivers/aspeed/common/ast_drv.h b/src/drivers/aspeed/common/ast_drv.h
index 206a7ad83c..423ba37c28 100644
--- a/src/drivers/aspeed/common/ast_drv.h
+++ b/src/drivers/aspeed/common/ast_drv.h
@@ -11,7 +11,6 @@
#define PCI_CHIP_AST2100 0x2010
#define PCI_CHIP_AST1180 0x1180
-
enum ast_chip {
AST2000,
AST2100,
diff --git a/src/drivers/aspeed/common/ast_mode.c b/src/drivers/aspeed/common/ast_mode.c
index 465d8866a9..e5832e772e 100644
--- a/src/drivers/aspeed/common/ast_mode.c
+++ b/src/drivers/aspeed/common/ast_mode.c
@@ -6,7 +6,6 @@
#include "ast_drv.h"
#include "ast_tables.h"
-
static inline void ast_load_palette_index(struct ast_private *ast,
u8 index, u8 red, u8 green,
u8 blue)
diff --git a/src/drivers/aspeed/common/ast_post.c b/src/drivers/aspeed/common/ast_post.c
index c909182834..b6e8e91d23 100644
--- a/src/drivers/aspeed/common/ast_post.c
+++ b/src/drivers/aspeed/common/ast_post.c
@@ -25,7 +25,6 @@ void ast_enable_mmio(struct drm_device *dev)
ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xa1, 0xff, 0x04);
}
-
bool ast_is_vga_enabled(struct drm_device *dev)
{
struct ast_private *ast = dev->dev_private;
@@ -208,7 +207,6 @@ static int cbrscan_ast2150(struct ast_private *ast, int busw)
return 1;
}
-
static void cbrdlli_ast2150(struct ast_private *ast, int busw)
{
u32 dll_min[4], dll_max[4], dlli, data, passcnt;
@@ -239,8 +237,6 @@ cbr_start:
ast_moutdwm(ast, 0x1e6e0068, dlli | (dlli << 8) | (dlli << 16) | (dlli << 24));
}
-
-
static void ast_init_dram_reg(struct drm_device *dev)
{
struct ast_private *ast = dev->dev_private;
@@ -479,7 +475,6 @@ static u32 mmc_test2(struct ast_private *ast, u32 datagen, u8 test_ctl)
return data;
}
-
static bool mmc_test_burst(struct ast_private *ast, u32 datagen)
{
return mmc_test(ast, datagen, 0xc1);
@@ -1231,7 +1226,6 @@ ddr3_init_start:
ast_moutdwm(ast, 0x1E6E0050, 0x00000000);
#endif
-
}
static void get_ddr2_info(struct ast_private *ast, struct ast2300_dram_param *param)
@@ -1246,7 +1240,6 @@ static void get_ddr2_info(struct ast_private *ast, struct ast2300_dram_param *pa
trap_AC2 += 0x00110000;
trap_MRS = 0x00000040 | (trap << 4);
-
param->reg_MADJ = 0x00034C4C;
param->reg_SADJ = 0x00001800;
param->reg_DRV = 0x000000F0;
diff --git a/src/drivers/aspeed/common/ast_tables.h b/src/drivers/aspeed/common/ast_tables.h
index fb13da803f..bfd8f52ce0 100644
--- a/src/drivers/aspeed/common/ast_tables.h
+++ b/src/drivers/aspeed/common/ast_tables.h
@@ -220,7 +220,6 @@ static const struct ast_vbios_enhtable res_800x600[] = {
(SyncPP | Charx8Dot), 0xFF, 5, 0x30 },
};
-
static const struct ast_vbios_enhtable res_1024x768[] = {
{1344, 1024, 24, 136, 806, 768, 3, 6, VCLK65, /* 60Hz */
(SyncNN | Charx8Dot), 60, 1, 0x31 },
@@ -280,7 +279,6 @@ static const struct ast_vbios_enhtable res_1920x1080[] = {
AST2500PreCatchCRT), 0xFF, 1, 0x38 },
};
-
/* 16:10 */
static const struct ast_vbios_enhtable res_1280x800[] = {
{1440, 1280, 48, 32, 823, 800, 3, 6, VCLK71, /* 60Hz RB */