Skip to content

Commit 9289d4e

Browse files
Sudhakar RajashekharaDavid Woodhouse
authored andcommitted
driver/Makefile: Initialize "mtd" and "spi" before "net"
On TI's da850/omap-l138 EVM, MAC address is stored in SPI flash. This patch changes the initialization sequence of the drivers by moving mtd and spi ahead of net in drivers/Makefile thereby enabling da850/omap-l138 ethernet driver to read the MAC address while booting. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent dfe3289 commit 9289d4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ obj-y += macintosh/
4242
obj-$(CONFIG_IDE) += ide/
4343
obj-$(CONFIG_SCSI) += scsi/
4444
obj-$(CONFIG_ATA) += ata/
45+
obj-$(CONFIG_MTD) += mtd/
46+
obj-$(CONFIG_SPI) += spi/
4547
obj-y += net/
4648
obj-$(CONFIG_ATM) += atm/
4749
obj-$(CONFIG_FUSION) += message/
@@ -50,8 +52,6 @@ obj-y += ieee1394/
5052
obj-$(CONFIG_UIO) += uio/
5153
obj-y += cdrom/
5254
obj-y += auxdisplay/
53-
obj-$(CONFIG_MTD) += mtd/
54-
obj-$(CONFIG_SPI) += spi/
5555
obj-$(CONFIG_PCCARD) += pcmcia/
5656
obj-$(CONFIG_DIO) += dio/
5757
obj-$(CONFIG_SBUS) += sbus/

0 commit comments

Comments
 (0)