1. 21 5月, 2013 1 次提交
    • G
      powerpc/mpc512x: move common code to shared.c file · 2abbbb63
      Gerhard Sittig 提交于
      - implement all of the init, init early, and setup arch routines in the
        shared source file for the MPC512x PowerPC platform, and make all
        MPC512x based boards (ADS, PDM, generic) use those common routines
      - remove declarations from header files for routines which aren't
        referenced from external callers any longer
      
      this modification concentrates knowledge about the optional FSL DIU
      support in one spot within the shared code, and makes all boards benefit
      transparently from future improvements in the shared platform code
      
      the change does not modify any behaviour but preserves all code paths
      Signed-off-by: NGerhard Sittig <gsi@denx.de>
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      2abbbb63
  2. 30 4月, 2013 1 次提交
  3. 11 4月, 2013 1 次提交
  4. 01 4月, 2013 1 次提交
  5. 16 2月, 2013 1 次提交
  6. 05 2月, 2013 1 次提交
  7. 29 1月, 2013 1 次提交
  8. 04 12月, 2012 1 次提交
  9. 10 9月, 2012 1 次提交
    • P
      powerpc: Option FB_FSL_DIU is not really optional for mpc512x · 12e36309
      Paul Gortmaker 提交于
      In powerpc randconfig builds, this keeps showing up:
      
        CC      arch/powerpc/platforms/512x/mpc512x_shared.o
      arch/powerpc/platforms/512x/mpc512x_shared.c:70:9: warning: 'enum fsl_diu_monitor_port' declared inside parameter list
      arch/powerpc/platforms/512x/mpc512x_shared.c:70:9: warning: its scope is only this definition or declaration, which is probably not what you want
      arch/powerpc/platforms/512x/mpc512x_shared.c:69:56: error: parameter 1 ('port') has incomplete type
      arch/powerpc/platforms/512x/mpc512x_shared.c:69:5: warning: function declaration isn't a prototype
      arch/powerpc/platforms/512x/mpc512x_shared.c:84:9: warning: 'enum fsl_diu_monitor_port' declared inside parameter list
      arch/powerpc/platforms/512x/mpc512x_shared.c:83:56: error: parameter 1 ('port') has incomplete type
      arch/powerpc/platforms/512x/mpc512x_shared.c:83:6: warning: function declaration isn't a prototype
      arch/powerpc/platforms/512x/mpc512x_shared.c:88:36: warning: 'enum fsl_diu_monitor_port' declared inside parameter list
      arch/powerpc/platforms/512x/mpc512x_shared.c:88:57: error: parameter 1 ('port') has incomplete type
      arch/powerpc/platforms/512x/mpc512x_shared.c:88:6: warning: function declaration isn't a prototype
      arch/powerpc/platforms/512x/mpc512x_shared.c:187:54: error: parameter 1 ('port') has incomplete type
      arch/powerpc/platforms/512x/mpc512x_shared.c:187:1: error: return type is an incomplete type
      arch/powerpc/platforms/512x/mpc512x_shared.c:187:1: warning: function declaration isn't a prototype
      arch/powerpc/platforms/512x/mpc512x_shared.c: In function 'mpc512x_valid_monitor_port':
      arch/powerpc/platforms/512x/mpc512x_shared.c:189:9: error: 'FSL_DIU_PORT_DVI' undeclared (first use in this function)
      arch/powerpc/platforms/512x/mpc512x_shared.c:189:9: note: each undeclared identifier is reported only once for each function it appears in
      arch/powerpc/platforms/512x/mpc512x_shared.c:189:2: warning: 'return' with a value, in function returning void
      make[2]: *** [arch/powerpc/platforms/512x/mpc512x_shared.o] Error 1
      
      The reason is that mpc512x_shared.c has a couple token #ifdef
      on FB_FSL_DIU/FB_FSL_DIU_MODULE, but they don't come close to
      masking all the DIU dependencies, as the above fail shows.
      
      Rather than sprinkle more pointless #ifdef in this file, just
      remove the existing two, and make FB_FSL_DIU part of the
      dependency.  The mpc512x_defconfig already has the line
      "CONFIG_FB_FSL_DIU=y" so this change should be zero impact
      on real world configs.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      12e36309
  10. 05 10月, 2011 1 次提交
  11. 13 7月, 2011 1 次提交
  12. 02 8月, 2010 1 次提交
  13. 25 5月, 2010 1 次提交
  14. 17 2月, 2010 3 次提交
  15. 17 6月, 2009 1 次提交
  16. 13 7月, 2008 1 次提交
  17. 07 2月, 2008 1 次提交