29 Nov, 2011

2 commits


28 Nov, 2011

2 commits


22 Nov, 2011

1 commit

  • Both at91 and avr32 defines its own platform data structure for
    the macb driver and both share common structures though at91
    includes a currently unused phy_irq_pin. Create a common
    macb_platform_data for macb that both at91 and avr32 can use. In
    future we can use this to support other architectures that use the
    same IP block with the macb driver.

    v2: rename eth_platform_data to macb_platform_data and allow at91_ether
    to share the platform data with macb.

    Signed-off-by: Jamie Iles
    Acked-by: Nicolas Ferre
    Tested-by: Jean-Christophe PLAGNIOL-VILLARD

    Jamie Iles
     

08 Nov, 2011

1 commit

  • * git://git.infradead.org/mtd-2.6: (226 commits)
    mtd: tests: annotate as DANGEROUS in Kconfig
    mtd: tests: don't use mtd0 as a default
    mtd: clean up usage of MTD_DOCPROBE_ADDRESS
    jffs2: add compr=lzo and compr=zlib options
    jffs2: implement mount option parsing and compression overriding
    mtd: nand: initialize ops.mode
    mtd: provide an alias for the redboot module name
    mtd: m25p80: don't probe device which has status of 'disabled'
    mtd: nand_h1900 never worked
    mtd: Add DiskOnChip G3 support
    mtd: m25p80: add EON flash EN25Q32B into spi flash id table
    mtd: mark block device queue as non-rotational
    mtd: r852: make r852_pm_ops static
    mtd: m25p80: add support for at25df321a spi data flash
    mtd: mxc_nand: preset_v1_v2: unlock all NAND flash blocks
    mtd: nand: switch `check_pattern()' to standard `memcmp()'
    mtd: nand: invalidate cache on unaligned reads
    mtd: nand: do not scan bad blocks with NAND_BBT_NO_OOB set
    mtd: nand: wait to set BBT version
    mtd: nand: scrub BBT on ECC errors
    ...

    Fix up trivial conflicts:
    - arch/arm/mach-at91/board-usb-a9260.c
    Merged into board-usb-a926x.c
    - drivers/mtd/maps/lantiq-flash.c
    add_mtd_partitions -> mtd_device_register vs changed to use
    mtd_device_parse_register.

    Linus Torvalds
     

11 Sep, 2011

1 commit

  • Currently atmel_nand driver used by AT91 and AVR32 calls a special callback
    which return nand partition table and number of partitions. However in all
    boards this callback returns just static data. So drop this callback and
    make atmel_nand use partition table provided statically via platform_data.

    Nicolas Ferre: I am in favor for a mainline inclusion through linux-mtd tree.
    Hans-Christian Egtvedt: I'm fine by sending the changes for AVR32 through linux-mtd

    Signed-off-by: Dmitry Eremin-Solenikov
    Acked-by: Hans-Christian Egtvedt
    Acked-by: Nicolas Ferre
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD
    Signed-off-by: Artem Bityutskiy

    Dmitry Eremin-Solenikov
     

08 Aug, 2011

1 commit


28 Jul, 2011

2 commits


25 May, 2011

2 commits

  • select ARM_PATCH_PHYS_VIRT
    as with ARM_PATCH_PHYS_VIRT you can patch boot_params at runtime or any recent
    bootloader will provide a valid atags pointer in r2

    as point out by Russell on AT91 we never use XIP
    so se do not need PLAT_PHYS_OFFSET

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Cc: Nicolas Ferre
    Cc: Patrice Vilchez
    Cc: Andrew Victor
    Cc: Russell King

    Jean-Christophe PLAGNIOL-VILLARD
     
  • switch early init to init_early and introduce soc map_io

    with this Patch we will not do any more early device setup during the map io

    tks to Russell to point the new call back

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Cc: Nicolas Ferre
    Cc: Patrice Vilchez
    Acked-by: Russell King
    Acked-by: Andrew Victor

    Jean-Christophe PLAGNIOL-VILLARD
     

20 Oct, 2010

1 commit

  • Since we're now using addruart to establish the debug mapping, we can
    remove the io_pg_offst and phys_io members of struct machine_desc.

    The various declarations were removed using the following script:

    grep -rl MACHINE_START arch/arm | xargs \
    sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }'

    [ Initial patch was from Jeremy Kerr, example script from Russell King ]

    Signed-off-by: Nicolas Pitre
    Acked-by: Eric Miao

    Nicolas Pitre
     

21 Sep, 2009

1 commit


02 Dec, 2008

1 commit

  • Convert the SAM9 and CAP9 board-specific files to make use of the
    sam9_smc_configure() method to configure the memory-controller for
    external peripherals.

    The following boards have been modified:
    cam60 : NAND
    cap9adk : NAND, NOR
    qil-a9260 : NAND
    sam9-l9260 : NAND
    sam9260ek : NAND
    sam9261ek : DM9000 Ethernet, NAND
    sam9263 : NAND
    sam9g20ek : NAND
    sam9rlek : NAND
    usb-a9260 : NAND
    usb-a9263 .: NAND

    Signed-off-by: Andrew Victor
    Signed-off-by: Russell King

    Andrew Victor
     

22 Sep, 2008

1 commit


07 Aug, 2008

3 commits


01 Aug, 2008

1 commit

  • Structs called at91_nand_data where renamed to atmel_nand_data
    and configs called *MTD_NAND_AT91* where renamed to
    *MTD_NAND_ATMEL*. This was unfortunately not done consistently,
    causing NAND chips not being initialised on several ARM boards.

    I am aware that the author of the original change did not rename
    MTD_NAND_AT91_BUSWIDTH to MTD_NAND_ATMEL_BUSWIDTH, for example.
    All *MTD_NAND_AT91* where renamed to *MTD_NAND_ATMEL* in order
    to keep naming consistency.

    This patch was only tested on a MACH_SAM9_L9260, as this is the
    only ARM board I have to my disposal.

    Before this patch:

    $ git-ls-files |xargs grep atmel_nand |wc -l
    105
    $ git-ls-files |xargs grep at91_nand |wc -l
    4
    $ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
    8
    $ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
    47

    After this patch:

    $ git-ls-files |xargs grep atmel_nand |wc -l
    109
    $ git-ls-files |xargs grep at91_nand |wc -l
    0
    $ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
    55
    $ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
    0

    Signed-off-by: Pieter du Preez
    Signed-off-by: David Woodhouse

    Pieter du Preez
     

29 Jul, 2008

1 commit


02 Jun, 2008

1 commit