Re: [U-Boot] [PATCH v4 2/3] cfi_flash: convert to driver model

2015-11-06 Thread Simon Glass
Hi Thomas, On 5 November 2015 at 20:34, Thomas Chou wrote: > Hi Simon, > > On 2015年11月06日 11:15, Simon Glass wrote: >>> >>> +config CFI_FLASH >>> + bool "Enable Driver Model for CFI Flash driver" >>> + depends on MTD >>> + help >>> + The Common Flash Interface specificat

Re: [U-Boot] [PATCH v4 2/3] cfi_flash: convert to driver model

2015-11-05 Thread Thomas Chou
Hi Stefan, On 2015年11月06日 14:04, Stefan Roese wrote: Hi Thomas, On 06.11.2015 02:09, Thomas Chou wrote: On 2015年11月03日 21:54, Stefan Roese wrote: On 03.11.2015 14:09, Thomas Chou wrote: Convert cfi flash to driver model. Signed-off-by: Thomas Chou --- v2 add dts binding. add more hel

Re: [U-Boot] [PATCH v4 2/3] cfi_flash: convert to driver model

2015-11-05 Thread Stefan Roese
Hi Thomas, On 06.11.2015 02:09, Thomas Chou wrote: On 2015年11月03日 21:54, Stefan Roese wrote: On 03.11.2015 14:09, Thomas Chou wrote: Convert cfi flash to driver model. Signed-off-by: Thomas Chou --- v2 add dts binding. add more help to Kconfig. move struct platdata to top of file as

Re: [U-Boot] [PATCH v4 2/3] cfi_flash: convert to driver model

2015-11-05 Thread Thomas Chou
Hi Simon, On 2015年11月06日 11:15, Simon Glass wrote: +config CFI_FLASH + bool "Enable Driver Model for CFI Flash driver" + depends on MTD + help + The Common Flash Interface specification was developed by Intel, + AMD and other flash manufactures that provides a u

Re: [U-Boot] [PATCH v4 2/3] cfi_flash: convert to driver model

2015-11-05 Thread Simon Glass
Hi Thomas, On 3 November 2015 at 06:09, Thomas Chou wrote: > Convert cfi flash to driver model. > > Signed-off-by: Thomas Chou > --- > v2 > add dts binding. > add more help to Kconfig. > move struct platdata to top of file as Simon suggested. > v3 > change to MTD uclass. > v4 > fix fdt

Re: [U-Boot] [PATCH v4 2/3] cfi_flash: convert to driver model

2015-11-05 Thread Thomas Chou
Hi Stefan, On 2015年11月03日 21:54, Stefan Roese wrote: On 03.11.2015 14:09, Thomas Chou wrote: Convert cfi flash to driver model. Signed-off-by: Thomas Chou --- v2 add dts binding. add more help to Kconfig. move struct platdata to top of file as Simon suggested. v3 change to MTD ucl

Re: [U-Boot] [PATCH v4 2/3] cfi_flash: convert to driver model

2015-11-03 Thread Stefan Roese
On 03.11.2015 14:09, Thomas Chou wrote: Convert cfi flash to driver model. Signed-off-by: Thomas Chou --- v2 add dts binding. add more help to Kconfig. move struct platdata to top of file as Simon suggested. v3 change to MTD uclass. v4 fix fdt addr and size cells in cfi_flash_pro

[U-Boot] [PATCH v4 2/3] cfi_flash: convert to driver model

2015-11-03 Thread Thomas Chou
Convert cfi flash to driver model. Signed-off-by: Thomas Chou --- v2 add dts binding. add more help to Kconfig. move struct platdata to top of file as Simon suggested. v3 change to MTD uclass. v4 fix fdt addr and size cells in cfi_flash_probe(). move probe uclass to cfi_flash_dm_init(