Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-10-26 Thread Kumar Gala
On Oct 15, 2009, at 8:47 AM, Anton Vorontsov wrote: > Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX > constant. With multi-serial support, the CONS_INDEX may no longer > represent actual console, so we should try to extract port number > from the current stdio device name ins

Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-10-22 Thread Jerry Van Baren
Kumar Gala wrote: > On Oct 15, 2009, at 8:47 AM, Anton Vorontsov wrote: > >> Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX >> constant. With multi-serial support, the CONS_INDEX may no longer >> represent actual console, so we should try to extract port number >> from the curr

Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-10-22 Thread Kumar Gala
On Oct 15, 2009, at 8:47 AM, Anton Vorontsov wrote: > Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX > constant. With multi-serial support, the CONS_INDEX may no longer > represent actual console, so we should try to extract port number > from the current stdio device name ins

[U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-10-15 Thread Anton Vorontsov
Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX constant. With multi-serial support, the CONS_INDEX may no longer represent actual console, so we should try to extract port number from the current stdio device name instead of always hard-coding the constant value. Signed-off-by:

Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-09-16 Thread Jerry Van Baren
Anton Vorontsov wrote: > Thanks for review Jerry. > > On Wed, Sep 16, 2009 at 08:59:14AM -0400, Jerry Van Baren wrote: > [...] >> Below is a *HAND MODIFIED* (i.e. probably broken) edit of Anton's >> patch reflecting my thoughts. >> >> I'll leave it up to Anton and Kumar... I'm OK with Anton's orig

Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-09-16 Thread Anton Vorontsov
Thanks for review Jerry. On Wed, Sep 16, 2009 at 08:59:14AM -0400, Jerry Van Baren wrote: [...] > Below is a *HAND MODIFIED* (i.e. probably broken) edit of Anton's > patch reflecting my thoughts. > > I'll leave it up to Anton and Kumar... I'm OK with Anton's original > patch and you have my > A

Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-09-16 Thread Jerry Van Baren
Hi Kumar, Anton, Kumar Gala wrote: > > On Aug 19, 2009, at 1:37 PM, Anton Vorontsov wrote: > >> Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX >> constant. With multi-serial support, the CONS_INDEX may no longer >> represent actual console, so we should try to extract port nu

Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-09-15 Thread Kumar Gala
On Aug 19, 2009, at 1:37 PM, Anton Vorontsov wrote: > Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX > constant. With multi-serial support, the CONS_INDEX may no longer > represent actual console, so we should try to extract port number > from the current stdio device name ins

[U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-08-19 Thread Anton Vorontsov
Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX constant. With multi-serial support, the CONS_INDEX may no longer represent actual console, so we should try to extract port number from the current stdio device name instead of always hard-coding the constant value. Signed-off-by: