Skip to contentSkip to conversation

davinci: fix implicit declaration of function 'davinci_errata_workarounds'

PATCH New Jean-Christophe PLAGNIOL-VILLARD 1 participant 4 messages Feb 22, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 davinci: fix implicit declaration of function 'davinci_errata_workarounds'

---
 board/davinci/common/psc.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
board/davinci/common/psc.h +1 -0
index b18a185..b2dd7b5 100644
@@ -27,5 +27,6 @@ void dsp_on(void);
 void davinci_enable_uart0(void);
 void davinci_enable_emac(void);
 void davinci_enable_i2c(void);
+void davinci_errata_workarounds(void);
 
 #endif /* __PSC_H */
Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 nomadik/nand: fix 'ecc512' discards qualifiers from pointer target type

---
 drivers/mtd/nand/nomadik.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/nomadik.c +1 -1
index 08944d1..b76f4cb 100644
@@ -42,7 +42,7 @@ static inline int parity(int b) /* b is really a byte; returns 0 or ~0 */
  * HW claims to make the calculation but not the correction; so we must
  * recalculate the bytes for a comparison.
  */
-static int ecc512(unsigned char *data, unsigned char *ecc)
+static int ecc512(const unsigned char *data, unsigned char *ecc)
 {
 	int gpar = 0;
 	int i, val, par;
Signature · 1 line
1.5.6.5
#2 lore raw

PATCH 1/1 nmdk8815: fix onenand support�

---
 include/configs/nmdk8815.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
include/configs/nmdk8815.h +2 -3
index b37352e..543780d 100644
@@ -48,7 +48,6 @@
 #define CONFIG_SYS_NO_FLASH
 /* There is NAND storage */
 #define CONFIG_NAND_NOMADIK
-#define CONFIG_CMD_NAND
 #define CONFIG_CMD_JFFS2
 
 /* user interface */
@@ -131,7 +130,7 @@
 
 #ifdef CONFIG_BOOT_ONENAND
 
-#   undef CONFIG_CMD_NAND /* Temporary: nand and onenand can't coexist */
+#   define CONFIG_CMD_ONENAND /* Temporary: nand and onenand can't coexist */
    /* Partition				Size	Start
     * XloaderTOC + X-Loader		256KB	0x00000000
     * Memory init function		256KB	0x00040000
@@ -149,7 +148,7 @@
 
 #else /* ! CONFIG_BOOT_ONENAND */
 
-#   undef CONFIG_CMD_ONENAND /* Temporary: nand and onenand can't coexist */
+#   define CONFIG_CMD_NAND /* Temporary: nand and onenand can't coexist */
 
 #   define CONFIG_JFFS2_DEV		"nand0"
 #   define CONFIG_JFFS2_NAND		1 /* For the jffs2 support*/
Signature · 1 line
1.5.6.5