[MAJOR] The SDCard RPI driver first commit
The new driver for RPI added. There are two variants mmc and emmc for each platform. It's not good solution, because each two implementations differ by the registers set, the base address and some functionality. This driver doesn't work. It'll be fixed in the future.
This commit is contained in:
@@ -430,7 +430,7 @@ service devman
|
||||
;
|
||||
};
|
||||
|
||||
service mmc
|
||||
service omap_mmc
|
||||
{
|
||||
system
|
||||
PRIVCTL # 4
|
||||
@@ -444,6 +444,19 @@ service mmc
|
||||
priority 4; # priority queue 4
|
||||
};
|
||||
|
||||
service rpi_mmc
|
||||
{
|
||||
system
|
||||
PRIVCTL # 4
|
||||
IRQCTL # 19
|
||||
;
|
||||
# Interrupts allowed
|
||||
irq
|
||||
24
|
||||
; # IRQs allowed
|
||||
priority 4; # priority queue 4
|
||||
};
|
||||
|
||||
service fb
|
||||
{
|
||||
system
|
||||
@@ -526,7 +539,19 @@ service edfictl
|
||||
ipc ALL;
|
||||
};
|
||||
|
||||
service emmc
|
||||
service rpi_emmc
|
||||
{
|
||||
system
|
||||
PRIVCTL
|
||||
IRQCTL
|
||||
PADCONF
|
||||
;
|
||||
irq
|
||||
28 # MMCSD1INT
|
||||
;
|
||||
};
|
||||
|
||||
service omap_emmc
|
||||
{
|
||||
system
|
||||
PRIVCTL
|
||||
|
||||
Reference in New Issue
Block a user