diff options
author | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2013-10-07 14:04:56 (GMT) |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2013-10-07 14:04:56 (GMT) |
commit | ce22b922dd1fdd3f6cb25660e6e845d4f1cb4f70 (patch) | |
tree | 9b2e0f2d5b15e2c4281fe0adad942eb2a943f3de /drivers/mtd/spi/ramtron.c | |
parent | 2f24223ae150d9496694885cee401f4525b72acb (diff) | |
download | u-boot-fsl-qoriq-ce22b922dd1fdd3f6cb25660e6e845d4f1cb4f70.tar.xz |
sf: Minor cleanups
- Add spaces, tabs
- Commenting.
- Rearrange code.
- Add static qualifier for missing func.
- Remove memory_map from ramtron.c
- Ramtron: spi_flash_internal.h -> sf_internal.h
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'drivers/mtd/spi/ramtron.c')
-rw-r--r-- | drivers/mtd/spi/ramtron.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/spi/ramtron.c b/drivers/mtd/spi/ramtron.c index c9701d0..7367e7a 100644 --- a/drivers/mtd/spi/ramtron.c +++ b/drivers/mtd/spi/ramtron.c @@ -36,7 +36,7 @@ #include <common.h> #include <malloc.h> #include <spi_flash.h> -#include "spi_flash_internal.h" +#include "sf_internal.h" /* * Properties of supported FRAMs @@ -383,8 +383,6 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, printf("SF: Detected %s with page size ", flash->name); print_size(flash->sector_size, ", total "); print_size(flash->size, ""); - if (flash->memory_map) - printf(", mapped at %p", flash->memory_map); puts("\n"); spi_release_bus(spi); |