Hi,
I am using FDI-LPC 3250 custom board ported with kernel 2.6.34 and Uboot
2009.03.In this we have 7 UARTS. UART 1,2,7 are High speed and UART
3,4,5,6 are standard UARTS.In my project we need use all UARTS.For this i
enable all UARTS in kernel configuration. But in Uboot i have changed serial
Many parts of the U-Boot code base are sprinkled with #ifdefs. This makes
different boards compile different versions of the source code, meaning
that we must build all boards to check for failures. It is easy to misspell
an #ifdef and there is not as much checking of this by the compiler.
Add support for generating an autoconf.h header file that can be used in
the source instead of #ifdef.
For example, instead of:
#ifdef CONFIG_VERSION_VARIABLE
setenv(ver, version_string); /* set version variable */
#endif
you can do:
if (autoconf_version_variable())
Move this code over to using autoconf. We can add the autoconf values to
the delaykey[] array, and move the code that checks for autoconf values into
the loop.
Also change to using ARRAY_SIZE on delaykey[].
Signed-off-by: Simon Glass s...@chromium.org
Reviewed-by: Joe Hershberger
Change this feature to use autoconf instead of #ifdef.
Signed-off-by: Simon Glass s...@chromium.org
Reviewed-by: Joe Hershberger joe.hershber...@ni.com
---
Changes in v4:
- Rebase on current master
- Tidy up code style nits with new checkpatch
Changes in v3:
- Fix missing in if() statement
-
Remove #ifdefs in favour of autoconf for this code. This involves removing
a few unnecessary #ifdefs in headers also.
We have two versions of the code - one that handles command line editing and
one that is just a simple implementation. Create a new function called
readline_into_buffer() which
Use autoconf to make process_boot_delay() be compiled always, and adjust
the caller and related functions as needed.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v4:
- Split out new patch to remove #ifdefs around process_boot_delay()
Changes in v3: None
Changes in v2: None
Allow parser selection to make use of autoconf instead of #ifdefs.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v4:
- Rebase on current master
Changes in v3: None
Changes in v2: None
common/main.c | 87 +++---
include/hush.h |
Convert main_loop() over to use autoconf, and add a required prototype
to common.h.
The do_mdm_init variable is now always defined, but this seems like an
acceptable compromise.
In fdt_support.h the #ifdef used is CONFIG_OF_LIBFDT. However, even if
this is not defined we want to make the
Convert this function and its children to use autoconf instead of #ifdef.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v4:
- Rebase on current master
Changes in v3:
- Simplify code for finding out bootdelay from config or environment
Changes in v2: None
common/main.c | 74
Hello Simon,
On Sat, Oct 26, 2013 at 2:59 AM, Simon Glass s...@chromium.org wrote:
(Note that Wolfgang is looking at a way of adjusting the environment
within a U-Boot binary - this series could fit with that but aims to
improve the creation of the initial default environment).
I really
Dear rvijay435,
In message 1382594959198-166076.p...@n7.nabble.com you wrote:
Can I use tsec_miiphy_write () function which is defined in
drivers/net/tsec.c for sending the data from standalone application via
You can use everything you like, if you accept the resuting
consequences on the
Dear Simon,
In message 1382763563-1483-1-git-send-email-...@chromium.org you wrote:
(Note that Wolfgang is looking at a way of adjusting the environment
within a U-Boot binary - this series could fit with that but aims to
improve the creation of the initial default environment).
At present
Dear Simon,
In message 1382763695-2849-4-git-send-email-...@chromium.org you wrote:
+For example, for snapper9260 you would create a text file called
+board/bluewater/env/snapper9260.env containing the environment text.
+
+
+bootcmd=
+ if [ -z ${tftpserverip} ]; then
+
14 matches
Mail list logo