Beagleboard XM doesn't have a NAND chip.
Let the configuration reflect so.
Signed-off-by: Sanjeev Premi
Cc: Tom Rini
---
Patch was created and tested against:
183acb70: Prepare v2013.10
Forward ported to latest master for submission.
Difference in binary sizes: MLO u-boo
> On Tuesday, 7 January 2014 12:59 AM, Tom Rini 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
&
uot;$f"
sed -r -i 's/omap_free_gpio/gpio_free/g' "$f"
sed -r -i
's/omap_set_gpio_direction\s*\((\w+),\s*1\)/gpio_direction_input(\1)/g' "$f"
sed -r -i
's/omap_set_gpio_direction\s*\((\w+),\s*0\)/gpio_direction_output(\1)/g
.
A dummy header was created to meet the include dependency
of asm/arch/gpio.h.
Signed-off-by: Sanjeev Premi
Cc: Sandeep Paulraj
Cc: Igor Grinberg
Cc: Luca Ceresoli
Cc: Enric Balletbo i Serra
Cc: Sunil Kumar
Cc: Shashi Ranjan
Cc: Nishanth Menon
Cc: Steve Sakoman
---
It appears that file
This patch contains the generic changes required after
change to generic API in the previous patch.
Signed-off-by: Sanjeev Premi
Cc: Sandeep Paulraj
Cc: Igor Grinberg
Cc: Luca Ceresoli
Cc: Enric Balletbo i Serra
Cc: Sunil Kumar
Cc: Shashi Ranjan
Cc: Nishanth Menon
Cc: Steve Sakoman
This patch contains updates the sources in the board files
to use the generic API.
Signed-off-by: Sanjeev Premi
Cc: Sandeep Paulraj
Cc: Igor Grinberg
Cc: Luca Ceresoli
Cc: Enric Balletbo i Serra
Cc: Sunil Kumar
Cc: Shashi Ranjan
Cc: Nishanth Menon
Cc: Steve Sakoman
---
All changes in
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
---
Tested on omap3evm at against latest master at:
bd061a5 : Merge branch 'master' of git://git.denx.de/u-boot-sh
board/ti
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
---
Changes in v2:
- Ensure that environment variable is set iff
it wasn't already set earlier.
Tested on omap3evm at ag
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
Cc: Jason Kridner
-
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
Cc: Albert ARIBAUD
---
The p
s since RFC[1]:
1) While the original RFC was based against the master of
u-boot.git. This series is based against master of
u-boot-arm.git
2) Used better logic to search and fix 'possibly' impacted
files i.e. the script embedded above.
3) In order to avoid rejection of pa
.
- 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
---
Changes since RFC:
- Rebased against u-boot-arm.git
- Dummy header is no longer necessary due to
This patch contains the generic changes required after
change to generic API in the previous patch.
Signed-off-by: Sanjeev Premi
---
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/cpu/armv7
This patch contains updates the sources in the board files
to use the generic API.
Signed-off-by: Sanjeev Premi
---
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/leds.c
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
---
cpu/arm_cortexa8/omap3/sys_info.c |
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
;relocated' address
space.
So, identify_cpu() is called again in arch_cpu_init().
Signed-off-by: Sanjeev Premi
---
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 fi
AM3517EVM. To test on AM3517EVM, earlier patches
posted by Vaibhav are required.
[1] http://lists.denx.de/pipermail/u-boot/2009-November/064670.html
Sanjeev Premi (4):
AM35x: Introduce support for AM35x processors
OMAP3, AM35x: Detect exact CPU in arch_cpu_init()
OMAP3, AM35x: Update
title=Applications_Processors_Crossreference
[4] http://marc.info/?l=linux-omap&m=125615009412281&w=2
Signed-off-by: Sanjeev Premi
---
cpu/arm_cortexa8/omap3/sys_info.c | 42
include/asm-arm/arch-omap3/omap3.h | 14 ++
include/asm-a
identify exact CPU id.
Signed-off-by: Sanjeev Premi
---
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 deletions
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
---
cpu/arm_cortexa8/omap3/cache.S | 30 --
cpu/arm_cortexa8/omap3/clock.c |3
The function is updated to make use of the cpu related
information extracted in arch_cpu_init().
Signed-off-by: Sanjeev Premi
---
cpu/arm_cortexa8/omap3/sys_info.c | 45
1 files changed, 30 insertions(+), 15 deletions(-)
diff --git a/cpu/arm_cortexa8
re
ported only once
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 u
re
ported only once
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 u
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
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
---
include/asm-arm/arch-omap3/omap3_flash.h | 34
'gpmc_cfg' had been declared extern in all configuration
files. It had been specifically declared extern in some
C files as well.
This patch moves the declaration to omap_gpmc.h. This
header is included wherever this variable is used.
Signed-off-by: Sanjeev Premi
---
board/ti
offending line
in appropriate ifdef.
Signed-off-by: Sanjeev Premi
---
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 sta
This patch fixes this warning during compile:
omap3.c: In function 'musb_platform_init':
omap3.c:126: warning: label 'end' defined but not used
Problem reported by: Dirk behme[dirk.be...@googlemail.com]
Signed-off-by: Sanjeev Premi
---
drivers/usb/musb/omap3.c |3 +++
using
DM3730 processor card.
The patch has been tested with OMAP3530 on OMAP3EVM as
well
Signed-off-by: Sanjeev Premi
Signed-off-by: Hiremath Vaibhav
---
cpu/arm_cortexa8/omap3/clock.c | 20
1 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/cpu/arm_cortexa8
unchanged.
Tested on OMAP3EVM with OMAP3530 and DM3730.
Signed-off-by: Sanjeev Premi
Signed-off-by: Hiremath Vaibhav
---
cpu/arm_cortexa8/omap3/clock.c | 15 +++
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/cpu/arm_cortexa8/omap3/clock.c b/cpu/arm_cortexa8/omap3
premi #
Signed-off-by: Sanjeev Premi
---
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/Mak
o .c
arm-none-linux-gnueabi-gcc: 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
---
examples/standalone/Makefile |8 +++-
1 files changed, 7 ins
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
---
arch/arm/cpu/armv7/omap3/sys_info.c |3 +++
1 files
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
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
---
board/ti/evm/evm.c | 12 +++-
board/ti/evm/evm.h
From: Sriramakrishnan
The GPIO pin used for resetting the external LAN chip has
changed for Rev.G board.
Signed-off-by: Sriramakrishnan
Signed-off-by: Sanjeev Premi
---
board/ti/evm/evm.c | 27 ++-
1 files changed, 18 insertions(+), 9 deletions(-)
diff --git a
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
---
board/ti/evm/evm.c |2 ++
1 files changed, 2 insertions(+), 0
From: Sriramakrishnan
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
Signed-off-by: Sanjeev Premi
---
Changes since v1:
* Use of gpio API
_cortexa8/omap3/libomap3.a] Error 2
Signed-off-by: Sanjeev Premi
---
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/b
_cortexa8/omap3/libomap3.a] Error 2
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
---
cpu/arm_cortexa8/omap3/board.c |2 +-
1 files changed, 1
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
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
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
---
board/omap3/beagle/beagle.h
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
---
cpu/arm_cortexa8/cpu.c |4 ++--
cpu/arm_cortexa8/omap3/clock.c |5 +++--
cpu
.
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
- CONFIG_DISPLAY_BOARDINFO
Signed-off-by: Sanjeev Premi
---
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 ++
include
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
---
board/omap3/beagle/beagle.h
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
---
cpu/arm_cortexa8/cpu.c |4 ++--
cpu/arm_cortexa8/omap3/clock.c |5 +++--
cpu
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
- CONFIG_DISPLAY_BOARDINFO
Signed-off-by: Sanjeev Premi
---
cpu/arm_cortexa8/omap3/board.c | 27 +++--
cpu/arm_cortexa8/omap3/sys_info.c | 105 +++-
include/asm-arm/arch-omap3/sys_proto.h |1 -
include/configs/omap3_beagle.h |6
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
---
board/omap3/beagle/beagle.h
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
---
cpu/arm_cortexa8/cpu.c |4 ++--
cpu/arm_cortexa8/omap3/clock.c |5 +++--
cpu
sending through gateway 192.168.1.1
Filename 'AC18BE16.img'.
Load address: 0x8200
Loading: *
TFTP error: 'File not found' (1)
Signed-off-by: Sanjeev Premi
---
include/configs/omap3_evm.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/co
mp;w=2
Changes since v1:
- 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):
o
x27;t make/include any other functional
change.
Signed-off-by: Sanjeev Premi
Cc: Sandeep Paulraj
---
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://pastebin.co
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
Cc: Sandeep Paulraj
---
Since the patch changes most of the file contents, it may
not be easy to
Add an optimized board configuration that only
supports boot from MMC/SD.
Signed-off-by: Sanjeev Premi
Cc: Sandeep Paulraj
---
Changes in v2:
Use rootfstype=ext3 (as in the default config) to allow
existing partitions to be used as-is.
boards.cfg|1
Add an optimized board configuration that only
supports boot from NAND.
Signed-off-by: Sanjeev Premi
Cc: Sandeep Paulraj
---
Changes in v2:
* Update bootcmd to use hardware ecc scheme.
* Reduce the number of bytes read for loading linux kernel.
boards.cfg
nd.c:77: first defin
ed here
Signed-off-by: Sanjeev Premi
Cc: Sandeep Paulraj
---
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/
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
Cc: Sandeep Paulraj
---
Changes in v2:
Minor edits due to removal of CONFIG_NET_MULTI since previous
revision.
include/configs
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
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
Cc: Sandeep Paulraj
---
arch/arm/include/asm/arch-omap3/
Consistent use of TABs and align definitions with
neighbouring code.
Signed-off-by: Sanjeev Premi
Cc: Sandeep Paulraj
---
arch/arm/include/asm/arch-omap3/mem.h | 52
1 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/arch/arm/include/asm/arch
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
Cc: Sandeep Paulraj
---
nction it appears in
make[1]: *** [part_efi.o] Error 1
make[1]: Leaving directory `/db/psp_git/users/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 partition
ut arg
ument is of type 'struct gpt_header **'
part_efi.c: In function 'alloc_read_gpt_entries':
Signed-off-by: Sanjeev Premi
---
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
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)
Si
CACHELINE_SIZE
in disk/part_efi.c.
* Removed (now) redundant definition of CONFIG_SYS_CACHELINE_SIZE
from /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 E
ut arg
ument is of type 'struct gpt_header **'
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 Premi
Cc: Tom Rini
Cc: Anton staaf
---
Changes sinc
Defines CONFIG_EFI_PARTITION for OMAP3 EVM.
Signed-off-by: Sanjeev Premi
Cc: Sandeep Paulraj
Cc: Tom Rini
---
Changes since v1:
* Removed definition of CONFIG_SYS_CACHELINE_SIZE as it
is no longer needed - since ARCH_DMA_MINALIGN is being
used in previous patch.
include/configs
Change the default console from ttyS2 to ttyO0 to
match the Linux default for the EVM.
Signed-off-by: Sanjeev Premi
Cc: Sandeep Paulraj
---
This patch has been created against u-boot-ti/next.
include/configs/omap3_evm.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff
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
Cc: Sandeep Paulraj
---
This patch has been created against u-boot-ti/next.
arch/arm/cpu/armv7/omap3/sys_info.c |2 +
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
Cc: Sandeep Paulraj
---
This patch has been created against u-boot-ti/next.
include/configs/omap3_evm.h |
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
---
Changes since v1:
Removed the string terminators &quo
various
reasons.
[1] http://marc.info/?l=u-boot&m=128828487429161&w=2
[2] http://marc.info/?l=u-boot&m=128818733126234&w=2
This patchset was created against u-boot-ti/next branch
assuming that following patch has been applied:
http://marc.info/?l=u-boot&m=131713568506472&a
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
---
Since the patch changes most of the file contents, it may
not be easy to review. This
tting 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
---
Since the patch changes most of the file contents, it may
not be easy to review. This sequence on individual patches
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
---
include/configs/omap3_evm.h| 340 +--
include/configs/omap3_evm_common.h | 287
Add an optimized board configuration that only
supports boot from MMC/SD.
Signed-off-by: Sanjeev Premi
---
This patch was tested on OMAP3EVM Rev G.
boards.cfg|1 +
include/configs/omap3_evm_quick_mmc.h | 91 +
2 files changed
Add an optimized board configuration that only
supports boot from NAND.
Signed-off-by: Sanjeev Premi
---
This configuration has been compile tested. The patch is currently
under test. Will update the status shortly.
boards.cfg |1 +
include/configs
nd.c:77: first defin
ed here
Signed-off-by: Sanjeev Premi
---
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/
This patch adds relocation support for omap3evm.
Content of the patch is based on changes for
Beagleboard.
Signed-off-by: Sanjeev Premi
---
board/ti/evm/config.mk |2 +-
include/configs/omap3_evm.h |6 ++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/board/ti
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
---
board/ti/evm/evm.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/board/ti/evm/evm.c b/board/ti
comment to set
the context.
Signed-off-by: Sanjeev Premi
---
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
@@ -109,6 +109,12
The call to function setup_net_chip() is wrapped
inside #ifdef CONFIG_CMD_NET, but the implementation
wasn't.
Signed-off-by: Sanjeev Premi
---
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 61
revision
c) omap3evm: Wrap function under 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
__
/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
---
include/configs/omap3_evm.h | 138 +++
1
ll 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
--
/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
---
v2: Replaced occurences of "fast" with "quick"
to avoi
l=u-boot&m=128818664024766&w=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 co
ding (only for example) another file omap3_evm_full.h
in next patch.
Signed-off-by: Sanjeev Premi
---
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
d
with previous patch in this series.
Signed-off-by: Sanjeev Premi
---
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 i
/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
---
include/configs/omap3_evm_quick.h | 155 +
1 files
] http://marc.info/?l=u-boot&m=128818664024766&w=2
Patch (a) is required 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.
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
---
include/configs/omap3_evm.h |
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
---
include/configs/omap3_evm.h| 210 ++
include/configs/omap3_evm_common.h | 226
This patch adds 2 configurations for quick boot
on the omap3evm - based on chosen boot media.
Signed-off-by: Sanjeev Premi
---
boards.cfg |2 +
include/configs/omap3_evm_quick_mmc.h | 53
include/configs/omap3_evm_quick_nand.h
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
---
include
8386&w=2
Signed-off-by: Sanjeev Premi
---
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 start
1 - 100 of 101 matches
Mail list logo