[U-Boot] [PATCH 2/3] sf: ramtron: Remove page_size print
Jagan Teki
jagannadh.teki at gmail.com
Mon Oct 7 16:30:15 CEST 2013
Applied to u-boot-spi/master
--
Thanks,
Jagan.
On Mon, Oct 7, 2013 at 5:42 PM, Jagannadha Sutradharudu Teki
<jagannadha.sutradharudu-teki at xilinx.com> wrote:
> There is no page_size for ramtron flashes,
> so just print the detected flash and it's size.
>
> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
> ---
> drivers/mtd/spi/ramtron.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/spi/ramtron.c b/drivers/mtd/spi/ramtron.c
> index 55e302c..b2be8e7 100644
> --- a/drivers/mtd/spi/ramtron.c
> +++ b/drivers/mtd/spi/ramtron.c
> @@ -380,8 +380,7 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
> goto err_manufacturer_probe;
> }
>
> - printf("SF: Detected %s with page size ", flash->name);
> - print_size(flash->sector_size, ", total ");
> + printf("SF: Detected %s with total size ", flash->name);
> print_size(flash->size, "");
> puts("\n");
>
> --
> 1.8.3
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
--
Thanks,
Jagan.
--------
Jagannadha Sutradharudu Teki,
E: jagannadh.teki at gmail.com, P: +91-9676773388
Engineer - System Software Hacker
U-boot - SPI Custodian and Zynq APSOC
Ln: http://www.linkedin.com/in/jaganteki
More information about the U-Boot
mailing list