21 Nov, 2014

1 commit

  • We still need to support platform data for omap3 until it's booting
    in device tree only mode. So let's add platform_data/omap-gpmc.h for
    that, and a minimal linux/omap-gpmc.h for the save and restore used
    by the PM code.

    Let's also keep a minimal mach-omap2/gpmc.h still around to avoid
    churn on the board-*.c files. Once omap3 boots in device tree only
    mode, we can drop mach-omap2/gpmc.h and we can make the data
    structures in platform_data/omap-gpmc.h private to the GPMC driver.

    Note that we can now also remove gpmc-nand.h and gpmc-onenand.h.

    Cc: Arnd Bergmann
    Acked-by: Roger Quadros
    Signed-off-by: Tony Lindgren

    Tony Lindgren
     

15 Oct, 2012

2 commits

  • Requirement of gpmc header outside of mach-omap2 has been
    cutoff, move gpmc header file in plat-omap folder to local
    mach-omap2 folder

    Objective - common zImage participation of omap

    Signed-off-by: Afzal Mohammed

    Afzal Mohammed
     
  • Helper function for updating nand platform data has been
    added the capability to take timing structure arguement.
    Usage of omap_nand_flash_init() has been replaced by modifed
    one, omap_nand_flash_init was doing things similar to
    board_nand_init except that NAND CS# were being acquired
    based on bootloader setting. As CS# is hardwired for a given
    board, acquiring gpmc CS# has been removed, and updated with
    the value on board.

    NAND CS# used in beagle board & omap3evm was found to be CS0.
    Thomas Weber reported
    that value of devkit8000 to be CS0. Overo board was found
    to be using CS0 based on u-boot, while google grep says
    omap3touchbook too has CS0.

    Signed-off-by: Afzal Mohammed
    Reviewed-by: Jon Hunter
    Acked-by: Igor Grinberg

    Afzal Mohammed
     

10 May, 2012

1 commit

  • board_onenand_init() and board_nand_init() initialization functions are
    used to initialize OneNAND and NAND memories respectively. But only
    board_nand_init() was visible to be used from board code. This patch makes
    possible to initialize a OneNAND flash memory within platform code.

    Signed-off-by: Javier Martinez Canillas
    Acked-by: Enric Balletbo i Serra
    Tested-by: Enric Balletbo i Serra
    Signed-off-by: Tony Lindgren

    Javier Martinez Canillas
     

21 Sep, 2011

1 commit


18 Feb, 2011

1 commit


09 Oct, 2010

1 commit

  • This patch fixes sparse warnings due non declarations of static functions.

    arch/arm/mach-omap2/timer-gp.c:115:12: warning: symbol 'omap2_gp_clockevent_set_gptimer' was not declared. Should it be static?
    arch/arm/mach-omap2/powerdomain.c:993:5: warning: symbol 'pwrdm_set_lowpwrstchange' was not declared. Should it be static?
    arch/arm/mach-omap2/board-flash.c:141:8: warning: symbol 'board_nand_init' was not declared. Should it be static?
    arch/arm/mach-omap2/board-n8x0.c:416:6: warning: symbol 'n8x0_mmc_slot1_cover_handler' was not declared. Should it be static?
    arch/arm/mach-omap2/board-n8x0.c:544:13: warning: symbol 'n8x0_mmc_init' was not declared. Should it be static?
    arch/arm/mach-omap2/board-rx51-peripherals.c:902:13: warning: symbol 'rx51_peripherals_init' was not declared. Should it be static?
    arch/arm/mach-omap2/board-rx51-video.c:107:13: warning: symbol 'rx51_video_mem_init' was not declared. Should it be static?
    arch/arm/mach-omap2/board-zoom-debugboard.c:155:12: warning: symbol 'zoom_debugboard_init' was not declared. Should it be static?
    arch/arm/mach-omap2/board-zoom-peripherals.c:280:13: warning: symbol 'zoom_peripherals_init' was not declared. Should it be static?
    arch/arm/mach-omap2/board-igep0020.c:110:13: warning: symbol 'igep2_flash_init' was not declared. Should it be static?
    arch/arm/mach-omap2/board-am3517evm.c:109:6: warning: symbol 'am3517_evm_ethernet_init' was not declared. Should it be static?
    drivers/mtd/onenand/omap2.c:577:5: warning: symbol 'omap2_onenand_rephase' was not declared. Should it be static?

    Signed-off-by: Manjunath Kondaiah G
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: Nishanth Menon
    Signed-off-by: Tony Lindgren

    Manjunath Kondaiah G