[U-Boot] [PATCH v2 2/3] common: dfu: ignore reset for spl-dfu

2017-05-04 Thread Ravi Babu
The SPL-DFU feature enable to load and execute u-boot from RAM over usb from PC using dfu-util. Hence dfu-reset should not be issued when dfu-util -R switch is issued. Signed-off-by: Ravi Babu --- common/dfu.c | 2 +- common/spl/Kconfig | 4 drivers/dfu/dfu.c | 4 3 files

[U-Boot] [PATCH v3 1/3] spl: Kconfig: dfu: spl-dfu depends on SPL_RAM_SUPPORT

2017-05-04 Thread Ravi Babu
Since SPL_DFU_SUPPORT is depends on SPL_RAM_SUPPORT, hence select SPL_DFU_SUPPORT only when SPL_RAM_SUPPORT is chosen. Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index ea6fbb6

[U-Boot] [PATCH v3 3/3] spl: dfu: reduce spl-dfu MLO size

2017-05-04 Thread Ravi Babu
compile out cli_hush.c for spl/dfu and use cli_simple_run_command for dfu to reduce the spl-dfu memory foot print. Adding CONFIG_SPL_DFU_MMC to Kconfig and use CONFIG_IS_ENABLED(DFU_MMC). Signed-off-by: Ravi Babu --- --- common/Makefile | 1 - drivers/dfu/Kconfig | 5 + drivers/dfu

[U-Boot] [PATCH v3 0/3] spl: dfu: misc fixes and reduce MLO foot print

