Skip to content
Snippets Groups Projects
  1. Oct 07, 2019
  2. Mar 12, 2017
  3. Mar 07, 2017
  4. Jul 16, 2016
  5. Jul 15, 2016
  6. May 09, 2016
  7. Apr 14, 2016
  8. Dec 11, 2015
  9. Nov 23, 2015
  10. Aug 28, 2015
  11. Aug 27, 2015
    • Praveen Rao's avatar
      [CPUINFO][DRA7] Support DRA74x SR2.0 samples · 3760d585
      Praveen Rao authored
      
      Support for DRA7xx SR2.0 IDCODE for DRA74x.
      
      NOTE: new silicon revisions are called SR (Silicon Revisions) as
      Opposed to ES (Engineering Samples) to avoid misunderstandings of what
      "engineering samples" actually mean. Unfortunately, the old code carry
      over still uses ES nomenclature for many legacy silicon. we leave that
      as is.
      
      Signed-off-by: default avatarPraveen Rao <prao@ti.com>
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      3760d585
    • Nishanth Menon's avatar
      [CPUINFO][DRA74x] Rename IDCODE MACROs to be closer to reality · 076719e3
      Nishanth Menon authored
      
      DRA7XX is a superset of DRA74x DRA75x and DRA72x.. that is not really
      true for these macros.. Lets just use DRA74x instead to keep things
      simple.
      
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      076719e3
    • Nishanth Menon's avatar
      [COMMON / OMAP4/ OMAP5] cast fget result to void · 79186cee
      Nishanth Menon authored
      
      Seems fgets needs to have return value checked, but our existing logic
      seems to have no need for it, so cast to void to make gcc 5.1 happy.
      
      Fixes:
      arch/arm/mach-omap/omap4/uc_audit44xx.c:887:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      arch/arm/mach-omap/omap5/lib54xx.c:500:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      arch/arm/mach-omap/omap5/lib54xx.c:501:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/cpuinfo.c:1576:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/cpuinfo.c:1704:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/cpuinfo.c:1707:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/cpuinfo.c:303:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:1110:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:1170:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:450:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:639:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:782:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:840:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:853:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:872:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:884:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:906:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:961:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      common/trace.c:984:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
      
      Reported-by: default avatarRobert C Nelson <robertcnelson@gmail.com>
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      79186cee
    • Nishanth Menon's avatar
      [COMMON][MEM] get rid of inline accessors for public functions · 7fb33ae8
      Nishanth Menon authored
      
      Stop confusing gcc 5.1.
      
      Fixes build warnings:
      common/mem.h:59:14: warning: inline function 'mem_phys2virt' declared
      but never defined
       inline void *mem_phys2virt(void *addr);
      
      Reported-by: default avatarRobert C Nelson <robertcnelson@gmail.com>
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      7fb33ae8
    • Nishanth Menon's avatar
      [COMMON][LIB] Fix up inlines · 31ff9ba8
      Nishanth Menon authored
      
      Dont keep inlines in public functions, just make them static inlines
      
      Confuses the heck out of gcc 5.1
      
      Fixes:
      common/mem.h:59:14: warning: inline function 'mem_phys2virt' declared but never defined
       inline void *mem_phys2virt(void *addr);
                    ^
      In file included from omapconf.c:49:0:
      common/lib.h:237:12: warning: inline function 'mhz2khz' declared but never defined
       inline int mhz2khz(double mhz);
                  ^
      common/lib.h:236:15: warning: inline function 'khz2mhz' declared but never defined
       inline double khz2mhz(int khz);
                     ^
      common/lib.h:234:12: warning: inline function 'v2uv' declared but never defined
       inline int v2uv(double v);
                  ^
      common/lib.h:233:15: warning: inline function 'uv2v' declared but never defined
       inline double uv2v(int uv);
      
      Reported-by: default avatarRobert C Nelson <robertcnelson@gmail.com>
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      31ff9ba8
  12. Aug 25, 2015
  13. Jun 25, 2015
    • Suman Anna's avatar
      [CPUINFO] Correct I2C bus number to fix cpuinfo for OMAP4/5 · 727b8e6b
      Suman Anna authored
      
      The cpuinfo option prints out the PMIC and AudioIC device
      information alongside the SoC information. This data is
      gathered by querying the devices using appropriate i2c
      commands. The I2C bus number being used currently matches
      the bus numbers from the legacy non-DT boots, and does not
      match the DT alias numbers from the current DT-based boots.
      The PMIC and AudioIC info is incorrect as a result, and it
      also causes additional delays due to i2c timeouts on every
      omapconf command (especially on OMAP5).
      
      Fix this I2C bus number so that the cpuinfo information is
      printed properly for OMAP4 and OMAP5 SoCs. The behavior on
      other SoCs is same as before this patch.
      
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      727b8e6b
  14. May 06, 2015
Loading