Commit 4a0f081d authored by Simon Horman's avatar Simon Horman Committed by Paul Mundt

ARM: mach-shmobile: Correctly check for CONFIG_MACH_MACKEREL

I made a bit of a thinko when adding Mackerel to the boards
that support zboot using MMCIF.
Reported-by: default avatarMagnus Damm <magnus.damm@gmail.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 6221f222
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#ifdef CONFIG_MACH_AP4EVB #ifdef CONFIG_MACH_AP4EVB
#include "mach/mmc-ap4eb.h" #include "mach/mmc-ap4eb.h"
#elif CONFIG_MACH_MACKEREL #elif defined(CONFIG_MACH_MACKEREL)
#include "mach/mmc-mackerel.h" #include "mach/mmc-mackerel.h"
#else #else
#error "unsupported board." #error "unsupported board."
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#ifdef CONFIG_MACH_AP4EVB #ifdef CONFIG_MACH_AP4EVB
#define MACH_TYPE MACH_TYPE_AP4EVB #define MACH_TYPE MACH_TYPE_AP4EVB
#include "mach/head-ap4evb.txt" #include "mach/head-ap4evb.txt"
#elif CONFIG_MACH_MACKEREL #elif defined(CONFIG_MACH_MACKEREL)
#define MACH_TYPE MACH_TYPE_MACKEREL #define MACH_TYPE MACH_TYPE_MACKEREL
#include "mach/head-mackerel.txt" #include "mach/head-mackerel.txt"
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment