match of_modaliases

Sascha Hauer s.hauer at pengutronix.de
Fri Feb 7 03:33:18 EST 2014


Right now barebox does not match the "vendor,device" compatible entries
in the devicetree. Implement this and also let the m25p80 driver match
to the different flash types, not only "m25p80".

Sascha

----------------------------------------------------------------
Sascha Hauer (2):
      i2c/spi: match of_modaliases
      mtd: m25p80: set driver id_table

 drivers/base/bus.c           | 37 +++++++++++++++++++++++++++++++++++++
 drivers/i2c/i2c.c            |  2 +-
 drivers/mtd/devices/m25p80.c | 16 ++++++----------
 drivers/spi/spi.c            |  2 +-
 include/driver.h             |  3 ++-
 5 files changed, 47 insertions(+), 13 deletions(-)



More information about the barebox mailing list