~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: e2ab80b6d4d80f66b7453434a0b482ed90547881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
if TARGET_O4_IMX6ULL_NANO

config SYS_BOARD
	default "o4-imx6ull-nano"

config SYS_VENDOR
	default "out4"

config SYS_CONFIG_NAME
	default "o4-imx6ull-nano"

choice
	prompt "Memory model"
	default K4B4G1646D_BCMA
	help
	    Memory type setup.

	    Please choose correct memory model here.

config K4B4G1646D_BCMA
	bool "K4B4G1646D-BCMA 256Mx16 (512 MiB/chip)"
	help
	    Samsung DDR3 SDRAM
	    K4B4G1646D-BCMA

config MT41K256M16HA_125E
	bool "MT41K256M16HA-125:E 256Mx16 (512 MiB/chip)"
	help
	    Micron DDR3L SDRAM
	    MT41K256M16HA-125:E

endchoice

choice
	prompt "Mainboard model"
	default O4_IMX_NANO
	help
	    Mainboard setup.

	    Please choose correct main board model here.

config O4_IMX_NANO
	bool "O4-iMX-NANO"
	help
	    A baseboard for EV-iMX280-NANO module:
	    https://out4.ru/products/board/18-o4-imx-nano.html

config EV_IMX280_NANO_X_MB
	bool "EV-IMX280-NANO-X-MB"
	help
	    A simple baseboard for EV-iMX280-NANO module:
	    http://evodbg.net/products/mx28-eval-kits/14-ev-imx280-nano-x-mb.html

endchoice

config IMX_CONFIG
	default "board/out4/o4-imx6ull-nano/K4B4G1646D-BCMA.cfg" if K4B4G1646D_BCMA
	default "board/out4/o4-imx6ull-nano/MT41K256M16HA-125E.cfg" if MT41K256M16HA_125E

config DEFAULT_DEVICE_TREE
	default "o4-imx-nano" if O4_IMX_NANO
	default "ev-imx280-nano-x-mb" if EV_IMX280_NANO_X_MB

endif