1. 18 6月, 2013 1 次提交
  2. 30 11月, 2012 1 次提交
  3. 28 12月, 2011 1 次提交
    • S
      of/pdt: fix section mismatch warning · 75c71848
      Sam Ravnborg 提交于
      Fix the following section mismatch warning - seen when building sparc32:
      
      WARNING: vmlinux.o(.text+0x1ff9c0): Section mismatch in reference from the function kernel_tree_alloc() to the function .init.text:prom_early_alloc()
      The function kernel_tree_alloc() references
      the function __init prom_early_alloc().
      This is often because kernel_tree_alloc lacks a __init
      annotation or the annotation of prom_early_alloc is wrong.
      
      prom_early_alloc() is annotated __init, and users of
      kernel_tree_alloc() is also annotated __init.
      So simply match the annoation of these to fix the warning.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      75c71848
  4. 23 9月, 2011 1 次提交
  5. 03 3月, 2011 1 次提交
    • A
      of/promtree: allow DT device matching by fixing 'name' brokenness (v5) · a74ea43d
      Andres Salomon 提交于
      Commit e2f2a93b, "of/promtree: add package-to-path support to pdt"
      changed dp->name from using the 'name' property to using
      package-to-path.  This fixed /proc/device-tree creation by eliminating
      conflicts between names (the 'name' property provides names like
      'battery', whereas package-to-path provides names like
      '/foo/bar/battery@0', which we stripped to 'battery@0').  However, it
      also breaks of_device_id table matching.
      
      The fix that we _really_ wanted was to keep dp->name based upon
      the name property ('battery'), but based dp->full_name upon
      package-to-path ('battery@0').  This patch does just that.
      
      This changes all users (except SPARC) of promtree to use the full
      result from package-to-path for full_name, rather than stripping the
      directory out.  In practice, the strings end up being exactly the
      same; this change saves time, code, and memory.
      
      SPARC continues to use the existing build_path_component() code.
      
      v2: combine two patches and revert of_pdt_node_name to original version
      v3: use dp->phandle instead of passing around node
      v4: warn/bail out for non-sparc archs if pkg2path is not set
      v5: split of_pdt_build_full_name into sparc & non-sparc versions
      v6: Pass NULL to pkg2path before buf gets assigned.
          Drop check for pkg2path hook on each and every node.
      v7: Don't BUG() when unable to get the full_path; create a
          known-unique name instead.
      Signed-off-by: NAndres Salomon <dilinger@queued.net>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      a74ea43d
  6. 13 10月, 2010 3 次提交
  7. 11 10月, 2010 1 次提交
  8. 09 10月, 2010 1 次提交
  9. 15 7月, 2010 1 次提交
  10. 09 2月, 2010 1 次提交
  11. 29 1月, 2010 1 次提交
  12. 09 11月, 2009 1 次提交
  13. 18 8月, 2009 1 次提交
    • K
      sparc,leon: Added support for AMBAPP bus. · e63829de
      Konrad Eisele 提交于
      The device is a AMBA bus if it is a child of prom node "ambapp" (AMBA
      plug and play). Two functions
      leon_trans_init() and leon_node_init() (defined in
      sparc/kernel/leon_kernel.c) are called in the
      prom_build_tree() path if CONFIG_SPARC_LEON is
      defined. leon_node_init() will build up the device
      tree using AMBA plug and play. Also: a extra check was addes to
      prom_common.c:build_one_prop()
      in case a rom-node is undefined which can happen for SPARC-LEON
      because it creates only a minimum
      nodes to emulate sparc behaviour.
      Signed-off-by: NKonrad Eisele <konrad@gaisler.com>
      Reviewed-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e63829de
  14. 16 6月, 2009 1 次提交
  15. 05 1月, 2009 1 次提交
  16. 07 12月, 2008 1 次提交
  17. 06 12月, 2008 7 次提交