OSDN Git Service

mtd: lpddr: fix Kconfig dependency, for I/O accessors
authorBrian Norris <computersforpeace@gmail.com>
Wed, 21 May 2014 20:25:46 +0000 (13:25 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 26 May 2014 17:38:25 +0000 (10:38 -0700)
commit897f3a18b0bbe466b7405d96bc99550578d5b145
tree61f32b35d2039688556f56b09a7e23f4bcda0345
parentfe4fd75b827a3c037d71ecaed04503e3637ccb1c
mtd: lpddr: fix Kconfig dependency, for I/O accessors

Not all architectures implement a writel_relaxed() accessor. Hopefully
this will change eventually, but for now, this means lpddr2_nvm.c can't
compile on some architectures.

Let's add an ARM dependency for now, and leave a comment so maybe we can
change this in the future.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: Vincenzo Aliberti <vincenzo.aliberti@gmail.com>
drivers/mtd/lpddr/Kconfig