Devicetree
 help / color / mirror / Atom feed
From: Stephen Neuendorffer <stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
To: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: RE: [PATCH 3/8] of/fdt: Add unflatten_partial_device_tree
Date: Tue, 16 Nov 2010 16:44:59 -0800	[thread overview]
Message-ID: <db162abd-e702-4d34-ac3a-ee6ce512f98d@VA3EHSMHS009.ehs.local> (raw)
In-Reply-To: <AANLkTimE=YjDsr5em8ttAJkRzjZ6XMF_Hts0w0EpPzqx-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


> >> > @@ -521,12 +539,12 @@ int __init early_init_dt_scan_chosen(unsigned long node, const char *uname,
> >> >
> >> >        early_init_dt_check_for_initrd(node);
> >> >
> >> > +#ifdef CONFIG_CMDLINE
> >> >        /* Retreive command line */
> >> > -       p = of_get_flat_dt_prop(node, "bootargs", &l);
> >> > +       p = of_get_flat_dt_prop(node, "bootargs", &l, initial_boot_params);
> >> >        if (p != NULL && l > 0)
> >> >                strlcpy(cmd_line, p, min((int)l, COMMAND_LINE_SIZE));
> >> >
> >> > -#ifdef CONFIG_CMDLINE
> >>
> >> Why is this being changed?
> >
> > Because it requires a cmd_line global, which all architectures (especially x86) don't seem to have)
> > Probably if the early stuff get's factored out, then this problem goes away.
> 
> I'm considering changing this so that cmd_line is set with an
> arch-specific callback.

I don't think I ever saw a patch for this.  Have you done more than think about this?

Steve


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

  parent reply	other threads:[~2010-11-17  0:44 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1279304021-22216-1-git-send-email-stephen.neuendorffer@xilinx.com>
     [not found] ` <1279304021-22216-1-git-send-email-stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2010-07-16 18:13   ` [PATCH 1/8] of/fdt.c: use architecture-independent ALIGN macro, defined in kernel.h Stephen Neuendorffer
     [not found]     ` <f2cebad3-5fb1-4984-800f-ef847e388e65-RaUQJvECHitZbvUCbuG1mrjjLBE8jN/0@public.gmane.org>
2010-07-16 18:29       ` Grant Likely
     [not found]         ` <AANLkTin8GUuMjAVI-r2KNXBoH7DjsQWfTjC1inQTlD6V-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-16 18:45           ` Stephen Neuendorffer
2010-07-19 18:34           ` Stephen Neuendorffer
     [not found] ` <1279304021-22216-2-git-send-email-stephen.neuendorffer@xilinx.com>
     [not found]   ` <1279304021-22216-2-git-send-email-stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2010-07-16 18:13     ` [PATCH 2/8] drivers/of: Make device tree code work on any arch Stephen Neuendorffer
     [not found]       ` <592c6c35-556d-4874-8b75-2ebf0acf00e9-+Ck8Kgl/v0+Da4789yZHSLjjLBE8jN/0@public.gmane.org>
2010-07-16 18:31         ` Grant Likely
     [not found]           ` <AANLkTimW3tsllx82F-cKtAEHGxVXwG4ESbtYWBzS17Wb-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-16 18:34             ` Stephen Neuendorffer
     [not found]               ` <686f0008-74c9-4ee5-bfb3-b4920835b765-RaUQJvECHitEus+KprP3J7jjLBE8jN/0@public.gmane.org>
2010-07-16 18:55                 ` Grant Likely
     [not found]   ` <1279304021-22216-3-git-send-email-stephen.neuendorffer@xilinx.com>
     [not found]     ` <1279304021-22216-3-git-send-email-stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2010-07-16 18:13       ` [PATCH 3/8] of/fdt: Add unflatten_partial_device_tree Stephen Neuendorffer
     [not found]         ` <91a7e060-e748-47d5-aa7d-4fc45343d212-RaUQJvECHitEus+KprP3J7jjLBE8jN/0@public.gmane.org>
2010-07-16 19:25           ` Grant Likely
     [not found]             ` <AANLkTikbhjZshaetoTX6kXHwt_SobYUG69cuDZd0gArF-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-23 22:10               ` Stephen Neuendorffer
     [not found]                 ` <58c8fb4d-50d9-45bb-9a09-9cd04033a912-RaUQJvECHiusiP+nND6G/7jjLBE8jN/0@public.gmane.org>
2010-08-10 17:53                   ` Grant Likely
     [not found]                     ` <AANLkTimE=YjDsr5em8ttAJkRzjZ6XMF_Hts0w0EpPzqx-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-17  0:44                       ` Stephen Neuendorffer [this message]
     [not found]                         ` <db162abd-e702-4d34-ac3a-ee6ce512f98d-+Ck8Kgl/v0/TR3wEnDZ30LjjLBE8jN/0@public.gmane.org>
2010-11-17  1:48                           ` Grant Likely
     [not found]     ` <1279304021-22216-4-git-send-email-stephen.neuendorffer@xilinx.com>
     [not found]       ` <1279304021-22216-4-git-send-email-stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2010-07-16 18:13         ` [PATCH 4/8] of/base.c: export property access/modification functions Stephen Neuendorffer
     [not found]           ` <01cb5edd-5330-40ba-b410-6732e44f0954-+Ck8Kgl/v0+Da4789yZHSLjjLBE8jN/0@public.gmane.org>
2010-07-16 18:33             ` Grant Likely
     [not found]               ` <AANLkTikwtfpH5qyG5cbsLYPHLSaAmBcHaSJT3zbt4s35-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-16 18:38                 ` Stephen Neuendorffer
     [not found]                   ` <e198df81-5939-4b82-9d27-952d9781ec05-+Ck8Kgl/v09CYczPSvLbDrjjLBE8jN/0@public.gmane.org>
2010-07-16 18:57                     ` Grant Likely
     [not found]                       ` <AANLkTilXmgTkJ2N0dTYsV99ElqssZAXwOgtKPBENZoX8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-16 20:07                         ` Stephen Neuendorffer
     [not found]                           ` <41b1b87c-a391-493d-8235-a9304562a6e4-RaUQJvECHis6W+Ha+8ZLibjjLBE8jN/0@public.gmane.org>
2010-07-16 21:43                             ` Grant Likely
     [not found]                               ` <AANLkTinlTNa0TEnqk27Jv2Yy8sZ1Vx3V89YJvcs-jULM-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-16 22:03                                 ` Stephen Neuendorffer
     [not found]       ` <1279304021-22216-5-git-send-email-stephen.neuendorffer@xilinx.com>
     [not found]         ` <1279304021-22216-5-git-send-email-stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2010-07-16 18:13           ` [PATCH 5/8] arch/x86: Add support for device tree code Stephen Neuendorffer
     [not found]             ` <961e55b7-170c-45ac-a491-628797a0aa5e-+Ck8Kgl/v0/5op9OF0Koj7jjLBE8jN/0@public.gmane.org>
2010-07-16 18:39               ` Grant Likely
     [not found]                 ` <AANLkTinPIY4N9Gv_J7Ief7Scd57c0KEY6WtHsvQTBrzb-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-16 18:42                   ` Stephen Neuendorffer
     [not found]                     ` <a33ca228-cb2c-4044-bf63-c653642415a0-RaUQJvECHitEus+KprP3J7jjLBE8jN/0@public.gmane.org>
2010-07-16 18:59                       ` Grant Likely
     [not found]                         ` <AANLkTinVIf2A_OVAXlqjHY5J3jvaraPlJySnyEKbhlqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-16 20:11                           ` Stephen Neuendorffer
     [not found]                             ` <a52173ec-5c74-47ce-9121-f2e90958b05d-RaUQJvECHiuJ1bAq5m18RLjjLBE8jN/0@public.gmane.org>
2010-07-16 20:28                               ` Grant Likely
     [not found]         ` <1279304021-22216-6-git-send-email-stephen.neuendorffer@xilinx.com>
     [not found]           ` <1279304021-22216-6-git-send-email-stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2010-07-16 18:13             ` [PATCH 6/8] [Xilinx] xilinx_pcipr: Added Xilinx reconfigurable PCI endpoint driver Stephen Neuendorffer
     [not found]               ` <19f2f30b-1b43-4729-a079-da1df0b04609-RaUQJvECHitZbvUCbuG1mrjjLBE8jN/0@public.gmane.org>
2010-07-16 18:43                 ` Grant Likely
     [not found]           ` <1279304021-22216-7-git-send-email-stephen.neuendorffer@xilinx.com>
     [not found]             ` <1279304021-22216-7-git-send-email-stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2010-07-16 18:13               ` [PATCH 7/8] [Xilinx] xilinx_hwicap: Update driver to use generic io accessors Stephen Neuendorffer
     [not found]             ` <1279304021-22216-8-git-send-email-stephen.neuendorffer@xilinx.com>
     [not found]               ` <1279304021-22216-8-git-send-email-stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2010-07-16 18:13                 ` [PATCH 8/8] [Xilinx] xilinx_hwicap: Enable whenever OF/device trees are available Stephen Neuendorffer
     [not found]                   ` <a10f704f-cc4b-4ca2-bd06-a9c4fa2853d4-+Ck8Kgl/v086W+Ha+8ZLibjjLBE8jN/0@public.gmane.org>
2010-07-16 18:45                     ` Grant Likely
     [not found]                       ` <AANLkTilMVutoM9wH-67nqR2r3Lv-hq_aEKntjLk7_dgA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-16 18:46                         ` Stephen Neuendorffer
2010-07-16 18:47                         ` Grant Likely
2010-07-22 16:05                         ` Grant Likely
     [not found]                           ` <AANLkTimm9hxxaj5ir2SynudRu1o4LKXnHy1AnJ1C_ii7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-22 18:25                             ` Stephen Neuendorffer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db162abd-e702-4d34-ac3a-ee6ce512f98d@VA3EHSMHS009.ehs.local \
    --to=stephen.neuendorffer-gjffaj9ahvfqt0dzr+alfa@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox