[U-Boot] [PATCH] omap3evm: Use GENERATED_GBL_DATA_SIZE

2010-11-29 Thread Sanjeev Premi
The macro CONFIG_SYS_GBL_DATA_SIZE has been replaced with GENERATED_GBL_DATA_SIZE. Also define macros: CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE. Based on changes for omap3_beagle in the commit: 31bfcf1c5776df3d90286aa15104c45096d53dc6 Signed-off-by: Sanjeev Premi pr...@ti.com

[U-Boot] [PATCH] ARMv7: Fix linker errors across toolchain versions

2010-12-01 Thread Sanjeev Premi
=2 Signed-off-by: Sanjeev Premi pr...@ti.com --- The patch touches all ARMv7 architectures, will need to be reviewed thoroughly. I am getting hang of relocation feature, but definitely hands-on. Impact would have to be reviewd as well. This is the reason for sending the patch early - before i

[U-Boot] [PATCH] omap3evm: Clean-up EVM detection code.

2010-12-02 Thread Sanjeev Premi
This patch does following changes: * Change the type (u8 - int) for omap3_evm_version. * Introduce an 'undefined' board revision for init value. * Use of #define instead of magic numbers Signed-off-by: Sanjeev Premi pr...@ti.com --- board/ti/evm/evm.c | 39

[U-Boot] [PATCH] Fix build failure in examples/standalone

2009-11-06 Thread Sanjeev Premi
-by: Sanjeev Premi pr...@ti.com --- examples/standalone/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile index 5e2f2bc..61f3be1 100644 --- a/examples/standalone/Makefile +++ b/examples/standalone/Makefile

[U-Boot] [PATCH v2] Fix build failure in examples/standalone

2009-11-09 Thread Sanjeev Premi
: no input files make[1]: *** [.c] Error 1 make[1]: Leaving directory `/home/sanjeev/u-boot/examples/standalone' make: *** [examples/standalone] Error 2 premi # Signed-off-by: Sanjeev Premi pr...@ti.com --- examples/standalone/Makefile |8 +++- 1 files changed, 7 insertions(+), 1 deletions

[U-Boot] [PATCH 1/2] omap3: Identify the CPU in arch_cpu_init()

2009-12-15 Thread Sanjeev Premi
to define CONFIG_ARCH_CPU_INIT. - Updates get_cpu_rev() to return value calculated in arch_cpu_init(). - Since revision isn't expected to be longer than 8bits, get_cpu_rev() return a u8 value instead of u32. Signed-off-by: Sanjeev Premi pr...@ti.com --- cpu/arm_cortexa8/omap3/sys_info.c

[U-Boot] [PATCH 0/2] omap3: Optimize detection of cpu revision

2009-12-15 Thread Sanjeev Premi
needs to be called twice. At the moment, it is necessary/ unavoidable. Sanjeev Premi (2): omap3: Identify the CPU in arch_cpu_init() omap3: Identify cpu in s_init() cpu/arm_cortexa8/omap3/board.c |2 + cpu/arm_cortexa8/omap3/sys_info.c | 73

[U-Boot] [PATCH 2/2] omap3: Identify cpu in s_init()

2009-12-15 Thread Sanjeev Premi
' address space. So, identify_cpu() is called again in arch_cpu_init(). Signed-off-by: Sanjeev Premi pr...@ti.com --- cpu/arm_cortexa8/omap3/board.c |2 ++ cpu/arm_cortexa8/omap3/sys_info.c | 17 +++-- include/asm-arm/arch-omap3/sys_proto.h |1 + 3 files changed

[U-Boot] [PATCH 1/4] AM35x: Introduce support for AM35x processors

2009-12-15 Thread Sanjeev Premi
=Applications_Processors_Crossreference [4] http://marc.info/?l=linux-omapm=125615009412281w=2 Signed-off-by: Sanjeev Premi pr...@ti.com --- cpu/arm_cortexa8/omap3/sys_info.c | 42 include/asm-arm/arch-omap3/omap3.h | 14 ++ include/asm-arm

[U-Boot] [PATCH 2/4] OMAP3, AM35x: Detect exact CPU in arch_cpu_init()

2009-12-15 Thread Sanjeev Premi
to identify exact CPU id. Signed-off-by: Sanjeev Premi pr...@ti.com --- cpu/arm_cortexa8/omap3/sys_info.c | 55 ++- include/asm-arm/arch-omap3/cpu.h |6 include/asm-arm/arch-omap3/omap3.h | 26 +++- 3 files changed, 77 insertions(+), 10

[U-Boot] [PATCH 4/4] OMAP3, AM35x: Update the checks for CPU revision

2009-12-15 Thread Sanjeev Premi
The usage of get_cpu_rev() to check for cpu revision is no longer appropriate - after updates in previous patches. This patch ensures correct usage. Signed-off-by: Sanjeev Premi pr...@ti.com --- cpu/arm_cortexa8/omap3/cache.S | 30 -- cpu/arm_cortexa8/omap3/clock.c

[U-Boot] [PATCH 3/4] OMAP3, AM35x: Update function print_cpuinfo()

2009-12-15 Thread Sanjeev Premi
The function is updated to make use of the cpu related information extracted in arch_cpu_init(). Signed-off-by: Sanjeev Premi pr...@ti.com --- cpu/arm_cortexa8/omap3/sys_info.c | 45 1 files changed, 30 insertions(+), 15 deletions(-) diff --git a/cpu

[U-Boot] [PATCH] Fix compile issue

2009-04-02 Thread Sanjeev Premi
Signed-off-by: Sanjeev Premi pr...@ti.com --- cpu/arm_cortexa8/omap3/board.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/arm_cortexa8/omap3/board.c b/cpu/arm_cortexa8/omap3/board.c index 7bb3e28..15ea936 100644 --- a/cpu/arm_cortexa8/omap3/board.c +++ b/cpu

[U-Boot] [PATCHv2] OMAP: Fix compile issue

2009-04-03 Thread Sanjeev Premi
This is due to the fact that current command uses long help for the usage print even if the CONFIG_SYS_LONGHELP is not enabled. (Thanks Jean-Christophe for explanation). Signed-off-by: Sanjeev Premi pr...@ti.com --- cpu/arm_cortexa8/omap3/board.c |2 +- 1 files changed, 1 insertions(+), 1

[U-Boot] [PATCH] OMAP3: Print correct silicon revision

2009-04-21 Thread Sanjeev Premi
The function display_board_info() displays the silicon revision as 2 - based on the return value from get_cpu_rev(). This is incorrect as the current Si version is 3.1 This patch displays the correct version; but does not change get_cpu_rev() to minimize the code impact. Signed-off-by: Sanjeev

[U-Boot] [PATCH 0/2] OMAP3: Board specific updates

2009-04-24 Thread Sanjeev Premi
a quick hack into complete solution. Sanjeev Premi (2): OMAP3: Remove unused board-types OMAP3: Print correct silicon revision board/omap3/beagle/beagle.h|2 - board/omap3/evm/evm.h |2 - board/omap3/overo/overo.h |2 - board/omap3/pandora

[U-Boot] [PATCH 1/2] OMAP3: Remove unused board-types

2009-04-24 Thread Sanjeev Premi
The board-types defined in struct omap3_sysinfo seem to be unused. The function display_board_info() is passed board type as an argument; which is ignored. This patch removes all uses of board-type, related definitions and functions. Signed-off-by: Sanjeev Premi pr...@ti.com --- board/omap3

[U-Boot] [PATCH 2/2] OMAP3: Print correct silicon revision

2009-04-24 Thread Sanjeev Premi
The function display_board_info() displays incorrect silicon revision - based on the return value from function get_cpu_rev(). This patch fixes the problem. Signed-off-by: Sanjeev Premi pr...@ti.com --- cpu/arm_cortexa8/cpu.c |4 ++-- cpu/arm_cortexa8/omap3/clock.c |5

[U-Boot] [PATCHv3 0/3] OMAP3: Board specific updates

2009-04-27 Thread Sanjeev Premi
. Thanks to Dirk Behme [dirk.be...@googlemail.com] for converting a quick hack into complete solution. Sanjeev Premi (3): OMAP3: Use functions print_cpuinfo() and checkboard() OMAP3: Remove unused board-types OMAP3: Print correct silicon revision board/omap3/beagle/beagle.h|2

[U-Boot] [PATCHv3 1/3] OMAP3: Use functions print_cpuinfo() and checkboard()

2009-04-27 Thread Sanjeev Premi
- CONFIG_DISPLAY_BOARDINFO Signed-off-by: Sanjeev Premi pr...@ti.com --- cpu/arm_cortexa8/omap3/board.c | 24 ++-- cpu/arm_cortexa8/omap3/sys_info.c | 103 +++- include/asm-arm/arch-omap3/sys_proto.h |1 - include/configs/omap3_beagle.h |6

[U-Boot] [PATCHv3 2/3] OMAP3: Remove unused board-types

2009-04-27 Thread Sanjeev Premi
The board-types defined in struct omap3_sysinfo seem to be unused. The function display_board_info() is passed board type as an argument; which is ignored. This patch removes all uses of board-type, related definitions and functions. Signed-off-by: Sanjeev Premi pr...@ti.com --- board/omap3

[U-Boot] [PATCHv3 3/3] OMAP3: Print correct silicon revision

2009-04-27 Thread Sanjeev Premi
The function display_board_info() displays incorrect silicon revision - based on the return value from function get_cpu_rev(). This patch fixes the problem. Signed-off-by: Sanjeev Premi pr...@ti.com --- cpu/arm_cortexa8/cpu.c |4 ++-- cpu/arm_cortexa8/omap3/clock.c |5

[U-Boot] [PATCHv4 0/3] OMAP3: Board specific updates

2009-04-27 Thread Sanjeev Premi
tested on OMAP3EVM with ES 3.0 and ES3.1 silicon versions. Thanks to Dirk Behme [dirk.be...@googlemail.com] for converting a quick hack into complete solution. Sanjeev Premi (3): OMAP3: Use functions print_cpuinfo() and checkboard() OMAP3: Remove unused board-types OMAP3: Print correct

[U-Boot] [PATCHv4 2/3] OMAP3: Remove unused board-types

2009-04-27 Thread Sanjeev Premi
The board-types defined in struct omap3_sysinfo seem to be unused. The function display_board_info() is passed board type as an argument; which is ignored. This patch removes all uses of board-type, related definitions and functions. Signed-off-by: Sanjeev Premi pr...@ti.com --- board/omap3

[U-Boot] [PATCH] OMAP3EVM: Set default bootfile

2009-05-05 Thread Sanjeev Premi
gateway 192.168.1.1 Filename 'AC18BE16.img'. Load address: 0x8200 Loading: * TFTP error: 'File not found' (1) Signed-off-by: Sanjeev Premi pr...@ti.com --- include/configs/omap3_evm.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/omap3_evm.h b/include

[U-Boot] [PATCH] omap3evm: Support relocation

2010-10-19 Thread Sanjeev Premi
This patch adds relocation support for omap3evm. Content of the patch is based on changes for Beagleboard. Signed-off-by: Sanjeev Premi pr...@ti.com --- board/ti/evm/config.mk |2 +- include/configs/omap3_evm.h |6 ++ 2 files changed, 7 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH] omap3evm: Wrap function under CONFIG_USB_OMAP3

2010-10-19 Thread Sanjeev Premi
The function omap3_evm_need_extvbus() is required only when USB support is configured. Wrapped this function in #ifdef CONFIG_USB_OMAP3. Signed-off-by: Sanjeev Premi pr...@ti.com --- board/ti/evm/evm.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/board/ti/evm/evm.c

[U-Boot] [PATCH] omap3evm: Move function to identify board revision

2010-10-19 Thread Sanjeev Premi
comment to set the context. Signed-off-by: Sanjeev Premi pr...@ti.com --- board/ti/evm/evm.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index 73330db..6163b12 100644 --- a/board/ti/evm/evm.c +++ b/board/ti/evm/evm.c

[U-Boot] [PATCH] omap3evm: Wrap function under CONFIG_CMD_NET

2010-10-19 Thread Sanjeev Premi
The call to function setup_net_chip() is wrapped inside #ifdef CONFIG_CMD_NET, but the implementation wasn't. Signed-off-by: Sanjeev Premi pr...@ti.com --- board/ti/evm/evm.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index

[U-Boot] [PATCH 0/1] omap3evm: Reduce overall boot-time

2010-10-19 Thread Sanjeev Premi
CONFIG_CMD_NET Sanjeev Premi (1): omap3evm: Support for fast boot include/configs/omap3_evm.h | 138 +++ 1 files changed, 138 insertions(+), 0 deletions(-) -- 1.7.2.2 ___ U-Boot mailing list U-Boot

[U-Boot] [PATCH 1/1] omap3evm: Support for fast boot

2010-10-19 Thread Sanjeev Premi
/commands. It allows initialization of unused devices to be skipped. Less time to load the binary and selective initialization results in considerable reduction in the boot time. Signed-off-by: Sanjeev Premi pr...@ti.com --- include/configs/omap3_evm.h | 138

[U-Boot] [PATCH] omap3evm: Fix mechanism to identify board revision

2010-10-20 Thread Sanjeev Premi
to setup_net_chip(). Function setup_net_chip() should be ideally be called only when CONFIG_CMD_NET is defined. But this leaves the board revision undetected. This patch allows static definition of revision or default fallback to the latest revision. Signed-off-by: Sanjeev Premi pr...@ti.com --- board

[U-Boot] [PATCH v2] omap3evm: Support for quick boot

2010-10-27 Thread Sanjeev Premi
/commands. It allows initialization of unused devices to be skipped. Less time to load the binary and selective initialization results in considerable reduction in the boot time. Signed-off-by: Sanjeev Premi pr...@ti.com --- v2: Replaced occurences of fast with quick to avoid any confusion

[U-Boot] [RFC 0/3] omap3evm: Add support for quick boot

2010-10-28 Thread Sanjeev Premi
=128818664024766w=2 There could be compilation issues as I have not tried building the u-boot with these changes; but will sort them (if any) for final submission. Sanjeev Premi (3): omap3evm: Move generic config options in common file omap3evm: Update configuration to use common definitions

[U-Boot] [RFC 1/3] omap3evm: Move generic config options in common file

2010-10-28 Thread Sanjeev Premi
for example) another file omap3_evm_full.h in next patch. Signed-off-by: Sanjeev Premi pr...@ti.com --- include/configs/omap3_evm_common.h | 269 1 files changed, 269 insertions(+), 0 deletions(-) create mode 100644 include/configs/omap3_evm_common.h diff --git

[U-Boot] [RFC 2/3] omap3evm: Update configuration to use common definitions

2010-10-28 Thread Sanjeev Premi
patch in this series. Signed-off-by: Sanjeev Premi pr...@ti.com --- Unlike previous patch, contents of this file are yet to be moved (based on relation). Shall be done in final patch. include/configs/omap3_evm_full.h | 160 ++ 1 files changed, 160 insertions

[U-Boot] [RFC 3/3] omap3evm: Add support for quick boot

2010-10-28 Thread Sanjeev Premi
/commands. It allows initialization of unused devices to be skipped. Less time to load the binary and selective initialization results in considerable reduction in overall boot time. Signed-off-by: Sanjeev Premi pr...@ti.com --- include/configs/omap3_evm_quick.h | 155

[U-Boot] [RFCv2 0/3] Add support for quick boot

2010-10-29 Thread Sanjeev Premi
for successful build for current configuration. Patches (b) and (c) were required for successful build of quick configurations. I am yet to test these on this patchset. Will do before final submission. Sanjeev Premi (3): omap3evm: Reorder related config options omap3evm: move common config

[U-Boot] [RFCv2 1/3] omap3evm: Reorder related config options

2010-10-29 Thread Sanjeev Premi
This patch brings related config options together. Some formatting changes were also done for consistent look-n-feel after the movement. The patch doesn't make/include any other functional change. Signed-off-by: Sanjeev Premi pr...@ti.com --- include/configs/omap3_evm.h | 404

[U-Boot] [RFCv2 2/3] omap3evm: move common config options to new file

2010-10-29 Thread Sanjeev Premi
This patch moves common config options to a new file. Common options can now be included in other board configs for this evm. Signed-off-by: Sanjeev Premi pr...@ti.com --- include/configs/omap3_evm.h| 210 ++ include/configs/omap3_evm_common.h | 226

[U-Boot] [RFCv2 3/3] omap3evm: Add quick boot configurations

2010-10-29 Thread Sanjeev Premi
This patch adds 2 configurations for quick boot on the omap3evm - based on chosen boot media. Signed-off-by: Sanjeev Premi pr...@ti.com --- boards.cfg |2 + include/configs/omap3_evm_quick_mmc.h | 53 include/configs

[U-Boot] [PATCHv2 0/2] omap3evm: Add support for EFI partitions

2011-11-15 Thread Sanjeev Premi
/include/configs/omap3_evm_common.h REF: http://lists.denx.de/pipermail/u-boot/2011-November/109895.html Sanjeev Premi (2): part_efi: Fix compile errors omap3evm: Add support for EFI partitions disk/part_efi.c |6 +++--- include/configs/omap3_evm.h |1 + 2 files changed, 4

[U-Boot] [PATCHv2 1/2] part_efi: Fix compile errors

2011-11-15 Thread Sanjeev Premi
'alloc_read_gpt_entries': part_efi.c:384:18: error: 'CONFIG_SYS_CACHELINE_SIZE' undeclare d (first use in this function) Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Tom Rini tom.r...@gmail.com Cc: Anton staaf robot...@chromium.org --- Changes since v1: * Use ARCH_DMA_MINALIGN instead

[U-Boot] [PATCHv2 2/2] omap3evm: Add support for EFI partitions

2011-11-15 Thread Sanjeev Premi
Defines CONFIG_EFI_PARTITION for OMAP3 EVM. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com Cc: Tom Rini tom.r...@gmail.com --- Changes since v1: * Removed definition of CONFIG_SYS_CACHELINE_SIZE as it is no longer needed - since ARCH_DMA_MINALIGN is being

[U-Boot] [PATCH] omap3: Include array definition only when it is used

2011-06-21 Thread Sanjeev Premi
The array of strings corresponding to cpu revision is used only when CONFIG_DISPLAY_CPUINFO is selected - in the function print_cpuinfo(). Enclose definition of this array in #ifdef...#endif for the same. Signed-off-by: Sanjeev Premi pr...@ti.com --- arch/arm/cpu/armv7/omap3/sys_info.c |3

[U-Boot] [PATCH 0/3] omap3evm: Generic ethernet fixes

2011-06-22 Thread Sanjeev Premi
function reset_net_chip() - called after board revision has been detected/ identified. Sanjeev Premi (2): omap3evm: eth: split function setup_net_chip omap3evm: eth: Include functions only when necessary Sriramakrishnan (1): omap3evm: Update ethernet reset sequence for Rev.G board board/ti

[U-Boot] [PATCH 1/3] omap3evm: eth: split function setup_net_chip

2011-06-22 Thread Sanjeev Premi
In current implementation, the function sets up the ethernet chip and resets it. The steps to reset depend upon the board revision. The patch moves the reset actions to new function reset_net_chip(). Signed-off-by: Sanjeev Premi pr...@ti.com --- board/ti/evm/evm.c | 12 +++- board/ti

[U-Boot] [PATCH 2/3] omap3evm: Update ethernet reset sequence for Rev.G board

2011-06-22 Thread Sanjeev Premi
From: Sriramakrishnan s...@ti.com The GPIO pin used for resetting the external LAN chip has changed for Rev.G board. Signed-off-by: Sriramakrishnan s...@ti.com Signed-off-by: Sanjeev Premi pr...@ti.com --- board/ti/evm/evm.c | 27 ++- 1 files changed, 18 insertions

[U-Boot] [PATCH 3/3] omap3evm: eth: Include functions only when necessary

2011-06-22 Thread Sanjeev Premi
These functions are not required when CONFIG_CMD_NET is not defined: - setup_net_chip() - reset_net_chip() - board_eth_init() This patch wraps them in #ifdef CONFIG_CMD_NET...#endif Signed-off-by: Sanjeev Premi pr...@ti.com --- board/ti/evm/evm.c |2 ++ 1 files changed, 2 insertions

[U-Boot] [PATCHv2] omap3evm: Update ethernet reset sequence for Rev.G board

2011-06-27 Thread Sanjeev Premi
From: Sriramakrishnan s...@ti.com The GPIO pin used for resetting the external LAN chip has changed for Rev.G board. The patch uses generic gpio API instead of direct access to corresponding registers. Signed-off-by: Sriramakrishnan s...@ti.com Signed-off-by: Sanjeev Premi pr...@ti.com

[U-Boot] [PATCH] onenand: Fix compile errors due to FlexOneNAND

2009-12-17 Thread Sanjeev Premi
env_onenand.c:70: error: for each function it appears in.) env_onenand.c: In function 'saveenv': env_onenand.c:106: error: 'CONFIG_ENV_ADDR_FLEX' undeclare d (first use in this function) env_onenand.c:107: error: 'CONFIG_ENV_SIZE_FLEX' undeclare d (first use in this function) Signed-off-by: Sanjeev Premi pr

[U-Boot] [PATCHv2] onenand: Fix compile errors due to FlexOneNAND

2009-12-18 Thread Sanjeev Premi
env_onenand.c:70: error: for each function it appears in.) env_onenand.c: In function 'saveenv': env_onenand.c:106: error: 'CONFIG_ENV_ADDR_FLEX' undeclare d (first use in this function) env_onenand.c:107: error: 'CONFIG_ENV_SIZE_FLEX' undeclare d (first use in this function) Signed-off-by: Sanjeev Premi pr

[U-Boot] [PATCH 0/2] omap3: Remove extern declarations from headers

2009-12-23 Thread Sanjeev Premi
All configurations based on OMAP3 contained extern declarations. This set contains two patches that move these declarations and fix the side-effects of the move. Sanjeev Premi (2): omap3: Remove externs from config files omap3: Remove multiple extern decls for gpmc_cfg board/ti/evm/evm.c

[U-Boot] [PATCH 1/2] omap3: Remove externs from config files

2009-12-23 Thread Sanjeev Premi
All configurations based on OMAP3 define flash related variables as externs. This patch moves all extern declarations to a header file and includes this header into each configuration. Signed-off-by: Sanjeev Premi pr...@ti.com --- include/asm-arm/arch-omap3/omap3_flash.h | 34

[U-Boot] [PATCH] omap3: beagle: fix compile error

2009-12-23 Thread Sanjeev Premi
line in appropriate ifdef. Signed-off-by: Sanjeev Premi pr...@ti.com --- lib_arm/board.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lib_arm/board.c b/lib_arm/board.c index e148739..e289fc9 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -357,8 +357,9 @@ void

[U-Boot] [PATCHv2] OMAP3: Avoid re-write to PRM_CLKSRC_CTRL

2010-01-29 Thread Sanjeev Premi
is unchanged. Tested on OMAP3EVM with OMAP3530 and DM3730. Signed-off-by: Sanjeev Premi pr...@ti.com Signed-off-by: Hiremath Vaibhav hvaib...@ti.com --- cpu/arm_cortexa8/omap3/clock.c | 15 +++ 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/cpu/arm_cortexa8/omap3/clock.c b

[U-Boot] [PATCH] omap3evm: env: Fix default console

2011-09-23 Thread Sanjeev Premi
Change the default console from ttyS2 to ttyO0 to match the Linux default for the EVM. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com --- This patch has been created against u-boot-ti/next. include/configs/omap3_evm.h |2 +- 1 files changed, 1 insertions

[U-Boot] [PATCH] omap3: Fix compile warning

2011-09-23 Thread Sanjeev Premi
Building without option CONFIG_DISPLAY_CPUINFO leads to this warning: sys_info.c:50:14: warning: 'rev_s_37xx' defined but not used Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com --- This patch has been created against u-boot-ti/next. arch/arm/cpu/armv7/omap3

[U-Boot] [PATCH] omap3evm: Pass 'mem' argument to linux kernel

2011-09-27 Thread Sanjeev Premi
In absence of this argument, Linux kernel doesn't boot. Default value has been set to 128M to ensure that Linux kernel boots on older EVMs as well. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com --- This patch has been created against u-boot-ti/next. include

[U-Boot] [PATCHv2] omap3evm: Pass 'mem' argument to linux kernel

2011-09-27 Thread Sanjeev Premi
In absence of this argument, Linux kernel doesn't boot. Even though many newer boards support 256M, default value has been set to 128M to ensure that default build can boot older EVM variants. Signed-off-by: Sanjeev Premi pr...@ti.com --- Changes since v1: Removed the string terminators \0

[U-Boot] [PATCH 0/6] omap3evm: Clean-up and add new configurations

2011-09-30 Thread Sanjeev Premi
for various reasons. [1] http://marc.info/?l=u-bootm=128828487429161w=2 [2] http://marc.info/?l=u-bootm=128818733126234w=2 This patchset was created against u-boot-ti/next branch assuming that following patch has been applied: http://marc.info/?l=u-bootm=131713568506472w=2 Sanjeev Premi (6

[U-Boot] [PATCH 2/6] omap3evm: Prepare to split configuration

2011-09-30 Thread Sanjeev Premi
This patch marks the beginning of steps that would lead to clean and easy split of the configuration file. Common portion can then be re-used by other configurations. Signed-off-by: Sanjeev Premi pr...@ti.com --- Since the patch changes most of the file contents, it may not be easy to review

[U-Boot] [PATCH 1/6] omap3evm: Reorder related config options

2011-09-30 Thread Sanjeev Premi
changes were also done for consistent look-n-feel after the movement. The patch doesn't make/include any other functional change. Signed-off-by: Sanjeev Premi pr...@ti.com --- Since the patch changes most of the file contents, it may not be easy to review. This sequence on individual patches

[U-Boot] [PATCH 3/6] omap3evm: move common config options to new file

2011-09-30 Thread Sanjeev Premi
This patch moves common config options to a new file. Common options can now be included in other board configs for this evm. Signed-off-by: Sanjeev Premi pr...@ti.com --- include/configs/omap3_evm.h| 340 +-- include/configs/omap3_evm_common.h | 287

[U-Boot] [PATCH 4/6] omap3evm: Add (quick) configuration for MMC/SD only

2011-09-30 Thread Sanjeev Premi
Add an optimized board configuration that only supports boot from MMC/SD. Signed-off-by: Sanjeev Premi pr...@ti.com --- This patch was tested on OMAP3EVM Rev G. boards.cfg|1 + include/configs/omap3_evm_quick_mmc.h | 91 + 2

[U-Boot] [PATCH 5/6] omap3evm: Add (quick) configuration for NAND only

2011-09-30 Thread Sanjeev Premi
Add an optimized board configuration that only supports boot from NAND. Signed-off-by: Sanjeev Premi pr...@ti.com --- This configuration has been compile tested. The patch is currently under test. Will update the status shortly. boards.cfg |1 + include

[U-Boot] [PATCH 6/6] omap3evm: fix errors caused by multiple definitions

2011-09-30 Thread Sanjeev Premi
-by: Sanjeev Premi pr...@ti.com --- include/configs/omap3_evm_common.h |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/include/configs/omap3_evm_common.h b/include/configs/omap3_evm_common.h index baa74bf..7a5f602 100644 --- a/include/configs/omap3_evm_common.h +++ b

[U-Boot] [RFC 0/3] omap: gpio: User generic (instead of custom) API

2011-08-30 Thread Sanjeev Premi
's/omap_set_gpio_direction\s*\((\w+),\s*0\)/gpio_direction_output(\1)/g' $f sed -r -i 's/omap_set_gpio_dataout/gpio_set_value/g' $f sed -r -i 's/omap_get_gpio_datain/gpio_get_value/g' $f done Sanjeev Premi (3): omap: gpio: Use generic API omap: gpio: generic changes after

[U-Boot] [RFC 1/3] omap: gpio: Use generic API

2011-08-30 Thread Sanjeev Premi
. A dummy header was created to meet the include dependency of asm/arch/gpio.h. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com Cc: Igor Grinberg grinb...@compulab.co.il Cc: Luca Ceresoli luca.ceres...@comelit.it Cc: Enric Balletbo i Serra eballe...@gmail.com Cc: Sunil

[U-Boot] [RFC 2/3] omap: gpio: generic changes after changing API

2011-08-30 Thread Sanjeev Premi
This patch contains the generic changes required after change to generic API in the previous patch. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com Cc: Igor Grinberg grinb...@compulab.co.il Cc: Luca Ceresoli luca.ceres...@comelit.it Cc: Enric Balletbo i Serra eballe

[U-Boot] [PATCH 3/3] omap: gpio: Adapt board files to use generic API

2011-08-30 Thread Sanjeev Premi
This patch contains updates the sources in the board files to use the generic API. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com Cc: Igor Grinberg grinb...@compulab.co.il Cc: Luca Ceresoli luca.ceres...@comelit.it Cc: Enric Balletbo i Serra eballe...@gmail.com Cc

[U-Boot] [PATCH] omap3evm: Set environment variable 'ethaddr'

2011-09-02 Thread Sanjeev Premi
It is now responsibility of the board specific init code to set the environment variable corresponding to the MAC address. Signed-off-by: Sanjeev Premi pr...@ti.com --- Tested on omap3evm at against latest master at: bd061a5 : Merge branch 'master' of git://git.denx.de/u-boot-sh board/ti/evm

[U-Boot] [PATCH v2] omap3evm: Set environment variable 'ethaddr'

2011-09-02 Thread Sanjeev Premi
It is now responsibility of the board specific init code to set the environment variable corresponding to the MAC address. Signed-off-by: Sanjeev Premi pr...@ti.com --- Changes in v2: - Ensure that environment variable is set iff it wasn't already set earlier. Tested on omap3evm

[U-Boot] [PATCH] omap3: beagle: Fix build warning

2011-09-05 Thread Sanjeev Premi
This patch fixes the warning dure to recent changes to the board configuration: cmd_i2c.o cmd_i2c.c -c cmd_i2c.c:109:1: warning: missing braces around initializer cmd_i2c.c:109:1: warning: (near initialization for 'i2c_no_probes[0]') Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Jason Kridner

[U-Boot] [PATCH] i2c_no_probes: Fix initialization warnings

2011-09-05 Thread Sanjeev Premi
This patch fixes the initialization warnings similar to the one below: cmd_i2c.o cmd_i2c.c -c cmd_i2c.c:109:1: warning: missing braces around initializer cmd_i2c.c:109:1: warning: (near initialization for 'i2c_no_probes[0]') Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Albert ARIBAUD albert.u.b

[U-Boot] [PATCH 0/3] omap: gpio: Use generic API (instead of custom)

2011-09-05 Thread Sanjeev Premi
) notification. [1] http://marc.info/?l=u-bootm=131473403131657w=2 Sanjeev Premi (3): omap: gpio: Use generic API omap: gpio: generic changes after changing API omap: gpio: Adapt board files to use generic API arch/arm/cpu/armv7/omap-common/gpio.c | 113 - arch

[U-Boot] [PATCH 1/3] omap: gpio: Use generic API

2011-09-05 Thread Sanjeev Premi
. - Combines implementation of functions omap_get_gpio_dataout() and omap_get_gpio_datain(). To do so, new static function _get_gpio_direction() was added. Signed-off-by: Sanjeev Premi pr...@ti.com --- Changes since RFC: - Rebased against u-boot-arm.git - Dummy header is no longer necessary

[U-Boot] [PATCH 2/3] omap: gpio: generic changes after changing API

2011-09-05 Thread Sanjeev Premi
This patch contains the generic changes required after change to generic API in the previous patch. Signed-off-by: Sanjeev Premi pr...@ti.com --- This patch could have been merged with previous one, but has been kept separate to illustrate (and review) the changes to generic code. arch/arm

[U-Boot] [PATCH 3/3] omap: gpio: Adapt board files to use generic API

2011-09-05 Thread Sanjeev Premi
This patch contains updates the sources in the board files to use the generic API. Signed-off-by: Sanjeev Premi pr...@ti.com --- While most changes were done via script mentioned in the patch 0/3, some of the changes were manual - as the script failed to match few instances. board/cm_t35

[U-Boot] [PATCHv2 0/6] omap3evm: Clean-up and add new configurations

2011-10-25 Thread Sanjeev Premi
: - Rebased against latest master. Patches did not apply cleanly due to removal of CONFIG_NET_MULTI. - Earlier patch series was created against u-boot-ti/next. - Minor updates in few patches are described in updated patches themselves. Sanjeev Premi (6): omap3evm: Reorder related config

[U-Boot] [PATCHv2 1/6] omap3evm: Reorder related config options

2011-10-25 Thread Sanjeev Premi
/include any other functional change. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com --- Since the patch changes most of the file contents, it may not be easy to review. This sequence on individual patches that were squashed to make this change can be viewed at: http

[U-Boot] [PATCHv2 2/6] omap3evm: Prepare to split configuration

2011-10-25 Thread Sanjeev Premi
This patch marks the beginning of steps that would lead to clean and easy split of the configuration file. Common portion can then be re-used by other configurations. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com --- Since the patch changes most of the file

[U-Boot] [PATCHv2 4/6] omap3evm: Add (quick) configuration for MMC/SD only

2011-10-25 Thread Sanjeev Premi
Add an optimized board configuration that only supports boot from MMC/SD. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com --- Changes in v2: Use rootfstype=ext3 (as in the default config) to allow existing partitions to be used as-is. boards.cfg

[U-Boot] [PATCHv2 5/6] omap3evm: Add (quick) configuration for NAND only

2011-10-25 Thread Sanjeev Premi
Add an optimized board configuration that only supports boot from NAND. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com --- Changes in v2: * Update bootcmd to use hardware ecc scheme. * Reduce the number of bytes read for loading linux kernel. boards.cfg

[U-Boot] [PATCHv2 6/6] omap3evm: fix errors caused by multiple definitions

2011-10-25 Thread Sanjeev Premi
-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com --- Changes in v2: None. Same as previous patch series. include/configs/omap3_evm_common.h |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/include/configs/omap3_evm_common.h b/include/configs

[U-Boot] [PATCHv2 3/6] omap3evm: move common config options to new file

2011-10-25 Thread Sanjeev Premi
This patch moves common config options to a new file. Common options can now be included in other board configs for this evm. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com --- Changes in v2: Minor edits due to removal of CONFIG_NET_MULTI since previous

[U-Boot] [PATCH 0/3] omap3: mem: clean-up patches

2011-10-27 Thread Sanjeev Premi
This patchset makes no real change that would impact execution flow. All changes should help in better readability. It was created against u-boot-ti/master. Compile tested with omap3_evm_config and omap3_beagle_config Sanjeev Premi (3): omap3: mem: Define and use common macros omap3: mem

[U-Boot] [PATCH 1/3] omap3: mem: Define and use common macros

2011-10-27 Thread Sanjeev Premi
Define common macros to arrive at the values of registers SDRC_ACTIM_CTRLA and SDRC_ACTIM_CTRLB for different memory types. This doesn't make any real change in the execution but helps readability. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com --- arch/arm

[U-Boot] [PATCH 2/3] omap3: mem: Clean-up whitespaces

2011-10-27 Thread Sanjeev Premi
Consistent use of TABs and align definitions with neighbouring code. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul...@ti.com --- arch/arm/include/asm/arch-omap3/mem.h | 52 1 files changed, 26 insertions(+), 26 deletions(-) diff --git

[U-Boot] [PATCH 3/3] omap3: mem: Move comments next to definitions

2011-10-27 Thread Sanjeev Premi
Calculations for ACTIM_CTRLA amd ACTIM_CTRLB values are defined in 'header' style comments. Moved them along with definitions. Should help maintain consistency between comments and code if any of these are tweaked in future. Signed-off-by: Sanjeev Premi pr...@ti.com Cc: Sandeep Paulraj s-paul

[U-Boot] [PATCH 0/2] omap3evm: Add support for EFI partitions

2011-11-14 Thread Sanjeev Premi
/a0756819/u-boot/ disk' make: *** [disk/libdisk.o] Error 2 Fixes for these errors are contained in PATCH 1/2. Tested working via command mmc part on OMAP3EVM on MMC card with EFI partitions. Sanjeev Premi (2): part_efi: Fix compile errors omap3evm: Add support for EFI partitions disk/part_efi.c

[U-Boot] [PATCH 1/2] part_efi: Fix compile errors

2011-11-14 Thread Sanjeev Premi
'alloc_read_gpt_entries': Signed-off-by: Sanjeev Premi pr...@ti.com --- disk/part_efi.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/disk/part_efi.c b/disk/part_efi.c index e7f2714..ddf80a7 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -130,7 +130,7 @@ void

[U-Boot] [PATCH 2/2] omap3evm: Add support for EFI partitions

2011-11-14 Thread Sanjeev Premi
Defines CONFIG_EFI_PARTITION for OMAP3 EVM. Also, fix this board specific error noticed after enabling this config option: part_efi.c: In function 'alloc_read_gpt_entries': part_efi.c:384:18: error: 'CONFIG_SYS_CACHELINE_SIZE' undeclare d (first use in this function) Signed-off-by: Sanjeev

Re: [U-Boot] [PATCH] omap3: Derive config for Beagleboard-XM sans NAND support

2014-02-01 Thread Sanjeev Premi
On Tuesday, 7 January 2014 12:59 AM, Tom Rini tr...@ti.com wrote: On Sun, Jan 05, 2014 at 08:02:07PM +0530, Sanjeev Premi wrote: Beagleboard XM doesn't have a NAND chip. Let the configuration reflect so. Signed-off-by: Sanjeev Premi spr...@ymail.com Cc: Tom Rini tr...@ti.com

[U-Boot] [PATCH] omap3: Derive config for Beagleboard-XM sans NAND support

2014-01-05 Thread Sanjeev Premi
Beagleboard XM doesn't have a NAND chip. Let the configuration reflect so. Signed-off-by: Sanjeev Premi spr...@ymail.com Cc: Tom Rini tr...@ti.com --- Patch was created and tested against: 183acb70: Prepare v2013.10 Forward ported to latest master for submission. Difference in binary