rockbox/firmware/target/arm/imx31
Aidan MacDonald 7e5fc4076a Add INIT_ATTR to i2c_init()
It's usually only called from init() in main.c, so this is safe.

There is one more call in system-dm320.c from system_init(), but
that's also "safe". I don't know if it's okay to call i2c_init()
twice, but presumably it works...

Change-Id: I9c1cd918d162d9955f7cf03209e836cbd5e30c57
2023-01-12 06:33:50 -05:00
..
gigabeat-s Add INIT_ATTR to system_init() 2023-01-12 06:05:55 -05:00
app.lds arm: Fix PortalPlayer linker scripts with binutils 2.21+ 2020-07-05 03:34:30 +00:00
ata-imx31.c Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
ata-target.h Unify storage threads into one 2017-10-26 14:35:41 -04:00
avic-imx31.c i.MX31: Simplify nested interrupt handling. Give SVC mode its own stack by grabbing the FIQ stack that's just been taking up space. Just get rid of all FIQ setup since it isn't used anyway. 2011-10-14 00:01:41 +00:00
avic-imx31.h i.MX31: Remove long udelay from DVFS interrupt handler 2013-05-11 21:09:01 -04:00
boot.lds imx31: Fix regression in bootloader caused by cd9906 2020-07-05 04:52:29 +00:00
ccm-imx31.c Remove atomic register bit manipulation functions from i.MX and s3c target code and introduce generic functions for ARM (bitmod32, bitset32, and bitclr32). Multiprocessor support is possible but just not implemented at the moment, only interrupt lockout. 2010-06-30 02:02:46 +00:00
ccm-imx31.h i.MX31/Gigabeat S: Implement frequency and voltage scaling-- 1.6V for 528MHz, and 1.35V for 264MHz and 132MHz. Keep DPTC overdrive ( > 400MHz) voltage scaling off for now because of uncertainties. Simplify the (working) mess later. 2010-04-23 15:32:50 +00:00
crt0.S arm: factor all exception handlers out of the crt0.S files 2012-04-06 13:46:32 +02:00
debug-imx31.c i.MX31: Restore screen clearing in DVFS/DPTC debug screen 2017-01-29 19:53:49 -05:00
dvfs_dptc-imx31.c i.MX31: Remove long udelay from DVFS interrupt handler 2013-05-11 21:09:01 -04:00
dvfs_dptc-imx31.h i.MX31: Now that it matters because there's a debug screeen that allows changing things while running, some DVFS/DPTC stuff has to be done more carefully. Trim out some stuff and group functions better as well. 2011-01-23 20:21:35 +00:00
gpio-imx31.c Improve imx31 interrupt code for PMIC and GPIO 2017-01-29 19:07:55 -05:00
gpio-imx31.h imx31: Work around an apparently not-quite-kosher abuse of CPP 2020-10-13 15:48:31 -04:00
i2c-imx31.c Add INIT_ATTR to i2c_init() 2023-01-12 06:33:50 -05:00
i2c-imx31.h Add INIT_ATTR to i2c_init() 2023-01-12 06:33:50 -05:00
iomuxc-imx31.c Remove atomic register bit manipulation functions from i.MX and s3c target code and introduce generic functions for ARM (bitmod32, bitset32, and bitclr32). Multiprocessor support is possible but just not implemented at the moment, only interrupt lockout. 2010-06-30 02:02:46 +00:00
iomuxc-imx31.h i.MX31: Add some enums and a couple helper functions to make dealing with pin muxing and pad configuration a bit more sane. Convert any existing code which changes mux/pad settings to use helpers. 2010-04-23 13:46:04 +00:00
mc13783-imx31.c Improve imx31 interrupt code for PMIC and GPIO 2017-01-29 19:07:55 -05:00
mmu-imx31.c Gigabeat S/i.MX31: Sort files in the /target tree into things that are SoC-generic (into /imx31) and player-specific (into /gigabeat-s, based upon current appearances). Move i2s clock init into the appropriate file. Housekeeping only-- no functional changes. 2010-04-09 01:21:53 +00:00
mmu-imx31.h Gigabeat S/i.MX31: Sort files in the /target tree into things that are SoC-generic (into /imx31) and player-specific (into /gigabeat-s, based upon current appearances). Move i2s clock init into the appropriate file. Housekeeping only-- no functional changes. 2010-04-09 01:21:53 +00:00
rolo_restart_firmware.S Fix assembler .size directives. Currently used binutils don't complain, but 2.21.1 treats these as errors. 2011-11-09 19:20:33 +00:00
rtc-target.h Convert i.MX31 and AMS target to use RTC interrupt 2017-11-21 07:52:02 -05:00
sdma-imx31.c Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
sdma-imx31.h Gigabeat S: Implement MDMA and UDMA disk access for bootloader and main binary. Add a needed SDMA API to check channel errors. Increase audio DMA channels' priority as required. Reads and writes measure faster accross all test_disk tests and especially at 4KB and 1MB. 2009-03-12 06:31:40 +00:00
sdma_script_code.h Some static data is only used by .init functions. Add .initdata to declare such data (otherwise section conflicts arise). For i.MX31, use INITDATA_ATTR in the appropriate places. 2011-01-08 20:42:51 +00:00
sdma_struct.h Fix tabs 2010-01-03 10:19:43 +00:00
serial-imx31.h Gigabeat S/i.MX31: Sort files in the /target tree into things that are SoC-generic (into /imx31) and player-specific (into /gigabeat-s, based upon current appearances). Move i2s clock init into the appropriate file. Housekeeping only-- no functional changes. 2010-04-09 01:21:53 +00:00
spi-imx31.c i.MX31: Some tweaks with variable declaration in SPI driver. 2011-12-29 04:22:20 +00:00
spi-imx31.h i.MX31: Rename something 2011-12-26 15:43:11 +00:00
uart-imx31.c Split off target-specific parts from firmware/drivers/serial.c 2011-04-23 08:23:07 +00:00