From 6d56073c60edbade4c2e83a45e631dbd3ea392e0 Mon Sep 17 00:00:00 2001 From: seedshope Date: Sat, 22 Jan 2011 10:06:09 +0000 Subject: SMDK6400: Fix CONFIG_SYS_INIT_SP_ADDR undefined Fix CONFIG_SYS_INIT_SP_ADDR undefined issue. Signed-off-by: Zhong Hongbo Signed-off-by: Minkyu Kang --- include/configs/smdk6400.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/configs/smdk6400.h b/include/configs/smdk6400.h index 671f2c7..c9acf58 100644 --- a/include/configs/smdk6400.h +++ b/include/configs/smdk6400.h @@ -44,6 +44,11 @@ #define CONFIG_PERIPORT_BASE 0x70000000 #define CONFIG_PERIPORT_SIZE 0x13 +#define CONFIG_SYS_IRAM_BASE 0x0c000000 /* Internal SRAM base address */ +#define CONFIG_SYS_IRAM_SIZE 0x2000 /* 8 KB of internal SRAM memory */ +#define CONFIG_SYS_IRAM_END (CONFIG_SYS_IRAM_BASE + CONFIG_SYS_IRAM_SIZE) +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_IRAM_END - GENERATED_GBL_DATA_SIZE) + #define CONFIG_SYS_SDRAM_BASE 0x50000000 /* input clock of PLL: SMDK6400 has 12MHz input clock */ -- cgit v1.1 From 3f129280b3f1df51387447d8366ab6c3b6607547 Mon Sep 17 00:00:00 2001 From: Donghwa Lee Date: Mon, 7 Mar 2011 21:11:42 +0000 Subject: ARM: S5P: pwm driver support This is common pwm driver of S5P. Signed-off-by: Donghwa Lee Signed-off-by: Kyungmin Park Signed-off-by: Minkyu Kang --- include/pwm.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 include/pwm.h (limited to 'include') diff --git a/include/pwm.h b/include/pwm.h new file mode 100644 index 0000000..13acf85 --- /dev/null +++ b/include/pwm.h @@ -0,0 +1,31 @@ +/* + * header file for pwm driver. + * + * Copyright (c) 2011 samsung electronics + * Donghwa Lee + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + */ + +#ifndef _pwm_h_ +#define _pwm_h_ + +int pwm_init (int pwm_id, int div, int invert); +int pwm_config (int pwm_id, int duty_ns, int period_ns); +int pwm_enable (int pwm_id); +void pwm_disable (int pwm_id); + +#endif /* _pwm_h_ */ -- cgit v1.1 From dc795a8882a45e1b5b3796454cfebb31feb179fc Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Thu, 10 Mar 2011 20:09:43 +0900 Subject: S5P: smdkc100: Enable the pwm driver Signed-off-by: Minkyu Kang --- include/configs/smdkc100.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h index fb8b43c..1ae1234 100644 --- a/include/configs/smdkc100.h +++ b/include/configs/smdkc100.h @@ -68,6 +68,9 @@ #define CONFIG_SERIAL0 1 /* use SERIAL 0 on SMDKC100 */ #define CONFIG_SERIAL_MULTI 1 +/* PWM */ +#define CONFIG_PWM 1 + /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE #define CONFIG_BAUDRATE 115200 -- cgit v1.1 From 96caf02f6078194655a8566d8c445d0ac4b52c4c Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Thu, 10 Mar 2011 20:10:19 +0900 Subject: S5P: goni: Enable the pwm driver Signed-off-by: Minkyu Kang --- include/configs/s5p_goni.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index f53e798..597cf57 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -69,6 +69,9 @@ #define CONFIG_MMC 1 #define CONFIG_S5P_MMC 1 +/* PWM */ +#define CONFIG_PWM 1 + /* It should define before config_cmd_default.h */ #define CONFIG_SYS_NO_FLASH 1 -- cgit v1.1 From aa44a45f734d06e3536e1a7461733b52aca4869c Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Thu, 10 Mar 2011 20:10:38 +0900 Subject: S5P: universal: Enable the pwm driver Signed-off-by: Minkyu Kang --- include/configs/s5pc210_universal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/configs/s5pc210_universal.h b/include/configs/s5pc210_universal.h index c033a8d..5915984 100644 --- a/include/configs/s5pc210_universal.h +++ b/include/configs/s5pc210_universal.h @@ -70,6 +70,9 @@ #define CONFIG_MMC 1 #define CONFIG_S5P_MMC 1 +/* PWM */ +#define CONFIG_PWM 1 + /* It should define before config_cmd_default.h */ #define CONFIG_SYS_NO_FLASH 1 -- cgit v1.1 From 05858736f5f1050d776571451995db81e3f5a5d7 Mon Sep 17 00:00:00 2001 From: Tom Warren Date: Wed, 23 Feb 2011 09:54:31 +0000 Subject: arm: Tegra2: Change mach-type to MACH_TYPE_SEABOARD due to mach-types.h update Signed-off-by: Tom Warren --- include/configs/seaboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index fd87560..59eef56 100644 --- a/include/configs/seaboard.h +++ b/include/configs/seaboard.h @@ -37,7 +37,7 @@ #define CONFIG_TEGRA2_ENABLE_UARTD #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE -#define CONFIG_MACH_TYPE MACH_TYPE_TEGRA_SEABOARD +#define CONFIG_MACH_TYPE MACH_TYPE_SEABOARD #define CONFIG_SYS_BOARD_ODMDATA 0x300d8011 /* lp1, 1GB */ #endif /* __CONFIG_H */ -- cgit v1.1