| .. | .. |
|---|
| 90 | 90 | .core_chipsel = 0, |
|---|
| 91 | 91 | .parts = davinci_ntosd2_nandflash_partition, |
|---|
| 92 | 92 | .nr_parts = ARRAY_SIZE(davinci_ntosd2_nandflash_partition), |
|---|
| 93 | | - .ecc_mode = NAND_ECC_HW, |
|---|
| 93 | + .engine_type = NAND_ECC_ENGINE_TYPE_ON_HOST, |
|---|
| 94 | 94 | .ecc_bits = 1, |
|---|
| 95 | 95 | .bbt_options = NAND_BBT_USE_FLASH, |
|---|
| 96 | 96 | }; |
|---|
| .. | .. |
|---|
| 130 | 130 | }; |
|---|
| 131 | 131 | |
|---|
| 132 | 132 | static const struct gpio_led ntosd2_leds[] = { |
|---|
| 133 | | - { .name = "led1_green", .gpio = GPIO(10), }, |
|---|
| 134 | | - { .name = "led1_red", .gpio = GPIO(11), }, |
|---|
| 135 | | - { .name = "led2_green", .gpio = GPIO(12), }, |
|---|
| 136 | | - { .name = "led2_red", .gpio = GPIO(13), }, |
|---|
| 133 | + { .name = "led1_green", .gpio = 10, }, |
|---|
| 134 | + { .name = "led1_red", .gpio = 11, }, |
|---|
| 135 | + { .name = "led2_green", .gpio = 12, }, |
|---|
| 136 | + { .name = "led2_red", .gpio = 13, }, |
|---|
| 137 | 137 | }; |
|---|
| 138 | 138 | |
|---|
| 139 | 139 | static struct gpio_led_platform_data ntosd2_leds_data = { |
|---|
| .. | .. |
|---|
| 214 | 214 | * Mux the pins to be GPIOs, VLYNQEN is already done at startup. |
|---|
| 215 | 215 | * The AEAWx are five new AEAW pins that can be muxed by separately. |
|---|
| 216 | 216 | * They are a bitmask for GPIO management. According TI |
|---|
| 217 | | - * documentation (http://www.ti.com/lit/gpn/tms320dm6446) to employ |
|---|
| 217 | + * documentation (https://www.ti.com/lit/gpn/tms320dm6446) to employ |
|---|
| 218 | 218 | * gpio(10,11,12,13) for leds any combination of bits works except |
|---|
| 219 | 219 | * four last. So we are to reset all five. |
|---|
| 220 | 220 | */ |
|---|
| .. | .. |
|---|
| 231 | 231 | /* Maintainer: Neuros Technologies <neuros@groups.google.com> */ |
|---|
| 232 | 232 | .atag_offset = 0x100, |
|---|
| 233 | 233 | .map_io = davinci_ntosd2_map_io, |
|---|
| 234 | | - .init_irq = davinci_irq_init, |
|---|
| 234 | + .init_irq = dm644x_init_irq, |
|---|
| 235 | 235 | .init_time = dm644x_init_time, |
|---|
| 236 | 236 | .init_machine = davinci_ntosd2_init, |
|---|
| 237 | 237 | .init_late = davinci_init_late, |
|---|