1. 24 4月, 2018 3 次提交
    • S
      ARM: dts: da850: fix W=1 warnings with pinmux node · 94a82284
      Sekhar Nori 提交于
      Remove unused #address-cells and #size-cells from pinmux
      node. This fixes W=1 warnings of the type:
      
      arch/arm/boot/dts/da850-lcdk.dtb: Warning (avoid_unnecessary_addr_size): /soc@1c00000/pinmux@14120: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
      
      Tested on DA850 LCDK by checking output of:
      
      /sys/kernel/debug/pinctrl/1c14120.pinmux-pinctrl-single/pins
      
      before and after the change.
      Reviewed-by: NDavid Lechner <david@lechnology.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      94a82284
    • S
      ARM: dts: da850-lcdk: add unit name for memory node · 01de0be5
      Sekhar Nori 提交于
      Add unit name for memory node to squash the W=1 warning:
      
      arch/arm/boot/dts/da850-lcdk.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name
      
      While at it, drop the device_type property from memory
      node since its provided by da850.dtsi already.
      Reviewed-by: NDavid Lechner <david@lechnology.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      01de0be5
    • S
      ARM: dts: da850: get rid of skeleton.dtsi · 30f548ba
      Sekhar Nori 提交于
      skeleton.dtsi is deprecated. Drop its usage in da850.dtsi
      and move the nodes and properties included by it directly
      to keep the dtb same.
      
      The memory node has been changed to get rid of warnings
      (see below). It contains the memory base address as that is
      fixed for DA850 SoCs. But the size needs to be added by
      bootloader or a board specific dts.
      
      This gets rid of the following W=1 warnings:
      
      arch/arm/boot/dts/da850-enbw-cmc.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name
      arch/arm/boot/dts/da850-evm.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name
      arch/arm/boot/dts/da850-lego-ev3.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name
      Reviewed-by: NDavid Lechner <david@lechnology.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      30f548ba
  2. 09 4月, 2018 1 次提交
  3. 06 4月, 2018 2 次提交
  4. 05 4月, 2018 6 次提交
  5. 29 3月, 2018 1 次提交
  6. 28 3月, 2018 1 次提交
  7. 27 3月, 2018 15 次提交
  8. 26 3月, 2018 1 次提交
    • M
      kbuild: Use ls(1) instead of stat(1) to obtain file size · a670b0b4
      Michael Forney 提交于
      stat(1) is not standardized and different implementations have their own
      (conflicting) flags for querying the size of a file.
      
      ls(1) provides the same information (value of st.st_size) in the 5th
      column, except when the file is a character or block device. This output
      is standardized[0]. The -n option turns on -l, which writes lines
      formatted like
      
        "%s %u %s %s %u %s %s\n", <file mode>, <number of links>,
            <owner name>, <group name>, <size>, <date and time>,
            <pathname>
      
      but instead of writing the <owner name> and <group name>, it writes the
      numeric owner and group IDs (this avoids /etc/passwd and /etc/group
      lookups as well as potential field splitting issues).
      
      The <size> field is specified as "the value that would be returned for
      the file in the st_size field of struct stat".
      
      To avoid duplicating logic in several locations in the tree, create
      scripts/file-size.sh and update callers to use that instead of stat(1).
      
      [0] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ls.html#tag_20_73_10Signed-off-by: NMichael Forney <forney@google.com>
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      a670b0b4
  9. 24 3月, 2018 1 次提交
  10. 23 3月, 2018 1 次提交
  11. 22 3月, 2018 4 次提交
  12. 21 3月, 2018 2 次提交
  13. 20 3月, 2018 2 次提交