blob: e72839cead477fbce33773a6a12449121af2d264 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Marek Vasutffdd4662013-04-28 09:20:03 +00002/*
3 * Freescale i.MX23/i.MX28 LCDIF driver
4 *
5 * Copyright (C) 2011-2013 Marek Vasut <marex@denx.de>
Marek Vasutffdd4662013-04-28 09:20:03 +00006 */
Giulio Benettif14d0002020-04-08 17:10:13 +02007#include <clk.h>
Igor Opaniukf5abe402019-06-04 00:05:59 +03008#include <dm.h>
Simon Glass0af6e2d2019-08-01 09:46:52 -06009#include <env.h>
Simon Glass0f2af882020-05-10 11:40:05 -060010#include <log.h>
Simon Glass274e0b02020-05-10 11:39:56 -060011#include <asm/cache.h>
Simon Glass9bc15642020-02-03 07:36:16 -070012#include <dm/device_compat.h>
Simon Glassdbd79542020-05-10 11:40:11 -060013#include <linux/delay.h>
Igor Opaniuke2a8b182019-06-04 00:05:57 +030014#include <linux/errno.h>
Marek Vasutffdd4662013-04-28 09:20:03 +000015#include <malloc.h>
Igor Opaniukf5abe402019-06-04 00:05:59 +030016#include <video.h>
Marek Vasutffdd4662013-04-28 09:20:03 +000017
Marek Vasutffdd4662013-04-28 09:20:03 +000018#include <asm/arch/clock.h>
Igor Opaniuke2a8b182019-06-04 00:05:57 +030019#include <asm/arch/imx-regs.h>
Marek Vasutffdd4662013-04-28 09:20:03 +000020#include <asm/arch/sys_proto.h>
Simon Glass3ba929a2020-10-30 21:38:53 -060021#include <asm/global_data.h>
Stefano Babic33731bc2017-06-29 10:16:06 +020022#include <asm/mach-imx/dma.h>
Igor Opaniuke2a8b182019-06-04 00:05:57 +030023#include <asm/io.h>
Marek Vasut8f15b5d2013-07-30 23:37:54 +020024
Marek Vasutffdd4662013-04-28 09:20:03 +000025#include "videomodes.h"
26
27#define PS2KHZ(ps) (1000000000UL / (ps))
Igor Opaniukf5abe402019-06-04 00:05:59 +030028#define HZ2PS(hz) (1000000000UL / ((hz) / 1000))
Marek Vasutffdd4662013-04-28 09:20:03 +000029
Igor Opaniukf5abe402019-06-04 00:05:59 +030030#define BITS_PP 18
31#define BYTES_PP 4
32
Marek Vasut8f15b5d2013-07-30 23:37:54 +020033struct mxs_dma_desc desc;
Marek Vasutffdd4662013-04-28 09:20:03 +000034
Marek Vasutcd701a12013-07-30 23:37:53 +020035/**
36 * mxsfb_system_setup() - Fine-tune LCDIF configuration
37 *
38 * This function is used to adjust the LCDIF configuration. This is usually
39 * needed when driving the controller in System-Mode to operate an 8080 or
40 * 6800 connected SmartLCD.
41 */
42__weak void mxsfb_system_setup(void)
43{
44}
45
Marek Vasutffdd4662013-04-28 09:20:03 +000046/*
Marek Vasutec58ab22017-04-05 13:31:01 +020047 * ARIES M28EVK:
Marek Vasutffdd4662013-04-28 09:20:03 +000048 * setenv videomode
49 * video=ctfb:x:800,y:480,depth:18,mode:0,pclk:30066,
50 * le:0,ri:256,up:0,lo:45,hs:1,vs:1,sync:100663296,vmode:0
Fabio Estevama2824192013-05-10 09:14:11 +000051 *
52 * Freescale mx23evk/mx28evk with a Seiko 4.3'' WVGA panel:
53 * setenv videomode
54 * video=ctfb:x:800,y:480,depth:24,mode:0,pclk:29851,
Wolfgang Denk62fb2b42021-09-27 17:42:39 +020055 * le:89,ri:164,up:23,lo:10,hs:10,vs:10,sync:0,vmode:0
Marek Vasutffdd4662013-04-28 09:20:03 +000056 */
57
Giulio Benettif14d0002020-04-08 17:10:13 +020058static void mxs_lcd_init(struct udevice *dev, u32 fb_addr,
Giulio Benettiac6d7f12020-04-08 17:10:15 +020059 struct display_timing *timings, int bpp)
Marek Vasutffdd4662013-04-28 09:20:03 +000060{
61 struct mxs_lcdif_regs *regs = (struct mxs_lcdif_regs *)MXS_LCDIF_BASE;
Giulio Benettie0305242020-04-08 17:10:16 +020062 const enum display_flags flags = timings->flags;
Marek Vasutffdd4662013-04-28 09:20:03 +000063 uint32_t word_len = 0, bus_width = 0;
64 uint8_t valid_data = 0;
Giulio Benettie0305242020-04-08 17:10:16 +020065 uint32_t vdctrl0;
Marek Vasutffdd4662013-04-28 09:20:03 +000066
Giulio Benettif14d0002020-04-08 17:10:13 +020067#if CONFIG_IS_ENABLED(CLK)
Giulio Benetti3ea47a72021-05-13 12:18:46 +020068 struct clk clk;
Giulio Benettif14d0002020-04-08 17:10:13 +020069 int ret;
70
Giulio Benetti3ea47a72021-05-13 12:18:46 +020071 ret = clk_get_by_name(dev, "pix", &clk);
Giulio Benettif14d0002020-04-08 17:10:13 +020072 if (ret) {
Giulio Benetti3ea47a72021-05-13 12:18:46 +020073 dev_err(dev, "Failed to get mxs pix clk: %d\n", ret);
Giulio Benettif14d0002020-04-08 17:10:13 +020074 return;
75 }
76
Giulio Benetti3ea47a72021-05-13 12:18:46 +020077 ret = clk_set_rate(&clk, timings->pixelclock.typ);
Giulio Benettif14d0002020-04-08 17:10:13 +020078 if (ret < 0) {
Giulio Benetti3ea47a72021-05-13 12:18:46 +020079 dev_err(dev, "Failed to set mxs pix clk: %d\n", ret);
Giulio Benettif14d0002020-04-08 17:10:13 +020080 return;
81 }
Giulio Benettia59f7122020-04-27 17:53:05 +020082
Giulio Benetti3ea47a72021-05-13 12:18:46 +020083 ret = clk_enable(&clk);
Giulio Benettia59f7122020-04-27 17:53:05 +020084 if (ret < 0) {
Giulio Benetti3ea47a72021-05-13 12:18:46 +020085 dev_err(dev, "Failed to enable mxs pix clk: %d\n", ret);
Giulio Benettia59f7122020-04-27 17:53:05 +020086 return;
87 }
Giulio Benetti3ea47a72021-05-13 12:18:46 +020088
89 ret = clk_get_by_name(dev, "axi", &clk);
Giulio Benetti6b18e942021-10-24 00:34:42 +020090 if (ret < 0) {
Giulio Benetti3ea47a72021-05-13 12:18:46 +020091 debug("%s: Failed to get mxs axi clk: %d\n", __func__, ret);
92 } else {
93 ret = clk_enable(&clk);
94 if (ret < 0) {
95 dev_err(dev, "Failed to enable mxs axi clk: %d\n", ret);
96 return;
97 }
98 }
Giulio Benettid73e4892021-05-13 12:18:47 +020099
100 ret = clk_get_by_name(dev, "disp_axi", &clk);
Giulio Benetti6b18e942021-10-24 00:34:42 +0200101 if (ret < 0) {
Giulio Benettid73e4892021-05-13 12:18:47 +0200102 debug("%s: Failed to get mxs disp_axi clk: %d\n", __func__, ret);
103 } else {
104 ret = clk_enable(&clk);
105 if (ret < 0) {
106 dev_err(dev, "Failed to enable mxs disp_axi clk: %d\n", ret);
107 return;
108 }
109 }
Giulio Benettif14d0002020-04-08 17:10:13 +0200110#else
Fabio Estevam092da182019-11-24 17:37:52 -0300111 /* Kick in the LCDIF clock */
Giulio Benettiac6d7f12020-04-08 17:10:15 +0200112 mxs_set_lcdclk(MXS_LCDIF_BASE, timings->pixelclock.typ / 1000);
Giulio Benettif14d0002020-04-08 17:10:13 +0200113#endif
Fabio Estevam092da182019-11-24 17:37:52 -0300114
Marek Vasutffdd4662013-04-28 09:20:03 +0000115 /* Restart the LCDIF block */
116 mxs_reset_block(&regs->hw_lcdif_ctrl_reg);
117
118 switch (bpp) {
119 case 24:
120 word_len = LCDIF_CTRL_WORD_LENGTH_24BIT;
121 bus_width = LCDIF_CTRL_LCD_DATABUS_WIDTH_24BIT;
122 valid_data = 0x7;
123 break;
124 case 18:
125 word_len = LCDIF_CTRL_WORD_LENGTH_24BIT;
126 bus_width = LCDIF_CTRL_LCD_DATABUS_WIDTH_18BIT;
127 valid_data = 0x7;
128 break;
129 case 16:
130 word_len = LCDIF_CTRL_WORD_LENGTH_16BIT;
131 bus_width = LCDIF_CTRL_LCD_DATABUS_WIDTH_16BIT;
132 valid_data = 0xf;
133 break;
134 case 8:
135 word_len = LCDIF_CTRL_WORD_LENGTH_8BIT;
136 bus_width = LCDIF_CTRL_LCD_DATABUS_WIDTH_8BIT;
137 valid_data = 0xf;
138 break;
139 }
140
141 writel(bus_width | word_len | LCDIF_CTRL_DOTCLK_MODE |
142 LCDIF_CTRL_BYPASS_COUNT | LCDIF_CTRL_LCDIF_MASTER,
143 &regs->hw_lcdif_ctrl);
144
145 writel(valid_data << LCDIF_CTRL1_BYTE_PACKING_FORMAT_OFFSET,
146 &regs->hw_lcdif_ctrl1);
Marek Vasutcd701a12013-07-30 23:37:53 +0200147
148 mxsfb_system_setup();
149
Giulio Benettiac6d7f12020-04-08 17:10:15 +0200150 writel((timings->vactive.typ << LCDIF_TRANSFER_COUNT_V_COUNT_OFFSET) |
151 timings->hactive.typ, &regs->hw_lcdif_transfer_count);
Marek Vasutffdd4662013-04-28 09:20:03 +0000152
Giulio Benettie0305242020-04-08 17:10:16 +0200153 vdctrl0 = LCDIF_VDCTRL0_ENABLE_PRESENT | LCDIF_VDCTRL0_ENABLE_POL |
154 LCDIF_VDCTRL0_VSYNC_PERIOD_UNIT |
155 LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_UNIT |
156 timings->vsync_len.typ;
157
158 if(flags & DISPLAY_FLAGS_HSYNC_HIGH)
159 vdctrl0 |= LCDIF_VDCTRL0_HSYNC_POL;
Giulio Benetti996d96a2020-04-08 17:10:17 +0200160 if(flags & DISPLAY_FLAGS_VSYNC_HIGH)
161 vdctrl0 |= LCDIF_VDCTRL0_VSYNC_POL;
Giulio Benettie9238d62020-04-08 17:10:18 +0200162 if(flags & DISPLAY_FLAGS_PIXDATA_NEGEDGE)
163 vdctrl0 |= LCDIF_VDCTRL0_DOTCLK_POL;
Giulio Benetti927858e2020-04-08 17:10:19 +0200164 if(flags & DISPLAY_FLAGS_DE_HIGH)
165 vdctrl0 |= LCDIF_VDCTRL0_ENABLE_POL;
166
Giulio Benettie0305242020-04-08 17:10:16 +0200167 writel(vdctrl0, &regs->hw_lcdif_vdctrl0);
Giulio Benettiac6d7f12020-04-08 17:10:15 +0200168 writel(timings->vback_porch.typ + timings->vfront_porch.typ +
169 timings->vsync_len.typ + timings->vactive.typ,
Marek Vasutffdd4662013-04-28 09:20:03 +0000170 &regs->hw_lcdif_vdctrl1);
Giulio Benettiac6d7f12020-04-08 17:10:15 +0200171 writel((timings->hsync_len.typ << LCDIF_VDCTRL2_HSYNC_PULSE_WIDTH_OFFSET) |
172 (timings->hback_porch.typ + timings->hfront_porch.typ +
173 timings->hsync_len.typ + timings->hactive.typ),
Marek Vasutffdd4662013-04-28 09:20:03 +0000174 &regs->hw_lcdif_vdctrl2);
Giulio Benettiac6d7f12020-04-08 17:10:15 +0200175 writel(((timings->hback_porch.typ + timings->hsync_len.typ) <<
Marek Vasutffdd4662013-04-28 09:20:03 +0000176 LCDIF_VDCTRL3_HORIZONTAL_WAIT_CNT_OFFSET) |
Giulio Benettiac6d7f12020-04-08 17:10:15 +0200177 (timings->vback_porch.typ + timings->vsync_len.typ),
Marek Vasutffdd4662013-04-28 09:20:03 +0000178 &regs->hw_lcdif_vdctrl3);
Giulio Benettiac6d7f12020-04-08 17:10:15 +0200179 writel((0 << LCDIF_VDCTRL4_DOTCLK_DLY_SEL_OFFSET) | timings->hactive.typ,
Marek Vasutffdd4662013-04-28 09:20:03 +0000180 &regs->hw_lcdif_vdctrl4);
181
Igor Opaniuk5fd35532019-06-04 00:05:56 +0300182 writel(fb_addr, &regs->hw_lcdif_cur_buf);
183 writel(fb_addr, &regs->hw_lcdif_next_buf);
Marek Vasutffdd4662013-04-28 09:20:03 +0000184
185 /* Flush FIFO first */
186 writel(LCDIF_CTRL1_FIFO_CLEAR, &regs->hw_lcdif_ctrl1_set);
187
Marek Vasutcd701a12013-07-30 23:37:53 +0200188#ifndef CONFIG_VIDEO_MXS_MODE_SYSTEM
Marek Vasutffdd4662013-04-28 09:20:03 +0000189 /* Sync signals ON */
190 setbits_le32(&regs->hw_lcdif_vdctrl4, LCDIF_VDCTRL4_SYNC_SIGNALS_ON);
Marek Vasutcd701a12013-07-30 23:37:53 +0200191#endif
Marek Vasutffdd4662013-04-28 09:20:03 +0000192
193 /* FIFO cleared */
194 writel(LCDIF_CTRL1_FIFO_CLEAR, &regs->hw_lcdif_ctrl1_clr);
195
196 /* RUN! */
197 writel(LCDIF_CTRL_RUN, &regs->hw_lcdif_ctrl_set);
198}
199
Giulio Benettiac6d7f12020-04-08 17:10:15 +0200200static int mxs_probe_common(struct udevice *dev, struct display_timing *timings,
Giulio Benettif14d0002020-04-08 17:10:13 +0200201 int bpp, u32 fb)
Igor Opaniuk36734922019-06-04 00:05:58 +0300202{
203 /* Start framebuffer */
Giulio Benettiac6d7f12020-04-08 17:10:15 +0200204 mxs_lcd_init(dev, fb, timings, bpp);
Igor Opaniuk36734922019-06-04 00:05:58 +0300205
206#ifdef CONFIG_VIDEO_MXS_MODE_SYSTEM
207 /*
208 * If the LCD runs in system mode, the LCD refresh has to be triggered
209 * manually by setting the RUN bit in HW_LCDIF_CTRL register. To avoid
210 * having to set this bit manually after every single change in the
211 * framebuffer memory, we set up specially crafted circular DMA, which
212 * sets the RUN bit, then waits until it gets cleared and repeats this
213 * infinitelly. This way, we get smooth continuous updates of the LCD.
214 */
215 struct mxs_lcdif_regs *regs = (struct mxs_lcdif_regs *)MXS_LCDIF_BASE;
216
217 memset(&desc, 0, sizeof(struct mxs_dma_desc));
218 desc.address = (dma_addr_t)&desc;
219 desc.cmd.data = MXS_DMA_DESC_COMMAND_NO_DMAXFER | MXS_DMA_DESC_CHAIN |
220 MXS_DMA_DESC_WAIT4END |
221 (1 << MXS_DMA_DESC_PIO_WORDS_OFFSET);
222 desc.cmd.pio_words[0] = readl(&regs->hw_lcdif_ctrl) | LCDIF_CTRL_RUN;
223 desc.cmd.next = (uint32_t)&desc.cmd;
224
225 /* Execute the DMA chain. */
226 mxs_dma_circ_start(MXS_DMA_CHANNEL_AHB_APBH_LCDIF, &desc);
227#endif
228
229 return 0;
230}
231
Igor Opaniukf5abe402019-06-04 00:05:59 +0300232static int mxs_remove_common(u32 fb)
Peng Fan5f8dbf52015-10-29 15:54:49 +0800233{
234 struct mxs_lcdif_regs *regs = (struct mxs_lcdif_regs *)MXS_LCDIF_BASE;
235 int timeout = 1000000;
236
Igor Opaniukf5abe402019-06-04 00:05:59 +0300237 if (!fb)
238 return -EINVAL;
Fabio Estevamef84cf62017-02-22 10:40:22 -0300239
Igor Opaniukf5abe402019-06-04 00:05:59 +0300240 writel(fb, &regs->hw_lcdif_cur_buf_reg);
241 writel(fb, &regs->hw_lcdif_next_buf_reg);
Peng Fan5f8dbf52015-10-29 15:54:49 +0800242 writel(LCDIF_CTRL1_VSYNC_EDGE_IRQ, &regs->hw_lcdif_ctrl1_clr);
243 while (--timeout) {
244 if (readl(&regs->hw_lcdif_ctrl1_reg) &
245 LCDIF_CTRL1_VSYNC_EDGE_IRQ)
246 break;
247 udelay(1);
248 }
249 mxs_reset_block((struct mxs_register_32 *)&regs->hw_lcdif_ctrl_reg);
Igor Opaniukf5abe402019-06-04 00:05:59 +0300250
251 return 0;
252}
253
Igor Opaniuk994f49a2019-06-19 11:47:05 +0300254static int mxs_of_get_timings(struct udevice *dev,
255 struct display_timing *timings,
256 u32 *bpp)
257{
258 int ret = 0;
259 u32 display_phandle;
260 ofnode display_node;
261
262 ret = ofnode_read_u32(dev_ofnode(dev), "display", &display_phandle);
263 if (ret) {
264 dev_err(dev, "required display property isn't provided\n");
265 return -EINVAL;
266 }
267
268 display_node = ofnode_get_by_phandle(display_phandle);
269 if (!ofnode_valid(display_node)) {
270 dev_err(dev, "failed to find display subnode\n");
271 return -EINVAL;
272 }
273
274 ret = ofnode_read_u32(display_node, "bits-per-pixel", bpp);
275 if (ret) {
276 dev_err(dev,
277 "required bits-per-pixel property isn't provided\n");
278 return -EINVAL;
279 }
280
281 ret = ofnode_decode_display_timing(display_node, 0, timings);
282 if (ret) {
283 dev_err(dev, "failed to get any display timings\n");
284 return -EINVAL;
285 }
286
287 return ret;
288}
289
Igor Opaniukf5abe402019-06-04 00:05:59 +0300290static int mxs_video_probe(struct udevice *dev)
291{
Simon Glassb75b15b2020-12-03 16:55:23 -0700292 struct video_uc_plat *plat = dev_get_uclass_plat(dev);
Igor Opaniukf5abe402019-06-04 00:05:59 +0300293 struct video_priv *uc_priv = dev_get_uclass_priv(dev);
294
Igor Opaniukf5abe402019-06-04 00:05:59 +0300295 struct display_timing timings;
Igor Opaniuk994f49a2019-06-19 11:47:05 +0300296 u32 bpp = 0;
Igor Opaniukf5abe402019-06-04 00:05:59 +0300297 u32 fb_start, fb_end;
298 int ret;
299
300 debug("%s() plat: base 0x%lx, size 0x%x\n",
301 __func__, plat->base, plat->size);
302
Igor Opaniuk994f49a2019-06-19 11:47:05 +0300303 ret = mxs_of_get_timings(dev, &timings, &bpp);
304 if (ret)
305 return ret;
Igor Opaniukf5abe402019-06-04 00:05:59 +0300306
Giulio Benettiac6d7f12020-04-08 17:10:15 +0200307 ret = mxs_probe_common(dev, &timings, bpp, plat->base);
Igor Opaniukf5abe402019-06-04 00:05:59 +0300308 if (ret)
309 return ret;
310
311 switch (bpp) {
Igor Opaniuk994f49a2019-06-19 11:47:05 +0300312 case 32:
Igor Opaniukf5abe402019-06-04 00:05:59 +0300313 case 24:
314 case 18:
315 uc_priv->bpix = VIDEO_BPP32;
316 break;
317 case 16:
318 uc_priv->bpix = VIDEO_BPP16;
319 break;
320 case 8:
321 uc_priv->bpix = VIDEO_BPP8;
322 break;
323 default:
324 dev_err(dev, "invalid bpp specified (bpp = %i)\n", bpp);
325 return -EINVAL;
326 }
327
Giulio Benettiac6d7f12020-04-08 17:10:15 +0200328 uc_priv->xsize = timings.hactive.typ;
329 uc_priv->ysize = timings.vactive.typ;
Igor Opaniukf5abe402019-06-04 00:05:59 +0300330
331 /* Enable dcache for the frame buffer */
332 fb_start = plat->base & ~(MMU_SECTION_SIZE - 1);
333 fb_end = plat->base + plat->size;
334 fb_end = ALIGN(fb_end, 1 << MMU_SECTION_SHIFT);
335 mmu_set_region_dcache_behaviour(fb_start, fb_end - fb_start,
336 DCACHE_WRITEBACK);
337 video_set_flush_dcache(dev, true);
338
339 return ret;
340}
341
342static int mxs_video_bind(struct udevice *dev)
343{
Simon Glassb75b15b2020-12-03 16:55:23 -0700344 struct video_uc_plat *plat = dev_get_uclass_plat(dev);
Igor Opaniukf5abe402019-06-04 00:05:59 +0300345 struct display_timing timings;
Igor Opaniuk994f49a2019-06-19 11:47:05 +0300346 u32 bpp = 0;
347 u32 bytes_pp = 0;
Igor Opaniukf5abe402019-06-04 00:05:59 +0300348 int ret;
349
Igor Opaniuk994f49a2019-06-19 11:47:05 +0300350 ret = mxs_of_get_timings(dev, &timings, &bpp);
351 if (ret)
352 return ret;
353
354 switch (bpp) {
355 case 32:
356 case 24:
357 case 18:
358 bytes_pp = 4;
359 break;
360 case 16:
361 bytes_pp = 2;
362 break;
363 case 8:
364 bytes_pp = 1;
365 break;
366 default:
367 dev_err(dev, "invalid bpp specified (bpp = %i)\n", bpp);
Igor Opaniukf5abe402019-06-04 00:05:59 +0300368 return -EINVAL;
369 }
370
Igor Opaniuk994f49a2019-06-19 11:47:05 +0300371 plat->size = timings.hactive.typ * timings.vactive.typ * bytes_pp;
Igor Opaniukf5abe402019-06-04 00:05:59 +0300372
373 return 0;
374}
375
376static int mxs_video_remove(struct udevice *dev)
377{
Simon Glassb75b15b2020-12-03 16:55:23 -0700378 struct video_uc_plat *plat = dev_get_uclass_plat(dev);
Igor Opaniukf5abe402019-06-04 00:05:59 +0300379
380 mxs_remove_common(plat->base);
381
382 return 0;
383}
384
385static const struct udevice_id mxs_video_ids[] = {
386 { .compatible = "fsl,imx23-lcdif" },
387 { .compatible = "fsl,imx28-lcdif" },
Sébastien Szymanskie9929c12024-02-27 16:40:02 +0100388 { .compatible = "fsl,imx6sx-lcdif" },
Igor Opaniukf5abe402019-06-04 00:05:59 +0300389 { .compatible = "fsl,imx7ulp-lcdif" },
Giulio Benetti83677312020-04-08 17:10:14 +0200390 { .compatible = "fsl,imxrt-lcdif" },
Igor Opaniukf5abe402019-06-04 00:05:59 +0300391 { /* sentinel */ }
392};
393
394U_BOOT_DRIVER(mxs_video) = {
395 .name = "mxs_video",
396 .id = UCLASS_VIDEO,
397 .of_match = mxs_video_ids,
398 .bind = mxs_video_bind,
399 .probe = mxs_video_probe,
400 .remove = mxs_video_remove,
Anatolij Gustschinf9888f92020-01-25 23:44:56 +0100401 .flags = DM_FLAG_PRE_RELOC | DM_FLAG_OS_PREPARE,
Igor Opaniukf5abe402019-06-04 00:05:59 +0300402};