Skip to content
Snippets Groups Projects
  1. Oct 27, 2014
    • Tom Rini's avatar
      0ce4af99
    • Tom Rini's avatar
      5aa7bece
    • Tom Rini's avatar
      674ca84d
    • Marek Vasut's avatar
      arm: socfpga: config: Add USB support example · 20cadbbe
      Marek Vasut authored
      
      Add example configuration stub for the DWC2 USB controller.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Vince Bridgers <vbridger@altera.com>
      Cc: Pavel Machek <pavel@denx.de>
      20cadbbe
    • Andreas Bießmann's avatar
      tools/socfpgaimage.c: fix build on darwin · 686ed2c2
      Andreas Bießmann authored
      
      socfpgaimage utilizes htole32 and friends, unfortunately these functions are
      not available on darwin. Fix it by using the cpu_to_le32 and friends defined
      in compiler.h as other parts in mkimage do.
      
      This patch fixes the following error:
      ---8<---
        HOSTCC  tools/socfpgaimage.o
      tools/socfpgaimage.c:77:22: warning: implicit declaration of function 'htole32' is invalid in C99 [-Wimplicit-function-declaration]
              header.validation = htole32(VALIDATION_WORD);
                                  ^
      tools/socfpgaimage.c:80:22: warning: implicit declaration of function 'htole16' is invalid in C99 [-Wimplicit-function-declaration]
              header.length_u32 = htole16(length_bytes/4);
                                  ^
      tools/socfpgaimage.c:95:6: warning: implicit declaration of function 'le32toh' is invalid in C99 [-Wimplicit-function-declaration]
              if (le32toh(header.validation) != VALIDATION_WORD)
                  ^
      tools/socfpgaimage.c:97:6: warning: implicit declaration of function 'le16toh' is invalid in C99 [-Wimplicit-function-declaration]
              if (le16toh(header.checksum) != hdr_checksum(&header))
                  ^
      4 warnings generated.
      ...
        HOSTLD  tools/dumpimage
      Undefined symbols for architecture x86_64:
        "_htole16", referenced from:
            _socfpgaimage_set_header in socfpgaimage.o
        "_htole32", referenced from:
            _socfpgaimage_set_header in socfpgaimage.o
        "_le16toh", referenced from:
            _verify_buffer in socfpgaimage.o
        "_le32toh", referenced from:
            _verify_buffer in socfpgaimage.o
      ld: symbol(s) not found for architecture x86_64
      --->8---
      
      Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      686ed2c2
    • Marek Vasut's avatar
      arm: socfpga: Zap CONFIG_EPHY[01]_PHY_ADDR macro · a22a584c
      Marek Vasut authored
      
      This is not used anywhere, remove it.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Acked-by: default avatarDinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Vince Bridgers <vbridger@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Pavel Machek <pavel@denx.de>
      a22a584c
    • Marek Vasut's avatar
      arm: socfpga: Zap spl.h and ad-hoc related syms · 34584d19
      Marek Vasut authored
      
      Switch to the common spl.h file and zap the arch/spl.h . Since the arch/spl.h
      contained various ad-hoc symbols, zap those symbols as well and rework the
      board configuration a little so it doesn't depend on them.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Vince Bridgers <vbridger@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      34584d19
    • Marek Vasut's avatar
      arm: socfpga: Move code from misc_init_r() to arch_early_init_r() · fc520894
      Marek Vasut authored
      
      Move this initialization code to proper place. The misc_init_r()
      function is called way too late and the platform initialization
      code should be executed much earlier.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Vince Bridgers <vbridger@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      fc520894
  2. Oct 26, 2014
  3. Oct 25, 2014
Loading