Commit Graph

30 Commits

Author SHA1 Message Date
andrewfish 81bc205daf Clean up OMAP DMA lib and split into generic DMA lib based on PCI_IO DMA abstractions and make OMAP DMA lib about channel programming only.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10555 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-29 00:21:30 +00:00
andrewfish 076c05050d Set the default compilers arch flags for these packages
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10552 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28 22:37:55 +00:00
andrewfish 8e7c9e030f Fix line ending issue. Update DMA Map primatives to double buffer if buffer does not start on cache line boundary. If buffer is not a multiple of a cache line only whole cache lines will be allowed in the buffer. This is part of the MAP API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10547 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28 00:31:53 +00:00
andrewfish d744b79c0f Add a little more code for SD Card DMA, but make sure it is turned off until it is debugged.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10546 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28 00:29:31 +00:00
andrewfish 23d3998ad5 Remove DebugSupport driver for ARM and DebugSupportProtocol. In edk2 you can link debugger into DXE core directly so you don't need a debug support. Also we are going to FIQ for debugger ctrl-c break in, so no need to hook the timer infrastructure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10495 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 00:54:24 +00:00
andrewfish 9f6b977f66 Add PCD setting for Timer, default is 10 times a second. You need the timer to detect a media change event. Also coded up DMA, but have not debugged it yet and it is not turned on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10478 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-11 00:06:47 +00:00
andrewfish 7f814ffd44 Add a DMA lib for the OMAP. It is a combination of PCI IO (generic ARM) DMA functions and OMAP specific DMA config routines. Update PCI emulation driver to use the new library. Started converting MMCHS (SD Card) driver over to using DMA, still a work in progress. Need to verify the 22 parameters required to setup a DMA transfer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10469 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-08 19:32:03 +00:00
andrewfish 2b649f7477 Program SD Cards into 4-bit mode (support for this is required in the spec). This gives a 20+% performance increase in load time of an 8MB image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10455 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-04 16:34:38 +00:00
andrewfish 20f461ce92 Adding more DMA #defines to backup all the typing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10452 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-30 21:01:35 +00:00
andrewfish ef0f565cfb Add a .h file for Omap3530 DMA engine. So far just register addresses
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10451 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-30 20:14:14 +00:00
andrewfish 8c6151f2ba Updated MMC/SD Card driver to support hot add and remove of the media (SD Cards) and enable write protect of SD Cards. Had to update pads for WP bit as it was not being programmed as a GPIO. I also changed some of the PAD #defins as there were only really 3 states, so OR things in the table in the .c file did not make a lot of sense.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10450 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-30 19:43:11 +00:00
hhtian 3d70643bbd Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10447 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-29 12:46:45 +00:00
andrewfish a46c3d499e Remove debug #ifdef in USB HC init
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10431 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-27 18:59:36 +00:00
andrewfish 55bff42e00 Cleanup name issues with PCD entries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10389 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-21 22:06:00 +00:00
andrewfish 9e4f210c32 DebugAgentTimerLib cleanup
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10372 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-14 18:05:19 +00:00
andrewfish e9fc14b6e1 Make sure FIQ debugger stuff can work.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10369 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-13 22:30:42 +00:00
andrewfish 382127fc4c Fix Beagle references without using svn mv.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10365 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-13 18:31:27 +00:00
andrewfish 801ee6c6b7 Partial checkin to fix Beagle references
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10364 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-13 18:25:49 +00:00
andrewfish d70b88120a Partial checkin fixing Beagle references
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10363 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-13 18:25:15 +00:00
andrewfish 43263288dd Added DebugAgentTimerLib. Cleaned up .h files and other code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10332 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-03 00:34:19 +00:00
andrewfish 44a8883ec0 Fix typo that causes a hang.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10212 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-07 23:15:06 +00:00
andrewfish c0bd010b0b Updating the USB subsystem init done in PciEmulation so we can use the standard EHCI driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10211 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-07 17:15:21 +00:00
andrewfish 51866b5465 Update USB init code to do a softreset.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10208 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 07:10:52 +00:00
andrewfish 41d478023f Make these drivers more compatible with a projected Debug Agent Library implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10196 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05 00:57:07 +00:00
andrewfish 753816a324 Add EOI API to hardware interrupt. Add PCD setting form DRAM base and size. Remove bogus PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10088 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 19:25:44 +00:00
jljusten a495774f69 Remove svn:executable on *.c, *.h, *.asm, *.S, *.inf and *.asl*
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10087 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 18:17:41 +00:00
andrewfish 026c3d34ee Updated Hardware Interrupt protocol to add an EOI member. Added ARM Data/Instruction syncronization barrier support to the ARM lib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10063 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 22:38:46 +00:00
andrewfish 5dea9bd6e6 Change Cortex-A8 references to ARMv7. Cortex-A8 is a branded implementation of the ARMv7 processor architecture.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10022 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-18 01:57:13 +00:00
andrewfish 026e30c4bb Cleanup SerailIO drivers to have a device path and use PCD settings for various stuff. Also clean up a few coding convention items.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10009 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-15 20:40:51 +00:00
andrewfish a3f98646f6 Moving OMAP 3530 code out of BeagleBoard package into its own package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9854 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-28 21:32:01 +00:00