diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-04-25 02:04:05 +0800 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-04-25 02:04:05 +0800 |
commit | a086ee2268abcfcbf80a114f4602e5b26aa80bf0 (patch) | |
tree | fe027181ea37e00e85040977788cad82aa3faea5 /arch/blackfin/mach-common/arch_checks.c | |
parent | a81501af19830ff43688781edad7e9c0cbd668af (diff) | |
download | blackbird-op-linux-a086ee2268abcfcbf80a114f4602e5b26aa80bf0.tar.gz blackbird-op-linux-a086ee2268abcfcbf80a114f4602e5b26aa80bf0.zip |
[Blackfin] arch: detect the memory available in the system on the fly by default
detect the memory available in the system on the fly by default
rather than forcing people to set this manually in the kconfig
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-common/arch_checks.c')
-rw-r--r-- | arch/blackfin/mach-common/arch_checks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/arch_checks.c b/arch/blackfin/mach-common/arch_checks.c index 2f6ce397780f..caaab49e9cfa 100644 --- a/arch/blackfin/mach-common/arch_checks.c +++ b/arch/blackfin/mach-common/arch_checks.c @@ -54,7 +54,8 @@ #endif /* CONFIG_BFIN_KERNEL_CLOCK */ +#ifdef CONFIG_MEM_SIZE #if (CONFIG_MEM_SIZE % 4) #error "SDRAM mem size must be multible of 4MB" #endif - +#endif |