lpc32xx: mtd: nand: add MLC NAND controller
The controller's Reed-Solomon ECC hardware is used except of course for raw reads and writes. It covers in- and out-of-band data together. The SPL framework is supported. Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
This commit is contained in:

committed by
Albert ARIBAUD

parent
ac2916a224
commit
c8381bf435
@@ -147,6 +147,10 @@ struct clk_pm_regs {
|
||||
/* DMA Clock Control Register bits */
|
||||
#define CLK_DMA_ENABLE (1 << 0)
|
||||
|
||||
/* NAND Clock Control Register bits */
|
||||
#define CLK_NAND_MLC (1 << 1)
|
||||
#define CLK_NAND_MLC_INT (1 << 5)
|
||||
|
||||
unsigned int get_sys_clk_rate(void);
|
||||
unsigned int get_hclk_pll_rate(void);
|
||||
unsigned int get_hclk_clk_div(void);
|
||||
|
@@ -9,5 +9,6 @@
|
||||
|
||||
void lpc32xx_uart_init(unsigned int uart_id);
|
||||
void lpc32xx_mac_init(void);
|
||||
void lpc32xx_mlc_nand_init(void);
|
||||
|
||||
#endif /* _LPC32XX_SYS_PROTO_H */
|
||||
|
Reference in New Issue
Block a user