From 8e5e9b940cdede0debe528cdd7edccccbb3ebf2a Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Tue, 7 Jul 2009 22:35:02 +0200 Subject: Coding style cleanup; update CHANGELOG Signed-off-by: Wolfgang Denk --- include/asm-arm/arch-mx27/imx-regs.h | 2 -- include/configs/P2020DS.h | 5 +++-- include/linux/mtd/concat.h | 2 -- include/linux/mtd/mtd.h | 4 ++-- 4 files changed, 5 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/asm-arm/arch-mx27/imx-regs.h b/include/asm-arm/arch-mx27/imx-regs.h index 5d2e0b3636..cff2b0e919 100644 --- a/include/asm-arm/arch-mx27/imx-regs.h +++ b/include/asm-arm/arch-mx27/imx-regs.h @@ -1,5 +1,4 @@ /* - * * (c) 2007 Pengutronix, Sascha Hauer * (c) 2009 Ilya Yanok, Emcraft Systems * @@ -506,4 +505,3 @@ struct iim_regs { #define IIM1_SUID 1 #endif /* _IMX_REGS_H */ - diff --git a/include/configs/P2020DS.h b/include/configs/P2020DS.h index fddcce5e4f..93068600ad 100644 --- a/include/configs/P2020DS.h +++ b/include/configs/P2020DS.h @@ -110,7 +110,9 @@ extern unsigned long calculate_board_ddr_clk(unsigned long dummy); #define CONFIG_FSL_DDR3 1 #undef CONFIG_FSL_DDR_INTERACTIVE -// #define CONFIG_DDR_ECC /* ECC will be enabled based on perf_mode environment variable */ +/* ECC will be enabled based on perf_mode environment variable */ +/* #define CONFIG_DDR_ECC */ + #define CONFIG_ECC_INIT_VIA_DDRCONTROLLER #define CONFIG_MEM_INIT_VALUE 0xDeadBeef @@ -126,7 +128,6 @@ extern unsigned long calculate_board_ddr_clk(unsigned long dummy); #define SPD_EEPROM_ADDRESS1 0x51 /* CTLR 0 DIMM 0 */ /* These are used when DDR doesn't use SPD. */ -//#define CONFIG_SYS_SDRAM_SIZE 512 /* DDR is 512MB */ #define CONFIG_SYS_SDRAM_SIZE 1024 /* DDR is 1GB */ /* Default settings for "stable" mode */ diff --git a/include/linux/mtd/concat.h b/include/linux/mtd/concat.h index e80c674dae..c92b4ddc9b 100644 --- a/include/linux/mtd/concat.h +++ b/include/linux/mtd/concat.h @@ -9,7 +9,6 @@ #ifndef MTD_CONCAT_H #define MTD_CONCAT_H - struct mtd_info *mtd_concat_create( struct mtd_info *subdev[], /* subdevices to concatenate */ int num_devs, /* number of subdevices */ @@ -18,4 +17,3 @@ struct mtd_info *mtd_concat_create( void mtd_concat_destroy(struct mtd_info *mtd); #endif - diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index c884567b96..16556c4798 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -113,9 +113,9 @@ struct mtd_oob_ops { struct mtd_info { u_char type; u_int32_t flags; - uint64_t size; // Total size of the MTD + uint64_t size; /* Total size of the MTD */ - /* "Major" erase size for the device. Naïve users may take this + /* "Major" erase size for the device. Naïve users may take this * to be the only erase size available, or may use the more detailed * information below if they desire */ -- cgit v1.2.1