Skip to content
Snippets Groups Projects
  1. May 18, 2017
  2. Dec 20, 2015
  3. Aug 23, 2015
    • Marek Vasut's avatar
      arm: socfpga: Make the pinmux table const u8 · cc9429a5
      Marek Vasut authored
      
      Now that we're actually converting the QTS-generated header files,
      we can even adjust their data types. A good candidate for this is
      the pinmux table, where each entry can have value in the range of
      0..3, but each element is declared as unsigned long. By changing
      the type to u8, we can save over 600 Bytes from the SPL, so do it.
      This patch also constifies the array.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      cc9429a5
  4. Aug 08, 2015
    • Marek Vasut's avatar
      arm: socfpga: system: Clean up pinmux_config.c · 2d779b39
      Marek Vasut authored
      
      Implement new accessor, sysmgr_get_pinmux_table(), used to obtain pinmux
      table and it's size from the QTS-generated pinmux_config.c. The target
      here is again to get rid of poluting global namespace by including the
      pinmux_config.h into it.
      
      Furthermore, the pinmux_config.h declares some CONFIG_HPS_* macros,
      which are explicitly useless to us in U-Boot. Instead, U-Boot does
      use DT to detect exactly these configuration options. This patch
      makes sure that while this QTS-generated file can stay in the tree,
      these obscure macros do not ooze into the namespace anymore.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      2d779b39
    • Marek Vasut's avatar
      arm: socfpga: system: Rework sysmgr_enable_warmrstcfgio() · 40687b4f
      Marek Vasut authored
      
      Rework sysmgr_enable_warmrstcfgio() into sysmgr_config_warmrstcfgio(),
      which allows both enabling and disabling the warm reset config I/O
      functionality.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      40687b4f
  5. May 07, 2015
  6. Apr 21, 2015
  7. Oct 06, 2014
    • Pavel Machek's avatar
      arm: socfpga: misc: Add proper ethernet initialization · 45d6e677
      Pavel Machek authored
      
      Add function to initialize the EMAC blocks upon board startup.
      The preprocessor guards against building on SoCFPGA-VT and against
      SPL build are not needed as those are handled implicitly via both
      SPL framework and the socfpga_cyclone5.h config file, which will
      not define CONFIG_DESIGNWARE_ETH if building for SoCFPGA-VT.
      
      We cannot handle two EMAC ethernet blocks yet, therefore the ifdefs.
      Once there is hardware using both EMAC blocks, this ifdef will have
      to go.
      
      Signed-off-by: default avatarPavel Machek <pavel@denx.de>
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      45d6e677
    • Marek Vasut's avatar
      arm: socfpga: sysmgr: Clean up system manager · 665e4caf
      Marek Vasut authored
      
      Clean up the system manager register definition and add the missing
      register definitions in place.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: default avatarPavel Machek <pavel@denx.de>
      665e4caf
  8. Jan 09, 2014
  9. Oct 07, 2013
Loading