Re: [PATCH 09/10] mtd: st_spi_fsm: Provide mask to obtain correct boot device pins

2014-05-22 Thread Arnd Bergmann
On Thursday 22 May 2014 12:52:16 Lee Jones wrote: > > On Thursday 22 May 2014 12:24:07 Lee Jones wrote: > > > + /* Mask to apply on boot_device_reg */ > > > + ret = of_property_read_u32(np, "st,boot-device-msk", > > > _device_msk); > > > + if (ret) > > > + goto

Re: [PATCH 09/10] mtd: st_spi_fsm: Provide mask to obtain correct boot device pins

2014-05-22 Thread Lee Jones
> On Thursday 22 May 2014 12:24:07 Lee Jones wrote: > > + /* Mask to apply on boot_device_reg */ > > + ret = of_property_read_u32(np, "st,boot-device-msk", > > _device_msk); > > + if (ret) > > + goto boot_device_fail; > > + > > > > The binding defines this

Re: [PATCH 09/10] mtd: st_spi_fsm: Provide mask to obtain correct boot device pins

2014-05-22 Thread Arnd Bergmann
On Thursday 22 May 2014 12:24:07 Lee Jones wrote: > + /* Mask to apply on boot_device_reg */ > + ret = of_property_read_u32(np, "st,boot-device-msk", > _device_msk); > + if (ret) > + goto boot_device_fail; > + > The binding defines this property as "optional",

[PATCH 09/10] mtd: st_spi_fsm: Provide mask to obtain correct boot device pins

2014-05-22 Thread Lee Jones
From: Christophe Kerello This patch adds a mask to be able to get the right boot device selection. For example: for STiH415, value = SYSTEM_STATUS398[4:0] for STiH416, value = SYSTEM_STATUS2598[4:0] for STiH407, value = SYSTEM_STATUS5561[6:2] Signed-off-by: Christophe Kerello

[PATCH 09/10] mtd: st_spi_fsm: Provide mask to obtain correct boot device pins

2014-05-22 Thread Lee Jones
From: Christophe Kerello christophe.kere...@st.com This patch adds a mask to be able to get the right boot device selection. For example: for STiH415, value = SYSTEM_STATUS398[4:0] for STiH416, value = SYSTEM_STATUS2598[4:0] for STiH407, value = SYSTEM_STATUS5561[6:2] Signed-off-by:

Re: [PATCH 09/10] mtd: st_spi_fsm: Provide mask to obtain correct boot device pins

2014-05-22 Thread Arnd Bergmann
On Thursday 22 May 2014 12:24:07 Lee Jones wrote: + /* Mask to apply on boot_device_reg */ + ret = of_property_read_u32(np, st,boot-device-msk, boot_device_msk); + if (ret) + goto boot_device_fail; + The binding defines this property as optional, but the

Re: [PATCH 09/10] mtd: st_spi_fsm: Provide mask to obtain correct boot device pins

2014-05-22 Thread Lee Jones
On Thursday 22 May 2014 12:24:07 Lee Jones wrote: + /* Mask to apply on boot_device_reg */ + ret = of_property_read_u32(np, st,boot-device-msk, boot_device_msk); + if (ret) + goto boot_device_fail; + The binding defines this property as optional,

Re: [PATCH 09/10] mtd: st_spi_fsm: Provide mask to obtain correct boot device pins

2014-05-22 Thread Arnd Bergmann
On Thursday 22 May 2014 12:52:16 Lee Jones wrote: On Thursday 22 May 2014 12:24:07 Lee Jones wrote: + /* Mask to apply on boot_device_reg */ + ret = of_property_read_u32(np, st,boot-device-msk, boot_device_msk); + if (ret) + goto boot_device_fail;