1. 11 Jan, 2015 1 commit
    • Jeffrey Lee's avatar
      Add HAL device implementation for PL310 L2 cache controller · 797812f8
      Jeffrey Lee authored
      Detail:
        s/PL310 - Add basic HAL device for the PL310 cache controller. Reports the base address to the OS and handles basic cache initialisation.
        Makefile - Include PL310 code
        hdr/StaticWS - Allocate workspace for HAL device
        s/Boot - Remove L2 cache initialisation from HAL_Init. Register PL310 device during HAL_InitDevices.
      Admin:
        Tested on rev A6 Pandaboard
        Requires Kernel-5_35-4_79_2_252
      
      
      Version 0.41. Tagged as 'OMAP4-0_41'
      797812f8
  2. 21 Dec, 2014 1 commit
    • Robert Sprowson's avatar
      Enable L2 cache in HAL_Init · 1fa73584
      Robert Sprowson authored
      On the OMAP4 we're in a privileged but unsecure mode, so to do the initial PL310 enable we call an SMC sunction embedded in the OMAP's onboard mask ROM to do the deed.
      Also, correct the range of SDRAM hinted to the kernel - this looks like a copy and paste mistake from the Tungsten HAL.
      
      Version 0.40. Tagged as 'OMAP4-0_40'
      1fa73584
  3. 07 Dec, 2014 1 commit
    • Robert Sprowson's avatar
      Relocate SDIO again · c19aa5e5
      Robert Sprowson authored
      According to Willi, although MMC1 is connected at L3, RISC OS only ever uses the L4_PER interface, so move it back to that bus.
      Retagged as OMAP4-0_39.
      c19aa5e5
  4. 06 Dec, 2014 2 commits
  5. 30 Oct, 2014 1 commit
  6. 25 Oct, 2014 1 commit
  7. 04 Sep, 2014 1 commit
    • Jeffrey Lee's avatar
      Add support for recent U-Boot versions · b619bcbf
      Jeffrey Lee authored
      Detail:
        hdr/PRCM:
        - added further definitions (not listed in older TRMs)
        s/Audio:
        - configure all GPIO pads used by audio system
          (for supporting latest U-Boot 2014-7)
        s/Boot:
        - added overflow check for address range
        s/RAM:
        - added overflow check for address range
        - address comparison with unsigned arithmetic
        s/RTC:
        - added initialisation code and pad configuration for TWL6030 RTC
          (for supporting latest U-Boot 2014-07)
        s/SDIO:
        - added pad configuration for LEDs used by SDIO
          (for supporting latest U-Boot 2014-07)
        s/USB:
        - removed unused code parts
        - use defines for controller types
        s/Video:
        - added pad configuration for DVI framer pin
        - enable DSS power and clock domain and DSS specific clocks
        - activate thermal sensor clock
        - wait for activated module in VideoDevice_Activate
          (for supporting latest U-Boot 2014-07)
      Admin:
        Submission from Willi Theiss
        Tested on Panda ES rev B3 (Willi), Panda rev A6 (myself)
      
      
      Version 0.36. Tagged as 'OMAP4-0_36'
      b619bcbf
  8. 20 Jul, 2014 1 commit
  9. 22 Apr, 2014 1 commit
    • Robert Sprowson's avatar
      Improvements to audio FIFOing · dd79dd09
      Robert Sprowson authored
      hdr/Audio: split AudioChannels to allow new AudioDMASize field to differentiate OMAP4430 v 4460.
      Audio.s: handle FIFO underflow events of the audio stream, differentiate FIFO sizes for OMAP4430 v 4460.
      SDMA.s: add prefetch flag in DMA control for audio channel
      Submission from Willi Theiss.
      
      Version 0.34. Tagged as 'OMAP4-0_34'
      dd79dd09
  10. 14 Apr, 2014 1 commit
  11. 23 Mar, 2014 1 commit
  12. 22 Mar, 2014 2 commits
  13. 09 Mar, 2014 1 commit
    • Robert Sprowson's avatar
      Rework of SDRAM detection · 6d2e5e8a
      Robert Sprowson authored
      hdr.SDRC: Extra bit fields added to definitions
      s.RAM: scan through all LISA_MAP register
             rework of clear loop (only one instance used)
      s.Boot: scan through all LISA_MAP register
      
      This should remove the dependence of the OMAP4 HAL to be run with a specific version of the accompanying loader.
      Submission from Willi Theiss. Built, but not tested here,
      
      Version 0.29. Tagged as 'OMAP4-0_29'
      6d2e5e8a
  14. 08 Mar, 2014 1 commit
    • Robert Sprowson's avatar
      Use DSB/ISB directly · 71b85f75
      Robert Sprowson authored
      Objasm 4 supports ARMv7 opcodes, and this HAL is only every for ARMv7.
      Built, but not tested. Submission from Willi Theiss.
      
      Version 0.28. Tagged as 'OMAP4-0_28'
      71b85f75
  15. 15 Dec, 2013 1 commit
    • Jeffrey Lee's avatar
      Remove obsolete stub HAL video API implementation · 9ab43465
      Jeffrey Lee authored
      Detail:
        hdr/Video - Remove unused local VIDC list type 3 definition
        s/Boot, s/Video - Removed obsolete HAL video API implementation. A stub implementation is no longer required for systems that have a GraphicsV driver in a module, and can even cause problems if the OS decides to use the HAL implementation instead of the module one.
      Admin:
        Builds, but untested. Essentially the same changes as for the OMAP3 HAL.
        Requires Kernel-5_35-4_79_2_203
      
      
      Version 0.27. Tagged as 'OMAP4-0_27'
      9ab43465
  16. 16 Nov, 2013 3 commits
  17. 12 Nov, 2013 1 commit
  18. 09 Nov, 2013 1 commit
  19. 01 Nov, 2013 1 commit
  20. 30 Oct, 2013 1 commit
    • Ben Avison's avatar
      Replaced header file for licensing reasons · 8ef181eb
      Ben Avison authored
      Detail:
        omap4_reg.h taken from FreeBSD projects/armv6/sys/arm/ti/omap4, trimmed to
        only include interrupt definitions, then updated so that symbol names and
        comments match Table 17.2 of the OMAP4460 TRM (SWPU235F) more closely - now
        the symbol names only differ in the prefix, and the absence of "IRQ"
        mid-string.  This was then translated very literally into objasm syntax to
        create hdr.omap4_reg, and used in place of hdr.irqs44xx.
      Admin:
        Builds OK
      
      Version 0.22. Tagged as 'OMAP4-0_22'
      8ef181eb
  21. 28 Sep, 2013 1 commit
  22. 21 Sep, 2013 1 commit
  23. 02 Sep, 2013 1 commit
  24. 01 Sep, 2013 2 commits
    • Robert Sprowson's avatar
      Whitespace changes · ff60f3e7
      Robert Sprowson authored
      Code and hashes lined up nicely.
      Not tagged.
      ff60f3e7
    • Robert Sprowson's avatar
      Add support for all 4 I2C interfaces hdr.board support all 4 I2C interfaces... · cf16b564
      Robert Sprowson authored
      Add support for all 4 I2C interfaces hdr.board support all 4 I2C interfaces added BoardFlags variable remove unused BoardConfig_APLL_CTL variable hdr.StaticWS support all 4 I2C interfaces on OMAP4 board.s removed unused parameter apll_ctl added support for all 4 I2C and UART interfaces added BoardFlags variable
      
      Boot.s
          support all 4 I2C interfaces
          some code tweaks (tidy up)
          removed unused Touchbook code
      I2C.s
          support all 4 I2C interfaces
          some code cleanup and comment correction
      Submission from Willi Theiss.
      
      Version 0.19. Tagged as 'OMAP4-0_19'
      cf16b564
  25. 17 Aug, 2013 1 commit
  26. 15 Aug, 2013 1 commit
  27. 13 Apr, 2013 1 commit
  28. 10 Apr, 2013 1 commit
    • Robert Sprowson's avatar
      Tidy ups to OMAP4 hdr.GPIO removed TWL/TPS pins (not available on... · 5052676f
      Robert Sprowson authored
      Tidy ups to OMAP4 hdr.GPIO removed TWL/TPS pins (not available on OMAP4/TWL6030) s.GPIO removed TWL/TPS related GPIO pins (not available on OMAP4/TWL6030) s.SDIO some code cleanup (remove OMAP3 specific stuff) s.Boot some code tweaks (tidy up)
      
      Changes from Willi Theiss. Built, but not tested here.
      
      Version 0.15. Tagged as 'OMAP4-0_15'
      5052676f
  29. 07 Apr, 2013 1 commit
    • Robert Sprowson's avatar
      Changes for OMAP4 HAL · f8acd505
      Robert Sprowson authored
      hdr/GPIO: aligned columns
      hdr/USB: added more USB related register definitions (OTG and USBPHY)
      hdr/Video: global variable for preventing multiple inclusion renamed to its original
      hdr/irqs44xx: interrupt numbers and naming according to latest OMAP44xx TRMs
      hdr/omap4430: address correction for L4_USBPHY
      s/Audio:
          changed recovering from error conditions
          disabled kludge for supporting non native samplerates (44.1 + 48k)
      s/PRCM:
          removed unused function PRCM_GetFreqSel and related table
      s/SDIO
          aligned columns
      s/USB
          name change for OTG interrupt source
      
      Part of a number of changes from Willi Theiss.
      Build, but not tested.
      
      Version 0.14. Tagged as 'OMAP4-0_14'
      f8acd505
  30. 22 Jan, 2013 1 commit
    • Jeffrey Lee's avatar
      Implement HAL_IRQMax · e198fedf
      Jeffrey Lee authored
      Detail:
        s/Boot, s/Interrupts - Added HAL_IRQMax implementation, to ensure correct functionality with latest Kernel
      Admin:
        Builds OK but untested at runtime
        Requires Kernel-5_35-4_79_2_182
      
      
      Version 0.13. Tagged as 'OMAP4-0_13'
      e198fedf
  31. 09 Jul, 2012 1 commit
  32. 04 Jul, 2012 1 commit
    • Robert Sprowson's avatar
      Refactor HAL_VideoIICOp to be ATPCS · ec096f9e
      Robert Sprowson authored
      No longer specified to return _kernel_oserror * implements GraphicsV 14.
      Make use of IICStatus defines instead of local copies.
      Rename HAL_Video_ to HAL_Video.
      Compiles, but not tested.
      
      
      Version 0.11. Tagged as 'OMAP4-0_11'
      ec096f9e
  33. 03 Jul, 2012 1 commit
    • Ben Avison's avatar
      Added SD support for Pandaboard · 752d8b83
      Ben Avison authored
      Detail:
        SDHCI HAL device created. Also, Entry HAL_UARTDefault added (supports
        OS_SerialOp) and HALDoesVideo switch, previously disabled, is now removed.
      Admin:
        Requires SDIODriver 0.04.
        Changes received from Willi Theiss.
      
      Version 0.10. Tagged as 'OMAP4-0_10'
      752d8b83
  34. 11 Jun, 2012 1 commit
    • Jeffrey Lee's avatar
      Fix HAL_UARTModemControl · a9f7850d
      Jeffrey Lee authored
      Detail:
        s/UART:
        - HAL_UARTModemControl now uses the correct AND mask; previous code would have always had bit 0 of the mask set.
        - Fixed code in HAL_UARTModemControl that was testing for calls that don't update the register
      Admin:
        Builds, but untested
        Identical fix was tested in OMAP3 HAL
      
      
      Version 0.09. Tagged as 'OMAP4-0_09'
      a9f7850d
  35. 06 Jun, 2012 1 commit
    • Jeffrey Lee's avatar
      Sanitise HAL_USBControllerInfo · 23a21f07
      Jeffrey Lee authored
      Detail:
        s/USB - For valid controllers, HAL_USBControllerInfo now always returns the correct USB struct size and fills in the controller type. The rest of the buffer is filled in only if the supplied size is large enough. This allows for proper probing of controllers without knowing the required buffer sizes beforehand.
      Admin:
        Builds, but untested at runtime
        (Code identical to OMAP3 HAL anyway)
      
      
      Version 0.08. Tagged as 'OMAP4-0_08'
      23a21f07