From 76ebc9fdbfff91f226bc559706e3e7ece43ec30d Mon Sep 17 00:00:00 2001 From: Sebastien Jan Date: Wed, 22 Dec 2010 13:53:18 +0100 Subject: [PATCH 5/5] omap4: Make 1GHz as default MPU clock Signed-off-by: Aneesh V Signed-off-by: Rajendra Nayak Signed-off-by: Santosh Shilimkar Signed-off-by: Sebastien Jan Signed-off-by: Ricardo Salveti de Araujo --- Makefile | 9 +++++++++ include/configs/omap4430panda.h | 1 - 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index fd85142..6258324 100644 --- a/Makefile +++ b/Makefile @@ -235,6 +235,15 @@ igep0020_config : unconfig ######################################################################### omap4430panda_config : unconfig @./mkconfig $(@:_config=) arm omap4 omap4430panda 1 + @./mkconfig $(@:_config=) arm omap4 omap4430panda 1 + @[ -n "$(findstring _MPU_600MHz,$@)" ] || \ + { echo "#define CONFIG_MPU_1000 1" >> $(obj)include/config.h; \ + echo "MPU at 1GHz revision.."; \ + } + @[ -z "$(findstring _MPU_600MHz,$@)" ] || \ + { echo "#define CONFIG_MPU_600 1" >> $(obj)include/config.h; \ + echo "MPU at 600MHz revision.."; \ + } ######################################################################### diff --git a/include/configs/omap4430panda.h b/include/configs/omap4430panda.h index 74e2f42..eae02ef 100644 --- a/include/configs/omap4430panda.h +++ b/include/configs/omap4430panda.h @@ -44,7 +44,6 @@ * On Phoenix board vlotage needs to be bumped up * before scaling the MPU up */ -#define CONFIG_MPU_600 1 #define CORE_190MHZ 1 /* Enable the below macro if MMC boot support is required */ #define CONFIG_MMC 1 -- 1.6.6.1