2017-05-04 Thread Ravi Babu
CONFIG_DFU_MMC for SPL-DFU v2: - added Kconfig option CONFIG_SPL_DFU_MMC and use of CONFIG_IS_ENABLED(DFU_MMC). - compile out cli_hush. and use of cli_simple_run_command() instead of run_command(). - SPL size reduced by ~4K. Ravi Babu (3

[U-Boot] [PATCH v2 3/3] spl: dfu: reduce spl-dfu MLO size

2017-04-27 Thread Ravi Babu
Since spl-dfu does not dfu-reset, there is no need of run_command_cli, hence compiling out cli.c and cli_hush.c to reduce the spl-dfu memory foot print. Signed-off-by: Ravi Babu --- need better way for how to compile out CONFIG_DFU_MMC common/Makefile | 3 +-- drivers/dfu/Makefile | 2

[U-Boot] [PATCH v2 2/3] common: dfu: ignore reset for spl-dfu

2017-04-27 Thread Ravi Babu
The SPL-DFU feature enable to load and execute u-boot over usb from PC using dfu-util. Hence dfu-reset should not be issued when dfu-util -R switch is issued. Signed-off-by: Ravi Babu --- common/dfu.c | 2 +- common/spl/Kconfig | 4 drivers/dfu/dfu.c | 4 3 files changed, 9

[U-Boot] [PATCH v2 1/3] spl: Kconfig: dfu: spl-dfu depends on SPL_RAM_SUPPORT

2017-04-27 Thread Ravi Babu
Since SPL_DFU_SUPPORT is depends on SPL_RAM_SUPPORT, hence select SPL_DFU_SUPPORT only when SPL_RAM_SUPPORT is chosen. Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index ea6fbb6

[U-Boot] [PATCH v2 0/3] spl: dfu: misc fixes and reduce MLO foot print

2017-04-27 Thread Ravi Babu
CONFIG_DFU_MMC for SPL-DFU Ravi Babu (3): spl: Kconfig: dfu: spl-dfu depends on SPL_RAM_SUPPORT common: dfu: ignore reset for spl-dfu spl: dfu: reduce spl-dfu MLO size common/Makefile | 3 +-- common/dfu.c | 2 +- common/spl/Kconfig | 5 + drivers/dfu/Makefile

[U-Boot] [PATCH 2/3] common: dfu: ignore reset for spl-dfu

2017-04-26 Thread Ravi Babu
The SPL-DFU feature enable to load and execute u-boot over usb from PC using dfu-util. Hence dfu-reset should not be issued when dfu-util -R switch is issued. Signed-off-by: Ravi Babu --- common/dfu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/dfu.c b/common/dfu.c index

[U-Boot] [PATCH 1/3] spl: Kconfig: dfu: spl-dfu depends on SPL_RAM_SUPPORT

2017-04-26 Thread Ravi Babu
Since SPL_DFU_SUPPORT is depends on SPL_RAM_SUPPORT, hence select SPL_DFU_SUPPORT only when SPL_RAM_SUPPORT is chosen. Signed-off-by: Ravi Babu --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index ea6fbb6..1231351 100644 --- a

[U-Boot] [PATCH 0/3] spl: dfu: misc fixes and reduce MLO foot print

2017-04-26 Thread Ravi Babu
The patch series spl-dfu fixes includes - select spl-dfu only spl-ram supported - ignore the dfu-reset for spl-dfu - reduce the spl-dfu MLO foot print buildman ran for arm targets Ravi Babu (3): spl: Kconfig: dfu: spl-dfu depends on SPL_RAM_SUPPORT common: dfu: ignore

[U-Boot] [PATCH 3/3] spl: dfu: reduce spl-dfu MLO size

2017-04-26 Thread Ravi Babu
Since spl-dfu does not dfu-reset, there is no need of run_command_cli, hence compiling out cli.c and cli_hush.c to reduce the spl-dfu memory foot print. Signed-off-by: Ravi Babu --- common/Makefile | 3 +-- drivers/dfu/Makefile | 4 +++- include/dfu.h| 8 3 files changed

[U-Boot] [PATCH] spl: dfu: compilation fixes for spl-dfu

2017-04-18 Thread Ravi Babu
This patch fixes the compilation error common/cli_hush.c:3349: undefined reference to 'realloc_simple' The dfu uses run_command(), it is part of cli_hush.c but defining CONFIG_HUSH_PARSER for spl-dfu causes this compilation error. Signed-off-by: Ravi Babu --- common/cli.c | 2

[U-Boot] [PATCH 5/5] boot: fdt: fixup the memory dt nodes falcon boot

2017-04-18 Thread Ravi Babu
In single stage bootmode or falcon boot mode, the SPL shall update the memory dt nodes spl_fixup_fdt() based on DDR configuration for specific platform. Signed-off-by: Ravi Babu --- common/spl/spl.c | 40 1 file changed, 40 insertions(+) diff --git a

[U-Boot] [PATCH 3/5] qspi: dra7xx: enable qspi-boot for dra7x paltform

2017-04-18 Thread Ravi Babu
Enables qspi boot configuration for dra7xx platform. Signed-off-by: Ravi Babu --- configs/dra7xx_evm_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 42f87b3..c510146 100644 --- a/configs/dra7xx_evm_defconfig

[U-Boot] [PATCH 4/5] spl: fdt: support for fdt fixup for falcon boot

2017-04-18 Thread Ravi Babu
Adding support for fdt fixup to update the memory node in device tree for falcon boot. This is needed for single stage or falcon bootmode, to pass memory configuration to kernel through DT memory node. Signed-off-by: Ravi Babu --- arch/arm/lib/Makefile| 1 + arch/arm/lib/bootm-fdt.c | 7

[U-Boot] [PATCH 2/5] arch: arm: omap: Declare size of ddr very early

2017-04-18 Thread Ravi Babu
From: Lokesh Vutla Declare the size of ddr very early in spl, so that this can be used to enable cache. Signed-off-by: Lokesh Vutla Signed-off-by: Ravi Babu --- arch/arm/mach-omap2/am33xx/board.c | 4 arch/arm/mach-omap2/hwinit-common.c | 1 + 2 files changed, 5 insertions(+) diff

[U-Boot] [PATCH 1/5] spl: reorder the assignment of board info to global data

2017-04-18 Thread Ravi Babu
From: Lokesh Vutla Move the assignment of board info to global data a bit early which is safe, so that ram details can be used to enable caches. Signed-off-by: Lokesh Vutla Signed-off-by: Ravi Babu --- common/spl/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[U-Boot] [PATCH 0/5] QSPI: Falcon or single stage boot mode support

2017-04-18 Thread Ravi Babu
: arm: omap: Declare size of ddr very early Ravi Babu (3): qspi: dra7xx: enable qspi-boot for dra7x paltform spl: fdt: support for fdt fixup for falcon boot boot: fdt: fixup the memory dt nodes falcon boot arch/arm/lib/Makefile | 1 + arch/arm/lib/bootm-fdt.c| 7

[U-Boot] [PATCH v1] spl: saveenv: adding saveenv support in SPL

2016-09-28 Thread Ravi Babu
ge to default mode using setenv and save the environemnt. Signed-off-by: Ravi Babu Reviewed-by: Simon Glass change in v1: - dropped SUPPORT, use CONFIG_SPL_SAVEENV - updates the comments in mmc_private.h --- common/spl/Kconfig| 13 + drivers/mmc/Makefil

[U-Boot] [PATCH] spl: saveenv: adding saveenv support in SPL

2016-09-28 Thread Ravi Babu
ge to default mode using setenv and save the environemnt. Signed-off-by: Ravi Babu Reviewed-by: Simon Glass --- common/spl/Kconfig| 13 + drivers/mmc/Makefile | 1 + drivers/mmc/mmc_private.h | 3 +-- lib/Makefile | 1 + lib/hashtable.c | 2

[U-Boot] [PATCH] spl: saveenv: adding saveenv support in SPL

2016-09-26 Thread Ravi Babu
ge to default mode using setenv and save the environemnt. Signed-off-by: Ravi Babu Reviewed-by: Simon Glass --- common/spl/Kconfig| 13 + drivers/mmc/Makefile | 1 + drivers/mmc/mmc_private.h | 3 +-- lib/Makefile | 1 + lib/hashtable.c | 2

[U-Boot] [PATCH] spl: saveenv: adding saveenv support in SPL

2016-09-26 Thread Ravi Babu
ge to default mode using setenv and save the environemnt. Signed-off-by: Ravi Babu --- common/spl/Kconfig| 13 + drivers/mmc/Makefile | 1 + drivers/mmc/mmc_private.h | 3 +-- lib/Makefile | 1 + lib/hashtable.c | 2 +- 5 files changed, 17 ins

[U-Boot] [PATCH] env: tool: add command line option to input lockfile path

2016-09-26 Thread Ravi Babu
reuse the tool across multiple operating system. usage: ./fw_printenv -l Signed-off-by: Ravi Babu --- tools/env/fw_env.h | 1 + tools/env/fw_env_main.c | 35 +-- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/tools/env/fw_env.h b/tools/env

[U-Boot] [PATCH] dra7x: dfu: qspi: increase the qspi spl partition to 256K

2016-09-26 Thread Ravi Babu
The SPL size for dra7x platform increased beyond 64K, increasing the size to 256K to cater for future enhancement. Signed-off-by: Ravi Babu --- include/configs/dra7xx_evm.h | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/include/configs/dra7xx_evm.h b/include

[U-Boot] [PATCH] dra7x: dfu: qspi: increase the qspi spl partition to 256K

2016-09-26 Thread Ravi Babu
The SPL size for dra7x platform increased beyond 64K, increasing the size to 256K to cater for future enhancement. Signed-off-by: Ravi Babu --- include/configs/dra7xx_evm.h | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/include/configs/dra7xx_evm.h b/include

[U-Boot] [PATCH] dra7xx: config: cleanup: moved to kconfig for CONFIG_SPL_ENV_SUPPORT

2016-09-26 Thread Ravi Babu
removing CONFIG_SPL_ENV_SUPPORT defined in header files due to moved to kconfig option for CONFIG_SPL_ENV_SUPPORT Signed-off-by: Ravi Babu --- include/configs/dra7xx_evm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index

[U-Boot] [RFC v1 PATCH] ARM7: Kconfig: cache: fix cacheline size based on arm type

2016-08-25 Thread Ravi Babu
: Ravi Babu Reviewed-by: Lukasz Majewski --- arch/arm/Kconfig | 11 +++ arch/arm/include/asm/armv7.h |1 + arch/arm/include/asm/cache.h |5 + 3 files changed, 17 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index aef901c..776d3b7 100644 --- a/arch

[U-Boot] [RFC PATCH v3 5/5] dra7x: configs: enable SPL-DFU support

2016-07-28 Thread Ravi Babu
This patch enables the SPL-DFU support for dra7x platform. Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- include/configs/dra7xx_evm.h | 20 +++- include/configs/ti_omap5_common.h |2 -- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/include

[U-Boot] [RFC PATCH v3 4/5] dra7x: boot: add dfu bootmode support

2016-07-28 Thread Ravi Babu
This patch enables the DFU boot mode support for dra7x platform. Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/boot-common.c |5 + arch/arm/include/asm/arch-omap5/spl.h|2 +- common/spl/spl.c | 10

[U-Boot] [RFC PATCH v3 3/5] spl: dfu: adding dfu support functions for SPL-DFU

2016-07-28 Thread Ravi Babu
Adding support functions to run dfu spl commands. Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- common/spl/Makefile |1 + common/spl/spl_dfu.c | 57 ++ include/spl.h|8 +++ 3 files changed, 66 insertions(+) create

[U-Boot] [RFC PATCH v3 2/5] common: dfu: saperate the dfu common functionality

2016-07-28 Thread Ravi Babu
The cmd_dfu functionality is been used by both SPL and u-boot, saperating the core dfu functionality moving it to common/dfu.c. Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- cmd/dfu.c | 61 ++ common/Makefile |2 ++ common/dfu.c| 87

[U-Boot] [RFC PATCH v3 1/5] spl: dfu: add dfu support in SPL

2016-07-28 Thread Ravi Babu
oot Images->Enable SPL-DFU support Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- Kconfig | 27 +++ common/Makefile |1 + scripts/Makefile.spl |4 3 files changed, 32 insertions(+) diff --git a/Kconfig b/Kconfig index ef12f9f..d

[U-Boot] [RFC PATCH v3 0/5] SPL: DFU Support in SPL

2016-07-28 Thread Ravi Babu
ot dfu functionality to flash binaries to SPI, eMMC etc. - saperated the common dfu code used by SPL and u-boot to common/dfu.c Ravi Babu (5): spl: dfu: add dfu support in SPL common: dfu: saperate the dfu common functionality spl: dfu: adding dfu support functions for S

[U-Boot] [PATCH] Kconfig: dra7x: Kconfig based PHYS_64BIT select based on Soc type

2016-07-26 Thread Ravi Babu
type at Kconfig, so it will apply across all source files. [1] commit 95ebc253e6d4a3370e3dab14743bfc99fcd9cf1b types.h: move and redefine resource_size_t Signed-off-by: Ravi Babu --- arch/arm/cpu/armv7/omap5/Kconfig |1 + include/configs/dra7xx_evm.h |1 - 2 files changed, 1 insertion

[U-Boot] [RFC PATCH v2 0/5] SPL: DFU Support in SPL

2016-07-21 Thread Ravi Babu
er SPI flash devices - SPL+DFU loads and execute u-boot and leaverage u-boot dfu functionality to flash binaries to SPI, eMMC etc. - saperated the common dfu code used by SPL and u-boot to common/dfu.c Ravi Babu (5): spl: dfu: add dfu support in SPL

[U-Boot] [RFC PATCH v2 4/5] dra7x: boot: add dfu bootmode support

2016-07-21 Thread Ravi Babu
This patch enables the DFU boot mode support for dra7x platform. Signed-off-by: Ravi Babu --- arch/arm/cpu/armv7/omap-common/boot-common.c |5 + arch/arm/include/asm/arch-omap5/spl.h|2 +- common/spl/spl.c | 10 +- 3 files changed, 15

[U-Boot] [RFC PATCH v2 1/5] spl: dfu: add dfu support in SPL

2016-07-21 Thread Ravi Babu
oot Images->Enable SPL-DFU support Signed-off-by: Ravi Babu --- Kconfig | 27 +++ common/Makefile |1 + common/command.c |2 +- scripts/Makefile.spl |4 4 files changed, 33 insertions(+), 1 deletion(-) diff --git a/Kconfig b/K

[U-Boot] [RFC PATCH v2 5/5] dra7x: configs: enable SPL-DFU support

2016-07-21 Thread Ravi Babu
This patch enables the SPL-DFU support for dra7x platform. Signed-off-by: Ravi Babu --- include/configs/dra7xx_evm.h | 19 ++- include/configs/ti_omap5_common.h |2 -- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/include/configs/dra7xx_evm.h b

[U-Boot] [RFC PATCH v2 3/5] spl: dfu: adding dfu support functions for SPL-DFU

2016-07-21 Thread Ravi Babu
Adding support functions to run dfu spl commands. Signed-off-by: Ravi Babu --- common/spl/Makefile |1 + common/spl/spl_dfu.c | 57 ++ include/spl.h|8 +++ 3 files changed, 66 insertions(+) create mode 100644 common/spl

[U-Boot] [RFC PATCH v2 2/5] common: dfu: saperate the dfu common functionality

2016-07-21 Thread Ravi Babu
The cmd_dfu functionality is been used by both SPL and u-boot, saperating the core dfu functionality moving it to common/dfu.c. Signed-off-by: Ravi Babu --- cmd/dfu.c | 61 ++ common/Makefile |2 ++ common/dfu.c| 88

[U-Boot] [PATCH] usb: dwc3: fixes crash in dwc3 driver due to types size mismatch

2016-07-21 Thread Ravi Babu
he define with #ifdef __KERNEL__ ... #endif to avoid build errors in tools building. (Host tools should not include in the first place, but this is already messy in U-Boot...) >>Signed-off-by: Masahiro Yamada >>Reviewed-by: Simon Glass Signed-off-by: Ravi Babu --- drivers/usb/dw

[U-Boot] [PATCH] driver: qspi: correct QSPI disable CS reset value

2016-06-21 Thread Ravi Babu
From: Praneeth Bajjuri Correcting QSPI disable/unselect CS reset value. CTRL_CORE_CONTROL_IO_2: QSPI_MEMMAPPED_CS[10:8] This is not causing any issue, but its better to untouch the reserved bits. Praneeth Bajjuri Signed-off-by: Ravi Babu --- drivers/spi/ti_qspi.c |2 +- 1 file changed

[U-Boot] [RFC PATCH v1 6/6] dfu: spl: am335x: SPL-DFU support for am335x

2016-06-14 Thread Ravi Babu
enable the SPL-DFU support for am335x platform. Signed-off-by: Ravi Babu --- Kconfig |2 +- board/ti/am335x/board.c | 15 +++ common/spl/spl_dfu.c |1 + include/configs/am335x_evm.h | 17 - 4 files changed, 33 insertions

[U-Boot] [RFC PATCH v1 0/6] SPL: DFU Support in SPL

2016-06-14 Thread Ravi Babu
://pastebin.ubuntu.com/16730701/ [2] http://pastebin.ubuntu.com/16730765/ [3] http://www.ti.com/lit/an/sprac33/sprac33.pdf Ravi Babu (6): spl: dfu: add dfu support in SPL spl: dfu: adding dfu support functions for SPL-DFU dfu: spl: add generic spl-dfu function in common-spl dra7x: spl: dfu

[U-Boot] [RFC PATCH v1 5/6] dfu: spl: dra7x: enable SPL-dfu support for dra7x platform

2016-06-14 Thread Ravi Babu
Enable the SPL-DFU support for dra7x platform. Signed-off-by: Ravi Babu --- include/configs/dra7xx_evm.h |8 include/configs/ti_omap5_common.h |2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h

[U-Boot] [RFC PATCH v1 3/6] dfu: spl: add generic spl-dfu function in common-spl

2016-06-14 Thread Ravi Babu
Add generic spl-dfu function in common-spl, specific implemention for configuring dfu memory device is done in platform board specific source file. Signed-off-by: Ravi Babu --- common/spl/spl.c |9 + include/spl.h|1 + 2 files changed, 10 insertions(+) diff --git a/common

[U-Boot] [RFC PATCH v1 4/6] dra7x: spl: dfu: adding SPL-DFU support for dra7x platform

2016-06-14 Thread Ravi Babu
Adding SPL-DFU support for dra7x platform. The DFU support for dra7x includes QSPI, MMC/SD and eMMC memory devices. The SPL-DFU memory devices can be selected through meunconfig->Boot Images. --- board/ti/dra7xx/evm.c | 17 + 1 file changed, 17 insertions(+) diff --git a/board/t

[U-Boot] [RFC PATCH v1 2/6] spl: dfu: adding dfu support functions for SPL-DFU

2016-06-14 Thread Ravi Babu
Adding support functions to run dfu commands Signed-off-by: Ravi Babu --- common/spl/Makefile |1 + common/spl/spl_dfu.c | 153 ++ include/spl.h| 10 3 files changed, 164 insertions(+) create mode 100644 common/spl/spl_dfu.c

[U-Boot] [RFC PATCH v1 1/6] spl: dfu: add dfu support in SPL

2016-06-14 Thread Ravi Babu
SPL to flash boot inital binary images to factory or bare-metal boards to memory devices like SPI, eMMC, MMC/SD card using USB interface. This SPL-DFU support can be enabled through Menuconfig->Boot Images->Enable SPL-DFU support Signed-off-by: Ravi Babu --- Kconfig

[U-Boot] [PATCH v1] ti_armv7_common: env: Fix hard coded mmc device for uuid

2016-06-03 Thread Ravi Babu
Avoid use of hard coded mmcdev value, use bootpart instead, so finduuid works based on bootpart set for a specific platform. Signed-off-by: Ravi Babu --- include/configs/ti_armv7_common.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ti_armv7_common.h

[U-Boot] [PATCH] ti_armv7_common: env: Fix hard coded mmc device for uuid

2016-06-02 Thread Ravi Babu
Avoid use of hard coded mmcdev value so finduuid works based on current mmcdev selected. Signed-off-by: Ravi Babu --- include/configs/ti_armv7_common.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h

[U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-27 Thread Ravi Babu
SPL to flash boot inital binary images to factory or bare-metal boards to memory devices like SPI, eMMC, MMC/SD card using USB interface. This SPL-DFU support can be enabled through Menuconfig->Boot Images->Enable SPL-DFU support Signed-off-by: Ravi Babu --- Kconfig

[U-Boot] [RFC PATCH 0/5] SPL: DFU Support in SPL

2016-05-27 Thread Ravi Babu
] http://www.ti.com/lit/an/sprac33/sprac33.pdf Ravi Babu (5): spl: dfu: add dfu support in SPL spl: dfu: fs: adding ext4/fat filesystem support for SPL-DFU spl: dfu: adding dfu support functions for SPL-DFU dfu: spl: add generic spl-dfu function in common-spl dra7x: spl: dfu: adding SPL

[U-Boot] [RFC PATCH 4/5] dfu: spl: add generic spl-dfu function in common-spl

2016-05-27 Thread Ravi Babu
Add generic spl-dfu function in common-spl, specific implemention for configuring dfu memory device is done in platform board specific source file. Signed-off-by: Ravi Babu --- common/spl/spl.c | 11 +++ include/spl.h|1 + 2 files changed, 12 insertions(+) diff --git a/common

[U-Boot] [RFC PATCH 5/5] dra7x: spl: dfu: adding SPL-DFU support for dra7x platform

2016-05-27 Thread Ravi Babu
Adding SPL-DFU support for dra7x platform. The DFU support for dra7x includes QSPI, MMC/SD and eMMC memory devices. The SPL-DFU memory devices can be selected through meunconfig->Boot Images. Signed-off-by: Ravi Babu --- board/ti/dra7xx/evm.c | 20 incl

[U-Boot] [RFC PATCH 3/5] spl: dfu: adding dfu support functions for SPL-DFU

2016-05-27 Thread Ravi Babu
Adding support functions to run dfu commands with support for eMMC/MMC/SD memory device. Signed-off-by: Ravi Babu --- drivers/dfu/dfu.c | 28 drivers/dfu/dfu_mmc.c | 28 include/dfu.h |8 3 files changed, 64

[U-Boot] [RFC PATCH 2/5] spl: dfu: fs: adding ext4/fat filesystem support for SPL-DFU

2016-05-27 Thread Ravi Babu
Adding ext4/fat filesytem support for SPL-DFU to write ext4/fat files to eMMC, MMC/SD device Signed-off-by: Ravi Babu --- cmd/Makefile|9 + common/Makefile |4 +++- fs/Makefile | 12 +++- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/cmd