Skip to content

Commit

Permalink
Merge branch 'bcmring/cleanup' into bcmring/removal
Browse files Browse the repository at this point in the history
Doing a large-scale cleaning and removing the platform in another
branch don't mix well, so do the trivial merge here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Arnd Bergmann committed Sep 28, 2012
2 parents abbb0db + 878040e commit 25e4b48
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 360 deletions.
13 changes: 0 additions & 13 deletions arch/arm/mach-bcmring/include/cfg_global.h

This file was deleted.

35 changes: 0 additions & 35 deletions arch/arm/mach-bcmring/include/csp/cache.h

This file was deleted.

36 changes: 0 additions & 36 deletions arch/arm/mach-bcmring/include/csp/delay.h

This file was deleted.

32 changes: 0 additions & 32 deletions arch/arm/mach-bcmring/include/csp/errno.h

This file was deleted.

40 changes: 0 additions & 40 deletions arch/arm/mach-bcmring/include/csp/intcHw.h

This file was deleted.

32 changes: 0 additions & 32 deletions arch/arm/mach-bcmring/include/csp/module.h

This file was deleted.

65 changes: 0 additions & 65 deletions arch/arm/mach-bcmring/include/csp/secHw.h

This file was deleted.

30 changes: 0 additions & 30 deletions arch/arm/mach-bcmring/include/csp/stdint.h

This file was deleted.

34 changes: 0 additions & 34 deletions arch/arm/mach-bcmring/include/csp/string.h

This file was deleted.

12 changes: 6 additions & 6 deletions drivers/mtd/nand/bcm_umi_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,20 +249,20 @@ static int nand_dev_ready(struct mtd_info *mtd)
int bcm_umi_nand_inithw(void)
{
/* Configure nand timing parameters */
REG_UMI_NAND_TCR &= ~0x7ffff;
REG_UMI_NAND_TCR |= HW_CFG_NAND_TCR;
writel(readl(&REG_UMI_NAND_TCR) & ~0x7ffff, &REG_UMI_NAND_TCR);
writel(readl(&REG_UMI_NAND_TCR) | HW_CFG_NAND_TCR, &REG_UMI_NAND_TCR);

#if !defined(CONFIG_MTD_NAND_BCM_UMI_HWCS)
/* enable software control of CS */
REG_UMI_NAND_TCR |= REG_UMI_NAND_TCR_CS_SWCTRL;
writel(readl(&REG_UMI_NAND_TCR) | REG_UMI_NAND_TCR_CS_SWCTRL, &REG_UMI_NAND_TCR);
#endif

/* keep NAND chip select asserted */
REG_UMI_NAND_RCSR |= REG_UMI_NAND_RCSR_CS_ASSERTED;
writel(readl(&REG_UMI_NAND_RCSR) | REG_UMI_NAND_RCSR_CS_ASSERTED, &REG_UMI_NAND_RCSR);

REG_UMI_NAND_TCR &= ~REG_UMI_NAND_TCR_WORD16;
writel(readl(&REG_UMI_NAND_TCR) & ~REG_UMI_NAND_TCR_WORD16, &REG_UMI_NAND_TCR);
/* enable writes to flash */
REG_UMI_MMD_ICR |= REG_UMI_MMD_ICR_FLASH_WP;
writel(readl(&REG_UMI_MMD_ICR) | REG_UMI_MMD_ICR_FLASH_WP, &REG_UMI_MMD_ICR);

writel(NAND_CMD_RESET, bcm_umi_io_base + REG_NAND_CMD_OFFSET);
nand_bcm_umi_wait_till_ready();
Expand Down
Loading

0 comments on commit 25e4b48

Please sign in to comment.