ARM: S5P: BOOTMEM: Fix the bug on bootmem

modify to consider multiple memory bank
when allocating media devices.

Change-Id: I07f4f8f4d229ba5e6a65551d3194db160ac0ec1d
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
ARM: S5P: BOOTMEM: Patch for reverse ordering in video encoding.

This patch adds new function, s5p_get_media_membase_bank.
It returns a reserved base address in each bank.

This patch also adds an argument for boundary in s5p_reserve_bootmem.
s5p_reserve_bootmem uses it to call memblock_find_in_range.

This solves the reverse order issue in a video encoding scenario.
MFC driver can split the allocation address
from base address in BANK1 using new function.

Change-Id: Iba1b379bf49135c6d785a4f0c4938bc9369fd041
Signed-off-by: LakKyung Jung <lakkyung.jung@samsung.com>
S5PC11X: MFC: Modify base address setting

Modify MFC memory manager to alloc and set the base address
of the reserved memory bank to be able to access all memory
buffer in the same memory bank.
This commit fixed video encoding issue.

Change-Id: I83fa1fb6ae8bb68e109b33aaca007b1db53d38be
Signed-off-by: LakKyung Jung <lakkyung.jung@samsung.com>
ARM: S5PV210: CPUFREQ: Add the reboot notifier

When system reboot, the CPUFREQ level should be 800MHz to prevent
system lockup. so, this patch adds the reboot notifier and set 800MHz.

Change-Id: I9cd9b0f45b88e3ad9cff3fb0550024936a8534ee
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
ARM: S5PV210: CPUFREQ: Change to print cpufreq info message in debug mode

Removed cpufreq changing message in normal working mode and put it in debug mode.

Change-Id: Icfcceff440a02056f953760c7ff39e7b800177d1
Signed-off-by: Kisoo Yu <ksoo.yu@samsung.com>
ARM: S5P: Move reset code into a c file

If system-reset was included by more than one C file the kernel
would fail to link

Change-Id: I900e0f680e6acc4ddcac95f62cff938643b8ed13
Signed-off-by: Arve Hjønnevåg <arve@android.com>
s5pc110_battery: Fix to build on 2.6.39

Change-Id: If3c3aad77bf6d380d12d1394d7770b1716ce2025
Signed-off-by: Arve Hjønnevåg <arve@android.com>
S5PC11X: CAMERA/FIMC: Fix camera drivers to build on 2.6.39

Change-Id: Ie460f1ea3daa9b1dd55c33774388dc231168cfb5
Signed-off-by: Arve Hjønnevåg <arve@android.com>
S5PC11X: CLOCK: Fix compile warnning.

Fix compile warnning.

Change-Id: I991edab5b03afd9a1b330c9e3f48304af79de4f1
Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>
S5PC11X: ONENAND: Now onenand_resume/suspend is called duplicate, remove onenand_resume/suspend in samsung.c

Now onenand_resume/suspend is called duplicate, remove onenand_resume/suspend in samsung.c.
Onenand_resume/suspend is called by mtd. Remove s3c_pm_ops_suspend function.

Change-Id: I4bc9016610767decc4d9a7c6553cf01fdc1c21cc
Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>
rtc: s3c: rtc changes from android-samsung-2.6.35

[RTC] add pmic rtc calibration and change rtc-s3c to use word access to sfr

[RTC] use read/writew for RTCCON access

S5PC110: RTC: Removed unused code for

	Removed  unused code in S5PC110 RTC Driver

Change-Id: I636e7d6cefc1d70c0cfc1145f6f339768bbb2290

S5PC110: RTC: To supports 0~999 years.RTCEN bit is enabled when accessed the BCD data register.

I change the year check condition to supports  0~999 years.
If RTCEN bit is enabled, BCD data register could be changed. RTCEN bit is enabled when accessed the BCD data register.

Change-Id: I963643f49ac9f9a4e90159dac05f084efbe44f37
Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>

S5PC11X: RTC: Don't change rtc_tm  struct. Increase a month in writel function.

Don't change rtc_tm structure. Increase a month in writel function.

Change-Id: Ic66f9ee4a4fdb4caaa6c2a64d324d1e75b898d18
Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>

S5PC11X: RTC: Rtc is registered after setting the rtc time.

Rtc is registered after setting the rtc time.

Change-Id: I47a6ead85adf74665979f2e321193d97b04aca71
Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>
ARM: S5PV210: add clock source for AMBA bus

This patch adds 'apb_pclk' clock source for AMBA bus.
This clock source is referenced by AMBA bus driver.

Change-Id: I3d089b130bd5ca9a368a5e9f5e6fd4755a8e11e7
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
serial: samsung: hack: Restore old device name since this currently is hardcoded in the ril

Change-Id: I1c7de00a8aea10ad954d4c29305a413ae47b785d
Signed-off-by: Arve Hjønnevåg <arve@android.com>
move sdhci gpio setup functions back to setup-sdhci-gpio.c

Change-Id: I0f7b82b3bf792d227856d13d08a44cbc769778f6
Revert "[ARM] fiq_debugger: Print local timer irqs count"

This reverts commit 0210691e808a6ba3479bd04ef15cfae6ea28c4d4.
2.6.39 mmc Fixes

Change-Id: I3f23915f518e851b7e78ca5ba2924cf6e3d17e30
arm: s5pv210: setup-sdhci: Use mainline card detect hooks

Change-Id: I5bf075f409968f98caf668ff8ee0f30242aed768
ARM: herring: defconfig: 2.6.38 Fixes

Change-Id: I50c132ced4d8b52c2965a29e4251c5e3e17155a5
ARM: s5pv210: Fix build error when CPU_FREQ is enabled without VIDEO_FIMC

Change-Id: Ic587bf85e0ea0b66a38227fae31035dddf5e0848
Signed-off-by: Arve Hjønnevåg <arve@android.com>
ARM: samsung: Add some clock debugging code

Change-Id: I9277db643bb58995f7d388d0af23d4cd0b06f6c4
Signed-off-by: Arve Hjønnevåg <arve@android.com>