summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-mx27/imx-regs.h2
-rw-r--r--include/configs/P2020DS.h5
-rw-r--r--include/linux/mtd/concat.h2
-rw-r--r--include/linux/mtd/mtd.h4
4 files changed, 5 insertions, 8 deletions
diff --git a/include/asm-arm/arch-mx27/imx-regs.h b/include/asm-arm/arch-mx27/imx-regs.h
index 5d2e0b3..cff2b0e 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 <s.hauer@pengutronix.de>
* (c) 2009 Ilya Yanok, Emcraft Systems <yanok@emcraft.com>
*
@@ -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 fddcce5..9306860 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 e80c674..c92b4dd 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 c884567..16556c4 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
*/