-
Jeffrey Lee authored
Update OMAP HAL to support different board configs, plus use new YearLOIsGood flag to ensure correct RTC handling, plus other misc tidying Detail: The OMAP HAL now has multiple entry points, one per board config. See Top.s/board.s for more info. audio.s - Moved APLL_CTL value to board config board.s - New file to list all the settings for the different board configs boot.s - Change HAL_Init to deal with the new board config stuff debug.s - Debug UART now specified in board config GPIO.s - A few utility functions for handling OMAP/TPS GPIO pins I2C.s - Update to use new board config struct RAM.s - Disable the beagleboard-specific RAM init code. Instead we'll just rely on u-boot to initialise all our RAM for us. RTC.s - Get rid of the magic numbers, and use the YearLOIsGood flag to indicate to RISC OS that YearLO is 2-digit BCD Top.s - Got rid of old debug code and rewrote initial flow to handle detecting & storing the board config UART.s - Update to use board config struct, support multiple UARTs USB.s - Get EHCI PHY power GPIO from board config Video.s - Get DVI framer power GPIO and max pixel rate from board config. Add 'PassiveVideo' option, to build a driver that doesn't alter the video output settings - should hopefully result in a usable display on Touch Book, etc. board.hdr - Definition of board config table struct GPIO.hdr - Add lots of macros for handling OMAP GPIO pins, new constants for OMAP/TPS GPIO I2C.hdr - Added I2C transfer block struct, HAL I2C API transfer states (both moved here from other source files) omap3530.hdr - Move/remove some unwanted constants, disable DebugChar for now StaticWS.hdr - Move I2C transfer block struct to I2C.hdr, add board config struct to HAL workspace, get rid of unused 64K AllocArea Timers.hdr - Tidy up constants a bit UART.hdr - Add UARTCLK (moved from StaticWS.hdr), UART IRQ #'s Makefile - add GPIO.s Admin: Tested on rev C2 beagleboard. Board configs for other board types may be inaccurate in a couple of places. Version 0.19. Tagged as 'OMAP3-0_19'
17e509d7