blob: c8bf89d6d3552c1e0ebcaccc48a08087cbf3f596 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Jaehoon Chung7aff9672012-10-15 19:10:31 +00002/*
3 * (C) Copyright 2012 SAMSUNG Electronics
4 * Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung7aff9672012-10-15 19:10:31 +00005 */
6
Sam Protsenko57ddb372024-08-07 22:14:26 -05007#include <clk.h>
Jaehoon Chung7aff9672012-10-15 19:10:31 +00008#include <dwmmc.h>
Simon Glass3ba929a2020-10-30 21:38:53 -06009#include <asm/global_data.h>
Amard8501212013-04-27 11:42:55 +053010#include <malloc.h>
Jaehoon Chungedd9d1dc2016-07-19 16:33:34 +090011#include <errno.h>
Jaehoon Chung7aff9672012-10-15 19:10:31 +000012#include <asm/arch/dwmmc.h>
13#include <asm/arch/clk.h>
Amard8501212013-04-27 11:42:55 +053014#include <asm/arch/pinmux.h>
Przemyslaw Marczakc3885b82015-02-20 12:29:26 +010015#include <asm/arch/power.h>
Jaehoon Chung62811102014-05-16 13:59:52 +090016#include <asm/gpio.h>
Sam Protsenko57ddb372024-08-07 22:14:26 -050017#include <linux/err.h>
Simon Glassbdd5f812023-09-14 18:21:46 -060018#include <linux/printk.h>
Jaehoon Chung7aff9672012-10-15 19:10:31 +000019
Amard8501212013-04-27 11:42:55 +053020#define DWMMC_MAX_CH_NUM 4
21#define DWMMC_MAX_FREQ 52000000
22#define DWMMC_MIN_FREQ 400000
Jaehoon Chungbcb03eab2015-02-04 15:48:40 +090023#define DWMMC_MMC0_SDR_TIMING_VAL 0x03030001
24#define DWMMC_MMC2_SDR_TIMING_VAL 0x03020001
25
Sam Protsenko40ad20d2024-08-07 22:14:31 -050026#define EXYNOS4412_FIXED_CIU_CLK_DIV 4
27
Sam Protsenko3b264402024-08-07 22:14:34 -050028/* Quirks */
29#define DWMCI_QUIRK_DISABLE_SMU BIT(0)
30
Jaehoon Chung98d18e92016-06-30 20:57:37 +090031#ifdef CONFIG_DM_MMC
32#include <dm.h>
33DECLARE_GLOBAL_DATA_PTR;
34
35struct exynos_mmc_plat {
36 struct mmc_config cfg;
37 struct mmc mmc;
38};
39#endif
40
Sam Protsenko60b63e42024-08-07 22:14:30 -050041/* Chip specific data */
42struct exynos_dwmmc_variant {
43 u32 clksel; /* CLKSEL register offset */
Sam Protsenko40ad20d2024-08-07 22:14:31 -050044 u8 div; /* (optional) fixed clock divider value: 0..7 */
Sam Protsenko3b264402024-08-07 22:14:34 -050045 u32 quirks; /* quirk flags - see DWMCI_QUIRK_... */
Sam Protsenko60b63e42024-08-07 22:14:30 -050046};
47
Sam Protsenkocda02f12024-08-07 22:14:41 -050048/* Exynos implementation specific driver private data */
Jaehoon Chungbcb03eab2015-02-04 15:48:40 +090049struct dwmci_exynos_priv_data {
Jaehoon Chung98d18e92016-06-30 20:57:37 +090050#ifdef CONFIG_DM_MMC
51 struct dwmci_host host;
52#endif
Sam Protsenko57ddb372024-08-07 22:14:26 -050053 struct clk clk;
Jaehoon Chungbcb03eab2015-02-04 15:48:40 +090054 u32 sdr_timing;
Sam Protsenko4fe61da2024-08-07 22:14:35 -050055 u32 ddr_timing;
Sam Protsenko60b63e42024-08-07 22:14:30 -050056 const struct exynos_dwmmc_variant *chip;
Jaehoon Chungbcb03eab2015-02-04 15:48:40 +090057};
Jaehoon Chung7aff9672012-10-15 19:10:31 +000058
Sam Protsenko3192a642024-08-07 22:14:24 -050059static struct dwmci_exynos_priv_data *exynos_dwmmc_get_priv(
60 struct dwmci_host *host)
61{
62#ifdef CONFIG_DM_MMC
63 return container_of(host, struct dwmci_exynos_priv_data, host);
64#else
65 return host->priv;
66#endif
67}
68
Sam Protsenko57ddb372024-08-07 22:14:26 -050069/**
70 * exynos_dwmmc_get_sclk - Get source clock (SDCLKIN) rate
71 * @host: MMC controller object
72 * @rate: Will contain clock rate, Hz
73 *
74 * Return: 0 on success or negative value on error
75 */
76static int exynos_dwmmc_get_sclk(struct dwmci_host *host, unsigned long *rate)
77{
78#ifdef CONFIG_CPU_V7A
79 *rate = get_mmc_clk(host->dev_index);
80#else
81 struct dwmci_exynos_priv_data *priv = exynos_dwmmc_get_priv(host);
82
83 *rate = clk_get_rate(&priv->clk);
84#endif
85
86 if (IS_ERR_VALUE(*rate))
87 return *rate;
88
89 return 0;
90}
91
92/**
93 * exynos_dwmmc_set_sclk - Set source clock (SDCLKIN) rate
94 * @host: MMC controller object
95 * @rate: Desired clock rate, Hz
96 *
97 * Return: 0 on success or negative value on error
98 */
99static int exynos_dwmmc_set_sclk(struct dwmci_host *host, unsigned long rate)
100{
101 int err;
102
103#ifdef CONFIG_CPU_V7A
104 unsigned long sclk;
105 unsigned int div;
106
107 err = exynos_dwmmc_get_sclk(host, &sclk);
108 if (err)
109 return err;
110
111 div = DIV_ROUND_UP(sclk, rate);
112 set_mmc_clk(host->dev_index, div);
113#else
114 struct dwmci_exynos_priv_data *priv = exynos_dwmmc_get_priv(host);
115
116 err = clk_set_rate(&priv->clk, rate);
117 if (err < 0)
118 return err;
119#endif
120
121 return 0;
122}
123
Sam Protsenkocda02f12024-08-07 22:14:41 -0500124/* Configure CLKSEL register with chosen timing values */
Siew Chin Limc51e7e12020-12-24 18:21:03 +0800125static int exynos_dwmci_clksel(struct dwmci_host *host)
Jaehoon Chung7aff9672012-10-15 19:10:31 +0000126{
Sam Protsenko3192a642024-08-07 22:14:24 -0500127 struct dwmci_exynos_priv_data *priv = exynos_dwmmc_get_priv(host);
Sam Protsenko4fe61da2024-08-07 22:14:35 -0500128 u32 timing;
Sam Protsenko3192a642024-08-07 22:14:24 -0500129
Sam Protsenko4fe61da2024-08-07 22:14:35 -0500130 if (host->mmc->selected_mode == MMC_DDR_52)
131 timing = priv->ddr_timing;
132 else
133 timing = priv->sdr_timing;
134
135 dwmci_writel(host, priv->chip->clksel, timing);
Siew Chin Limc51e7e12020-12-24 18:21:03 +0800136
137 return 0;
Amard8501212013-04-27 11:42:55 +0530138}
Jaehoon Chung7aff9672012-10-15 19:10:31 +0000139
Sam Protsenko40ad20d2024-08-07 22:14:31 -0500140/**
141 * exynos_dwmmc_get_ciu_div - Get internal clock divider value
142 * @host: MMC controller object
143 *
144 * Returns: Divider value, in range of 1..8
145 */
146static u8 exynos_dwmmc_get_ciu_div(struct dwmci_host *host)
Amard8501212013-04-27 11:42:55 +0530147{
Sam Protsenko60b63e42024-08-07 22:14:30 -0500148 struct dwmci_exynos_priv_data *priv = exynos_dwmmc_get_priv(host);
Sam Protsenko40ad20d2024-08-07 22:14:31 -0500149
150 if (priv->chip->div)
151 return priv->chip->div + 1;
Rajeshwari S Shindeccfa20b2014-02-05 10:48:15 +0530152
153 /*
154 * Since SDCLKIN is divided inside controller by the DIVRATIO
155 * value set in the CLKSEL register, we need to use the same output
156 * clock value to calculate the CLKDIV value.
157 * as per user manual:cclk_in = SDCLKIN / (DIVRATIO + 1)
158 */
Sam Protsenko40ad20d2024-08-07 22:14:31 -0500159 return ((dwmci_readl(host, priv->chip->clksel) >> DWMCI_DIVRATIO_BIT)
160 & DWMCI_DIVRATIO_MASK) + 1;
161}
Sam Protsenko57ddb372024-08-07 22:14:26 -0500162
Sam Protsenkocda02f12024-08-07 22:14:41 -0500163static unsigned int exynos_dwmci_get_clk(struct dwmci_host *host, uint freq)
Sam Protsenko40ad20d2024-08-07 22:14:31 -0500164{
165 unsigned long sclk;
166 u8 clk_div;
167 int err;
168
Sam Protsenkof35cd262024-08-07 22:14:36 -0500169 /* Should be double rate for DDR mode */
170 if (host->mmc->selected_mode == MMC_DDR_52 && host->mmc->bus_width == 8)
171 freq *= 2;
172
Sam Protsenko40ad20d2024-08-07 22:14:31 -0500173 clk_div = exynos_dwmmc_get_ciu_div(host);
Sam Protsenkof35cd262024-08-07 22:14:36 -0500174 err = exynos_dwmmc_set_sclk(host, freq * clk_div);
175 if (err) {
176 printf("DWMMC%d: failed to set clock rate (%d); "
177 "continue anyway\n", host->dev_index, err);
178 }
179
Sam Protsenko57ddb372024-08-07 22:14:26 -0500180 err = exynos_dwmmc_get_sclk(host, &sclk);
181 if (err) {
182 printf("DWMMC%d: failed to get clock rate (%d)\n",
183 host->dev_index, err);
184 return 0;
185 }
Rajeshwari S Shindeccfa20b2014-02-05 10:48:15 +0530186
Sam Protsenko40ad20d2024-08-07 22:14:31 -0500187 return sclk / clk_div;
Jaehoon Chung7aff9672012-10-15 19:10:31 +0000188}
189
Jaehoon Chung42f81a82013-11-29 20:08:57 +0900190static void exynos_dwmci_board_init(struct dwmci_host *host)
191{
Sam Protsenko3192a642024-08-07 22:14:24 -0500192 struct dwmci_exynos_priv_data *priv = exynos_dwmmc_get_priv(host);
Jaehoon Chungbcb03eab2015-02-04 15:48:40 +0900193
Sam Protsenko3b264402024-08-07 22:14:34 -0500194 if (priv->chip->quirks & DWMCI_QUIRK_DISABLE_SMU) {
Jaehoon Chung42f81a82013-11-29 20:08:57 +0900195 dwmci_writel(host, EMMCP_MPSBEGIN0, 0);
196 dwmci_writel(host, EMMCP_SEND0, 0);
197 dwmci_writel(host, EMMCP_CTRL0,
198 MPSCTRL_SECURE_READ_BIT |
199 MPSCTRL_SECURE_WRITE_BIT |
200 MPSCTRL_NON_SECURE_READ_BIT |
201 MPSCTRL_NON_SECURE_WRITE_BIT | MPSCTRL_VALID);
202 }
Jaehoon Chung3d12e552015-02-04 15:48:39 +0900203
Jaehoon Chungbcb03eab2015-02-04 15:48:40 +0900204 if (priv->sdr_timing)
Jaehoon Chung3d12e552015-02-04 15:48:39 +0900205 exynos_dwmci_clksel(host);
Jaehoon Chung42f81a82013-11-29 20:08:57 +0900206}
207
Sam Protsenkof78333a2024-08-07 22:14:27 -0500208#ifdef CONFIG_DM_MMC
209static int exynos_dwmmc_of_to_plat(struct udevice *dev)
Jaehoon Chung62811102014-05-16 13:59:52 +0900210{
Sam Protsenkof78333a2024-08-07 22:14:27 -0500211 struct dwmci_exynos_priv_data *priv = dev_get_priv(dev);
212 struct dwmci_host *host = &priv->host;
Sam Protsenkobab187c2024-08-07 22:14:29 -0500213 u32 div, timing[2];
Sam Protsenkocda02f12024-08-07 22:14:41 -0500214 int err;
Amard8501212013-04-27 11:42:55 +0530215
Sam Protsenko60b63e42024-08-07 22:14:30 -0500216 priv->chip = (struct exynos_dwmmc_variant *)dev_get_driver_data(dev);
217
Sam Protsenko0e28aa02024-08-07 22:14:25 -0500218#ifdef CONFIG_CPU_V7A
Sam Protsenko6002ceb2024-08-07 22:14:28 -0500219 const void *blob = gd->fdt_blob;
220 int node = dev_of_offset(dev);
221
Sam Protsenkocda02f12024-08-07 22:14:41 -0500222 /* Obtain device ID for current MMC channel */
Jaehoon Chung62811102014-05-16 13:59:52 +0900223 host->dev_id = pinmux_decode_periph_id(blob, node);
Sam Protsenko6002ceb2024-08-07 22:14:28 -0500224 host->dev_index = dev_read_u32_default(dev, "index", host->dev_id);
Jaehoon Chungdb313bf2014-11-28 20:42:33 +0900225 if (host->dev_index == host->dev_id)
226 host->dev_index = host->dev_id - PERIPH_ID_SDMMC0;
227
Jaehoon Chunge0303c72016-06-29 19:46:16 +0900228 if (host->dev_index > 4) {
229 printf("DWMMC%d: Can't get the dev index\n", host->dev_index);
230 return -EINVAL;
231 }
Sam Protsenko0e28aa02024-08-07 22:14:25 -0500232#else
233 if (dev_read_bool(dev, "non-removable"))
234 host->dev_index = 0; /* eMMC */
235 else
236 host->dev_index = 2; /* SD card */
237#endif
Jaehoon Chunge0303c72016-06-29 19:46:16 +0900238
Sam Protsenko745edd62024-08-07 22:14:23 -0500239 host->ioaddr = dev_read_addr_ptr(dev);
240 if (!host->ioaddr) {
Jaehoon Chungdb313bf2014-11-28 20:42:33 +0900241 printf("DWMMC%d: Can't get base address\n", host->dev_index);
Jaehoon Chung62811102014-05-16 13:59:52 +0900242 return -EINVAL;
243 }
Jaehoon Chung62811102014-05-16 13:59:52 +0900244
Sam Protsenko40ad20d2024-08-07 22:14:31 -0500245 if (priv->chip->div)
246 div = priv->chip->div;
247 else
248 div = dev_read_u32_default(dev, "samsung,dw-mshc-ciu-div", 0);
Sam Protsenkocda02f12024-08-07 22:14:41 -0500249
Sam Protsenkobab187c2024-08-07 22:14:29 -0500250 err = dev_read_u32_array(dev, "samsung,dw-mshc-sdr-timing", timing, 2);
Jaehoon Chung62811102014-05-16 13:59:52 +0900251 if (err) {
Sam Protsenkobab187c2024-08-07 22:14:29 -0500252 printf("DWMMC%d: Can't get sdr-timings\n", host->dev_index);
Jaehoon Chung62811102014-05-16 13:59:52 +0900253 return -EINVAL;
254 }
Sam Protsenkobab187c2024-08-07 22:14:29 -0500255 priv->sdr_timing = DWMCI_SET_SAMPLE_CLK(timing[0]) |
256 DWMCI_SET_DRV_CLK(timing[1]) |
257 DWMCI_SET_DIV_RATIO(div);
Jaehoon Chungbcb03eab2015-02-04 15:48:40 +0900258
Sam Protsenkocda02f12024-08-07 22:14:41 -0500259 /* sdr_timing wasn't set, use the default value */
Jaehoon Chungbcb03eab2015-02-04 15:48:40 +0900260 if (!priv->sdr_timing) {
261 if (host->dev_index == 0)
262 priv->sdr_timing = DWMMC_MMC0_SDR_TIMING_VAL;
263 else if (host->dev_index == 2)
264 priv->sdr_timing = DWMMC_MMC2_SDR_TIMING_VAL;
265 }
Jaehoon Chung62811102014-05-16 13:59:52 +0900266
Sam Protsenko4fe61da2024-08-07 22:14:35 -0500267 err = dev_read_u32_array(dev, "samsung,dw-mshc-ddr-timing", timing, 2);
268 if (err) {
269 debug("DWMMC%d: Can't get ddr-timings, using sdr-timings\n",
270 host->dev_index);
271 priv->ddr_timing = priv->sdr_timing;
272 } else {
273 priv->ddr_timing = DWMCI_SET_SAMPLE_CLK(timing[0]) |
274 DWMCI_SET_DRV_CLK(timing[1]) |
275 DWMCI_SET_DIV_RATIO(div);
276 }
277
Sam Protsenkocda02f12024-08-07 22:14:41 -0500278 host->buswidth = dev_read_u32_default(dev, "bus-width", 4);
Sam Protsenko751fdf12024-08-07 22:14:17 -0500279 host->fifo_depth = dev_read_u32_default(dev, "fifo-depth", 0);
Sam Protsenkob4dbd282024-08-07 22:14:33 -0500280 host->bus_hz = dev_read_u32_default(dev, "clock-frequency", 0);
Jaehoon Chung62811102014-05-16 13:59:52 +0900281
Jaehoon Chung7aff9672012-10-15 19:10:31 +0000282 return 0;
283}
Jaehoon Chung62811102014-05-16 13:59:52 +0900284
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900285static int exynos_dwmmc_probe(struct udevice *dev)
286{
Simon Glassfa20e932020-12-03 16:55:20 -0700287 struct exynos_mmc_plat *plat = dev_get_plat(dev);
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900288 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev);
289 struct dwmci_exynos_priv_data *priv = dev_get_priv(dev);
290 struct dwmci_host *host = &priv->host;
Sam Protsenkobb875e82024-08-07 22:14:38 -0500291 unsigned long freq;
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900292 int err;
293
Sam Protsenko57ddb372024-08-07 22:14:26 -0500294#ifndef CONFIG_CPU_V7A
295 err = clk_get_by_index(dev, 1, &priv->clk); /* ciu */
296 if (err)
297 return err;
298#endif
299
Sam Protsenkobb875e82024-08-07 22:14:38 -0500300#ifdef CONFIG_CPU_V7A
301 int flag;
302
303 flag = host->buswidth == 8 ? PINMUX_FLAG_8BIT_MODE : PINMUX_FLAG_NONE;
304 err = exynos_pinmux_config(host->dev_id, flag);
305 if (err) {
306 printf("DWMMC%d not configure\n", host->dev_index);
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900307 return err;
Sam Protsenkobb875e82024-08-07 22:14:38 -0500308 }
309#endif
310
311 if (host->bus_hz)
312 freq = host->bus_hz;
313 else
314 freq = DWMMC_MAX_FREQ;
315
316 err = exynos_dwmmc_set_sclk(host, freq);
317 if (err) {
318 printf("DWMMC%d: failed to set clock rate on probe (%d); "
319 "continue anyway\n", host->dev_index, err);
320 }
321
Sam Protsenkobb28ec52024-08-07 22:14:40 -0500322 host->name = dev->name;
Sam Protsenkobb875e82024-08-07 22:14:38 -0500323 host->board_init = exynos_dwmci_board_init;
324 host->caps = MMC_MODE_DDR_52MHz;
325 host->clksel = exynos_dwmci_clksel;
326 host->get_mmc_clk = exynos_dwmci_get_clk;
327
Sam Protsenko9deaa462024-08-07 22:14:39 -0500328#ifdef CONFIG_BLK
329 dwmci_setup_cfg(&plat->cfg, host, DWMMC_MAX_FREQ, DWMMC_MIN_FREQ);
330 host->mmc = &plat->mmc;
331#else
332 err = add_dwmci(host, DWMMC_MAX_FREQ, DWMMC_MIN_FREQ);
333 if (err) {
Sam Protsenkobb875e82024-08-07 22:14:38 -0500334 printf("DWMMC%d registration failed\n", host->dev_index);
Sam Protsenko9deaa462024-08-07 22:14:39 -0500335 return err;
Sam Protsenkobb875e82024-08-07 22:14:38 -0500336 }
337#endif
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900338
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900339 host->mmc->priv = &priv->host;
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900340 upriv->mmc = host->mmc;
Sam Protsenko9deaa462024-08-07 22:14:39 -0500341 host->mmc->dev = dev;
342 host->priv = dev;
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900343
344 return dwmci_probe(dev);
345}
346
347static int exynos_dwmmc_bind(struct udevice *dev)
348{
Simon Glassfa20e932020-12-03 16:55:20 -0700349 struct exynos_mmc_plat *plat = dev_get_plat(dev);
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900350
Masahiro Yamadacdb67f32016-09-06 22:17:32 +0900351 return dwmci_bind(dev, &plat->mmc, &plat->cfg);
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900352}
353
Sam Protsenko60b63e42024-08-07 22:14:30 -0500354static const struct exynos_dwmmc_variant exynos4_drv_data = {
355 .clksel = DWMCI_CLKSEL,
Sam Protsenko40ad20d2024-08-07 22:14:31 -0500356 .div = EXYNOS4412_FIXED_CIU_CLK_DIV - 1,
Sam Protsenko60b63e42024-08-07 22:14:30 -0500357};
358
359static const struct exynos_dwmmc_variant exynos5_drv_data = {
360 .clksel = DWMCI_CLKSEL,
Sam Protsenko3b264402024-08-07 22:14:34 -0500361#ifdef CONFIG_EXYNOS5420
362 .quirks = DWMCI_QUIRK_DISABLE_SMU,
363#endif
Sam Protsenko60b63e42024-08-07 22:14:30 -0500364};
365
Sam Protsenkoaf9dcff2024-08-07 22:14:37 -0500366static const struct exynos_dwmmc_variant exynos7_smu_drv_data = {
367 .clksel = DWMCI_CLKSEL64,
368 .quirks = DWMCI_QUIRK_DISABLE_SMU,
369};
370
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900371static const struct udevice_id exynos_dwmmc_ids[] = {
Sam Protsenko60b63e42024-08-07 22:14:30 -0500372 {
373 .compatible = "samsung,exynos4412-dw-mshc",
374 .data = (ulong)&exynos4_drv_data,
375 }, {
376 .compatible = "samsung,exynos-dwmmc",
377 .data = (ulong)&exynos5_drv_data,
Sam Protsenkoaf9dcff2024-08-07 22:14:37 -0500378 }, {
379 .compatible = "samsung,exynos7-dw-mshc-smu",
380 .data = (ulong)&exynos7_smu_drv_data,
Sam Protsenko60b63e42024-08-07 22:14:30 -0500381 },
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900382 { }
383};
384
385U_BOOT_DRIVER(exynos_dwmmc_drv) = {
386 .name = "exynos_dwmmc",
387 .id = UCLASS_MMC,
388 .of_match = exynos_dwmmc_ids,
Sam Protsenkof78333a2024-08-07 22:14:27 -0500389 .of_to_plat = exynos_dwmmc_of_to_plat,
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900390 .bind = exynos_dwmmc_bind,
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900391 .probe = exynos_dwmmc_probe,
Sam Protsenkocda02f12024-08-07 22:14:41 -0500392 .ops = &dm_dwmci_ops,
Simon Glass8a2b47f2020-12-03 16:55:17 -0700393 .priv_auto = sizeof(struct dwmci_exynos_priv_data),
Simon Glass71fa5b42020-12-03 16:55:18 -0700394 .plat_auto = sizeof(struct exynos_mmc_plat),
Jaehoon Chung98d18e92016-06-30 20:57:37 +0900395};
396#endif