1if TARGET_O4_IMX6ULL_NANO
2
3config SYS_BOARD
4	default "o4-imx6ull-nano"
5
6config SYS_VENDOR
7	default "out4"
8
9config SYS_CONFIG_NAME
10	default "o4-imx6ull-nano"
11
12choice
13	prompt "Memory model"
14	default K4B4G1646D_BCMA
15	help
16	    Memory type setup.
17
18	    Please choose correct memory model here.
19
20config K4B4G1646D_BCMA
21	bool "K4B4G1646D-BCMA 256Mx16 (512 MiB/chip)"
22	help
23	    Samsung DDR3 SDRAM
24	    K4B4G1646D-BCMA
25
26config MT41K256M16HA_125E
27	bool "MT41K256M16HA-125:E 256Mx16 (512 MiB/chip)"
28	help
29	    Micron DDR3L SDRAM
30	    MT41K256M16HA-125:E
31
32endchoice
33
34choice
35	prompt "Mainboard model"
36	default O4_IMX_NANO
37	help
38	    Mainboard setup.
39
40	    Please choose correct main board model here.
41
42config O4_IMX_NANO
43	bool "O4-iMX-NANO"
44	help
45	    A baseboard for EV-iMX280-NANO module:
46	    https://out4.ru/products/board/18-o4-imx-nano.html
47
48config EV_IMX280_NANO_X_MB
49	bool "EV-IMX280-NANO-X-MB"
50	help
51	    A simple baseboard for EV-iMX280-NANO module:
52	    http://evodbg.net/products/mx28-eval-kits/14-ev-imx280-nano-x-mb.html
53
54endchoice
55
56config IMX_CONFIG
57	default "board/out4/o4-imx6ull-nano/K4B4G1646D-BCMA.cfg" if K4B4G1646D_BCMA
58	default "board/out4/o4-imx6ull-nano/MT41K256M16HA-125E.cfg" if MT41K256M16HA_125E
59
60config DEFAULT_DEVICE_TREE
61	default "o4-imx-nano" if O4_IMX_NANO
62	default "ev-imx280-nano-x-mb" if EV_IMX280_NANO_X_MB
63
64endif
65