Re: [PATCH 1/1] arm: Fix unavailable MTD userland devices on Excito B3 boards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sat, Feb 07, 2015 at 06:15:12PM +0100, Gordon Bos wrote:
> Hi Andrew,
> 
> Unsure how it can work for you, but this is the corresponding entry
> from the Excito release:
> 
> ---
> |/*****************************************************************************
>  * 2048KB SPI Flash on Boot Device (Numonyx MP25P16)
>  ****************************************************************************/
> 
> static struct mtd_partition bubba3_flash_parts[] = {
>  {
>  .name = "u-boot",
>  .size = SZ_512K+SZ_256K,
>  .offset = 0,
>  },
>  {
>  .name = "env",
>  .size = SZ_128K,
>  .offset = MTDPART_OFS_NXTBLK,
>  },
>  {
>  .name = "data",
>  .size = MTDPART_SIZ_FULL,
>  .offset = MTDPART_OFS_NXTBLK,
>  },
> };
> 
> static const struct flash_platform_data bubba3_flash = {
>  .type = "m25p16",

So the device is a m25p16. 

>  .name = "spi_flash",
>  .parts = bubba3_flash_parts,
>  .nr_parts = ARRAY_SIZE(bubba3_flash_parts),
> };
> 
> static struct spi_board_info __initdata bubba3_spi_slave_info[] = {
>  {
>  .modalias = "m25p80",

And the driver is m25p80.

This is consistent with the current device tree description. 

So what actually happens when you use the mainline DT on your device?

I'm not going to accept any changes until we understand what problems
you have and why it works for me.

Thanks
    Andrew



--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux