arm: omap: add support for RM-680
Subsystems (3)
cover arm: omap: add support for RM-680
These patches add initial support for Nokia RM-680 board.
Patches 1-7 are just preparation and make board-rx51-sdram.c reusable by renaming it to sdram-nokia.c etc.
Patch 8 adds a new board and requires updated mach-types from
http://www.arm.linux.org.uk/developer/machines/download.php in order to compile.
These are based on top of linux-omap/master
(92f446c47b18827e61483787668b0bb5f7a033b6).
...
Aaro Koskinen (8):
arm: omap: rename board-rx51-sdram.c to sdram-nokia.c
arm: omap: add sdram-nokia.h
arm: omap: sdram-nokia: prepare for new memory timings
arm: omap: sdram-nokia: use array to list timings
arm: omap: sdram-nokia: improve error handling
arm: omap: sdram-nokia: delete redundant timing data
arm: omap: sdram-nokia: add 97.6/195.2 MHz timing data
arm: omap: add minimal support for RM-680
arch/arm/mach-omap2/Kconfig | 6 +
arch/arm/mach-omap2/Makefile | 5 +-
arch/arm/mach-omap2/board-rm680.c | 187 ++++++++++++++++++++
arch/arm/mach-omap2/board-rx51.c | 4 +-
.../{board-rx51-sdram.c => sdram-nokia.c} | 102 +++++++++---
arch/arm/mach-omap2/sdram-nokia.h | 12 ++
arch/arm/plat-omap/include/plat/uncompress.h | 1 +
7 files changed, 292 insertions(+), 25 deletions(-)
create mode 100644 arch/arm/mach-omap2/board-rm680.c
rename arch/arm/mach-omap2/{board-rx51-sdram.c => sdram-nokia.c} (66%)
create mode 100644 arch/arm/mach-omap2/sdram-nokia.hPATCH 1/8 arm: omap: rename board-rx51-sdram.c to sdram-nokia.c
Rename the file and functions so that it can be reused by future Nokia boards. Based on patches by Juha Keski-Saari.
---
arch/arm/mach-omap2/Makefile | 2 +-
arch/arm/mach-omap2/board-rx51.c | 4 +-
.../{board-rx51-sdram.c => sdram-nokia.c} | 34 ++++++++++----------
3 files changed, 20 insertions(+), 20 deletions(-)
rename arch/arm/mach-omap2/{board-rx51-sdram.c => sdram-nokia.c} (85%)arch/arm/mach-omap2/Makefile +1 -1
@@ -141,7 +141,7 @@ obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \ board-flash.o obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ - board-rx51-sdram.o \ + sdram-nokia.o \ board-rx51-peripherals.o \ board-rx51-video.o \ hsmmc.o
arch/arm/mach-omap2/board-rx51.c +2 -2
@@ -35,7 +35,7 @@#define RX51_GPIO_SLEEP_IND 162 -struct omap_sdrc_params *rx51_get_sdram_timings (void ); +struct omap_sdrc_params *nokia_get_sdram_timings (void );extern void rx51_video_mem_init (void );static struct gpio_led gpio_leds[] = {
@@ -105,7 +105,7 @@ static void __init rx51_init_irq(void) omap_board_config = rx51_config; omap_board_config_size =ARRAY_SIZE (rx51_config);omap3_pm_init_cpuidle (rx51_cpuidle_params); - sdrc_params =rx51_get_sdram_timings (); + sdrc_params =nokia_get_sdram_timings ();omap2_init_common_hw (sdrc_params, sdrc_params);omap_init_irq (); }
arch/arm/mach-omap2/sdram-nokia.c renamed from arch/arm/mach-omap2/board-rx51-sdram.c +17 -17
@@ -1,7 +1,7 @@/* -* SDRC register values for RX51 +* SDRC register values for Nokia boards * -* Copyright (C) 2008 Nokia Corporation +* Copyright (C) 2008, 2010 Nokia Corporation * * Lauri Leukkunen <[email protected]> *
@@ -43,9 +43,9 @@ struct sdram_timings {u32 tWTR; }; -static struct omap_sdrc_params rx51_sdrc_params[4 ]; +static struct omap_sdrc_params nokia_sdrc_params[4 ]; -static const struct sdram_timings rx51_timings[] = { +static const struct sdram_timings memory_timings[] = { { .casl =3 , .tDAL =33000 ,
@@ -110,12 +110,12 @@ static int set_sdrc_timing_regval(u32 *regval, int st_bit, int end_bit,#ifdef DEBUG #define SDRC_SET_ONE (reg, st, end, field, rate) \ if (set_sdrc_timing_regval((reg), (st), (end), \ - rx51_timings->field, (rate), #field) < 0) \ + memory_timings->field, (rate), #field) < 0) \ err = -1;#else #define SDRC_SET_ONE (reg, st, end, field, rate) \ if (set_sdrc_timing_regval((reg), (st), (end), \ - rx51_timings->field) < 0) \ + memory_timings->field) < 0) \ err = -1;#endif
@@ -148,14 +148,14 @@ static int set_sdrc_timing_regval_ps(u32 *regval, int st_bit, int end_bit,#ifdef DEBUG #define SDRC_SET_ONE_PS (reg, st, end, field, rate) \ if (set_sdrc_timing_regval_ps((reg), (st), (end), \ - rx51_timings->field, \ + memory_timings->field, \ (rate), #field) < 0) \ err = -1;#else #define SDRC_SET_ONE_PS (reg, st, end, field, rate) \ if (set_sdrc_timing_regval_ps((reg), (st), (end), \ - rx51_timings->field, (rate)) < 0) \ + memory_timings->field, (rate)) < 0) \ err = -1;#endif
@@ -184,7 +184,7 @@ static int sdrc_timings(int id, long rate)SDRC_SET_ONE (&actim_ctrlb,16 ,17 , tWTR, l3_rate); ticks_per_ms = l3_rate; - rfr = rx51_timings[0 ].tREF * ticks_per_ms /1000000 ; + rfr = memory_timings[0 ].tREF * ticks_per_ms /1000000 ;if (rfr >65535 +50 ) rfr =65535 ;else
@@ -197,18 +197,18 @@ static int sdrc_timings(int id, long rate) l = rfr <<8 ; rfr_ctrl = l |0x1 ;/* autorefresh, reload counter with 1xARCV */ - rx51_sdrc_params[id].rate = rate; - rx51_sdrc_params[id].actim_ctrla = actim_ctrla; - rx51_sdrc_params[id].actim_ctrlb = actim_ctrlb; - rx51_sdrc_params[id].rfr_ctrl = rfr_ctrl; - rx51_sdrc_params[id].mr =0x32 ; + nokia_sdrc_params[id].rate = rate; + nokia_sdrc_params[id].actim_ctrla = actim_ctrla; + nokia_sdrc_params[id].actim_ctrlb = actim_ctrlb; + nokia_sdrc_params[id].rfr_ctrl = rfr_ctrl; + nokia_sdrc_params[id].mr =0x32 ; - rx51_sdrc_params[id +1 ].rate =0 ; + nokia_sdrc_params[id +1 ].rate =0 ;return err; } -struct omap_sdrc_params *rx51_get_sdram_timings (void ) +struct omap_sdrc_params *nokia_get_sdram_timings (void ) {int err;
@@ -216,6 +216,6 @@ struct omap_sdrc_params *rx51_get_sdram_timings(void) err |=sdrc_timings (1 ,83000000 ); err |=sdrc_timings (2 ,166000000 ); -return &rx51_sdrc_params[0 ]; +return &nokia_sdrc_params[0 ]; }
Signature · 1 line
1.5.6.5
PATCH 2/8 arm: omap: add sdram-nokia.h
In reply to Aaro KoskinenAdd a header file for Nokia SDRAM functions. Based on patches by Juha Keski-Saari.
--- arch/arm/mach-omap2/board-rx51.c | 2 +- arch/arm/mach-omap2/sdram-nokia.c | 1 + arch/arm/mach-omap2/sdram-nokia.h | 12 ++++++++++++ 3 files changed, 14 insertions(+), 1 deletions(-) create mode 100644 arch/arm/mach-omap2/sdram-nokia.h
arch/arm/mach-omap2/board-rx51.c +1 -1
@@ -32,10 +32,10 @@#include "mux.h" #include "pm.h" +#include "sdram-nokia.h" #define RX51_GPIO_SLEEP_IND 162 -struct omap_sdrc_params *nokia_get_sdram_timings (void );extern void rx51_video_mem_init (void );static struct gpio_led gpio_leds[] = {
arch/arm/mach-omap2/sdram-nokia.c +1 -0
@@ -22,6 +22,7 @@#include <plat/clock.h> #include <plat/sdrc.h> +#include "sdram-nokia.h" /* In picoseconds, except for tREF (ns), tXP, tCKE, tWTR (clks) */ struct sdram_timings {
arch/arm/mach-omap2/sdram-nokia.h new file +12 -0
@@ -0,0 +1,12 @@ +/* +* SDRC register values for Nokia boards +* +* Copyright (C) 2010 Nokia +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. +*/ + +struct omap_sdrc_params *nokia_get_sdram_timings (void ); +
Signature · 1 line
1.5.6.5
PATCH 2/8 arm: omap: add sdram-nokia.h
Aaro Koskinen had written, on 12/09/2010 10:39 AM, the following:
[...]
Quoted 8 lines
arch/arm/mach-omap2/sdram-nokia.h new file +2
-0@@ -0,0 +1,12 @@ +/* +* SDRC register values for Nokia boards
arch/arm/mach-omap2/sdram-nokia.h line 12
Quoted 10 lines
arch/arm/mach-omap2/sdram-nokia.h new file +10
-0+* +* Copyright (C) 2010 Nokia +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. +*/ + +struct omap_sdrc_params *nokia_get_sdram_timings (void ); +
Minor comment: Header guard missing. maybe nice to add #ifndef, #def, #endif.
Regards,
Nishanth Menon
PATCH 3/8 arm: omap: sdram-nokia: prepare for new memory timings
In reply to Aaro KoskinenRename the current timings to indicate they're for 166 MHz. Based on patches by Eduardo Valentin and Juha Keski-Saari.
--- arch/arm/mach-omap2/sdram-nokia.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-)
arch/arm/mach-omap2/sdram-nokia.c +6 -5
@@ -46,7 +46,7 @@ struct sdram_timings {static struct omap_sdrc_params nokia_sdrc_params[4 ]; -static const struct sdram_timings memory_timings[] = { +static const struct sdram_timings nokia_166mhz_timings[] = { { .casl =3 , .tDAL =33000 ,
@@ -160,7 +160,8 @@ static int set_sdrc_timing_regval_ps(u32 *regval, int st_bit, int end_bit, err =-1 ;#endif -static int sdrc_timings (int id,long rate) +static int sdrc_timings (int id,long rate, +const struct sdram_timings *memory_timings) {u32 ticks_per_ms;u32 rfr, l;
@@ -213,9 +214,9 @@ struct omap_sdrc_params *nokia_get_sdram_timings(void) {int err; - err =sdrc_timings (0 ,41500000 ); - err |=sdrc_timings (1 ,83000000 ); - err |=sdrc_timings (2 ,166000000 ); + err =sdrc_timings (0 ,41500000 , nokia_166mhz_timings); + err |=sdrc_timings (1 ,83000000 , nokia_166mhz_timings); + err |=sdrc_timings (2 ,166000000 , nokia_166mhz_timings);return &nokia_sdrc_params[0 ]; }
Signature · 1 line
1.5.6.5
PATCH 4/8 arm: omap: sdram-nokia: use array to list timings
In reply to Aaro KoskinenUse an array to make it easier to add new values.
--- arch/arm/mach-omap2/sdram-nokia.c | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-)
arch/arm/mach-omap2/sdram-nokia.c +15 -6
@@ -44,8 +44,6 @@ struct sdram_timings {u32 tWTR; }; -static struct omap_sdrc_params nokia_sdrc_params[4 ]; -static const struct sdram_timings nokia_166mhz_timings[] = { { .casl =3 ,
@@ -67,6 +65,16 @@ static const struct sdram_timings nokia_166mhz_timings[] = { }, }; +static const struct { +long rate; +struct sdram_timings const *data; +} nokia_timings[] = { + {41500000 , nokia_166mhz_timings }, + {83000000 , nokia_166mhz_timings }, + {166000000 , nokia_166mhz_timings }, +}; +static struct omap_sdrc_params nokia_sdrc_params[ARRAY_SIZE (nokia_timings) +1 ]; +static unsigned long sdrc_get_fclk_period (long rate) {/* In picoseconds */
@@ -212,11 +220,12 @@ static int sdrc_timings(int id, long rate,struct omap_sdrc_params *nokia_get_sdram_timings (void ) { -int err; +int err =0 ; +int i; - err =sdrc_timings (0 ,41500000 , nokia_166mhz_timings); - err |=sdrc_timings (1 ,83000000 , nokia_166mhz_timings); - err |=sdrc_timings (2 ,166000000 , nokia_166mhz_timings); +for (i =0 ; i <ARRAY_SIZE (nokia_timings); i++) + err |=sdrc_timings (i, nokia_timings[i].rate, + nokia_timings[i].data);return &nokia_sdrc_params[0 ]; }
Signature · 1 line
1.5.6.5
PATCH 5/8 arm: omap: sdram-nokia: improve error handling
In reply to Aaro KoskinenActually check for errors: print an error log and return NULL.
--- arch/arm/mach-omap2/sdram-nokia.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/sdram-nokia.c +6 -2
@@ -223,10 +223,14 @@ struct omap_sdrc_params *nokia_get_sdram_timings(void)int err =0 ;int i; -for (i =0 ; i <ARRAY_SIZE (nokia_timings); i++) +for (i =0 ; i <ARRAY_SIZE (nokia_timings); i++) { err |=sdrc_timings (i, nokia_timings[i].rate, nokia_timings[i].data); +if (err) +pr_err ("%s: error with rate %ld: %d\n" , __func__, + nokia_timings[i].rate, err); + } -return &nokia_sdrc_params[0 ]; +return err ?NULL : nokia_sdrc_params; }
Signature · 1 line
1.5.6.5
PATCH 6/8 arm: omap: sdram-nokia: delete redundant timing data
In reply to Aaro Koskinen41.5 MHz SDRAM clock is not usable.
--- arch/arm/mach-omap2/sdram-nokia.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/sdram-nokia.c +0 -1
@@ -69,7 +69,6 @@ static const struct {long rate;struct sdram_timings const *data; } nokia_timings[] = { - { 41500000, nokia_166mhz_timings }, { 83000000, nokia_166mhz_timings }, { 166000000, nokia_166mhz_timings }, };
Signature · 1 line
1.5.6.5
PATCH 7/8 arm: omap: sdram-nokia: add 97.6/195.2 MHz timing data
In reply to Aaro KoskinenIntroduce 97.6/195.2 MHz memory timing data. Based on patches by Eduardo Valentin, Igor Dmitriev and Juha Keski-Saari.
--- arch/arm/mach-omap2/sdram-nokia.c | 44 +++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/sdram-nokia.c +44 -0
@@ -44,6 +44,27 @@ struct sdram_timings {u32 tWTR; }; +static const struct sdram_timings nokia_97dot6mhz_timings[] = { + { + .casl =3 , + .tDAL =30725 , + .tDPL =15362 , + .tRRD =10241 , + .tRCD =20483 , + .tRP =15362 , + .tRAS =40967 , + .tRC =56330 , + .tRFC =138266 , + .tXSR =204839 , + + .tREF =7798 , + + .tXP =2 , + .tCKE =4 , + .tWTR =2 , + }, +}; +static const struct sdram_timings nokia_166mhz_timings[] = { { .casl =3 ,
@@ -65,12 +86,35 @@ static const struct sdram_timings nokia_166mhz_timings[] = { }, }; +static const struct sdram_timings nokia_195dot2mhz_timings[] = { + { + .casl =3 , + .tDAL =30725 , + .tDPL =15362 , + .tRRD =10241 , + .tRCD =20483 , + .tRP =15362 , + .tRAS =40967 , + .tRC =56330 , + .tRFC =138266 , + .tXSR =204839 , + + .tREF =7752 , + + .tXP =2 , + .tCKE =4 , + .tWTR =2 , + }, +}; +static const struct {long rate;struct sdram_timings const *data; } nokia_timings[] = { {83000000 , nokia_166mhz_timings }, + {97600000 , nokia_97dot6mhz_timings }, {166000000 , nokia_166mhz_timings }, + {195200000 , nokia_195dot2mhz_timings }, };static struct omap_sdrc_params nokia_sdrc_params[ARRAY_SIZE (nokia_timings) +1 ];
Signature · 1 line
1.5.6.5
PATCH 8/8 arm: omap: add minimal support for RM-680
In reply to Aaro KoskinenAdd minimal support for Nokia RM-680 board.
Tested with omap2plus_defconfig.
--- arch/arm/mach-omap2/Kconfig | 6 + arch/arm/mach-omap2/Makefile | 3 + arch/arm/mach-omap2/board-rm680.c | 187 ++++++++++++++++++++++++++ arch/arm/plat-omap/include/plat/uncompress.h | 1 + 4 files changed, 197 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-omap2/board-rm680.c
arch/arm/mach-omap2/Kconfig +6 -0
@@ -221,6 +221,12 @@ config MACH_NOKIA_N8X0 select MACH_NOKIA_N810 select MACH_NOKIA_N810_WIMAX +config MACH_NOKIA_RM680 + bool "Nokia RM-680 board" + depends on ARCH_OMAP3 + default y + select OMAP_PACKAGE_CBB + config MACH_NOKIA_RX51 bool "Nokia RX-51 board" depends on ARCH_OMAP3
arch/arm/mach-omap2/Makefile +3 -0
@@ -140,6 +140,9 @@ obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \ hsmmc.o \ board-flash.o obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o +obj-$(CONFIG_MACH_NOKIA_RM680) += board-rm680.o \ + sdram-nokia.o \ + hsmmc.o obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ sdram-nokia.o \ board-rx51-peripherals.o \
arch/arm/mach-omap2/board-rm680.c new file +187 -0
187 lines not on this page · raw message
arch/arm/plat-omap/include/plat/uncompress.h +1 -0
@@ -148,6 +148,7 @@ static inline void __arch_decomp_setup(unsigned long arch_id)DEBUG_LL_OMAP3 (3 , craneboard);DEBUG_LL_OMAP3 (3 , igep0020);DEBUG_LL_OMAP3 (3 , igep0030); +DEBUG_LL_OMAP3 (3 , nokia_rm680);DEBUG_LL_OMAP3 (3 , nokia_rx51);DEBUG_LL_OMAP3 (3 , omap3517evm);DEBUG_LL_OMAP3 (3 , omap3_beagle);
Signature · 1 line
1.5.6.5
PATCH 8/8 arm: omap: add minimal support for RM-680
Hi Aaro,
A couple of small comments below, otherwise looks nice to me.
Jamie
Quoted 6 lines · Aaro Koskinen
Add minimal support for Nokia RM-680 board.
Tested with
omap2plus_defconfig.Signed-off-by Aaro Koskinen <[email protected]>---
[...]
Quoted 18 lines
arch/arm/mach-omap2/board-rm680.c new file +18
-0+#if defined(CONFIG_MTD_ONENAND_OMAP2 ) || \ + defined(CONFIG_MTD_ONENAND_OMAP2_MODULE ) +static struct omap_onenand_platform_data board_onenand_data[] = { + { + .gpio_irq =65 , + .flags =ONENAND_SYNC_READWRITE , + } +}; +#endif + +/* eMMC */ +static struct omap2_hsmmc_info mmc[]__initdata = { + { + .name ="internal" , + .mmc =2 , + .caps =MMC_CAP_4_BIT_DATA |MMC_CAP_MMC_HIGHSPEED , + .gpio_cd = -EINVAL , + .gpio_wp = -EINVAL ,
arch/arm/mach-omap2/board-rm680.c line 140
Quoted 10 lines
arch/arm/mach-omap2/board-rm680.c new file +10
-0+ }, + {/* Terminator */ } +}; + +static void __init rm680_peripherals_init (void ) +{ +platform_add_devices (rm680_peripherals_devices, +ARRAY_SIZE (rm680_peripherals_devices)); +rm680_i2c_init (); +gpmc_onenand_init (board_onenand_data);
What happens if CONFIG_MTD_ONENAND_OMAP2=n and CONFIG_MTD_ONENAND_OMAP2_MODULE=n? Do you need to define board_onenand_data to NULL if these aren't enabled?
Quoted 18 lines
arch/arm/mach-omap2/board-rm680.c new file +18
-0+omap2_hsmmc_init (mmc); +} + +static void __init rm680_init_irq (void ) +{ +struct omap_sdrc_params *sdrc_params; + + sdrc_params =nokia_get_sdram_timings (); +omap2_init_common_hw (sdrc_params, sdrc_params); +omap_init_irq (); +omap_gpio_init (); +} + +#ifdef CONFIG_OMAP_MUX +static struct omap_board_mux board_mux[]__initdata = { + { .reg_offset =OMAP_MUX_TERMINATOR }, +}; +#endif
arch/arm/mach-omap2/board-rm680.c line 168
Quoted 10 lines
arch/arm/mach-omap2/board-rm680.c new file +10
-0+ +static struct omap_musb_board_data rm680_musb_data = { + .interface_type =MUSB_INTERFACE_ULPI , + .mode =MUSB_PERIPHERAL , + .power =100 , +}; + +static void __init rm680_init (void ) +{ +omap3_mux_init (board_mux,OMAP_PACKAGE_CBB );
The same here as with the onenand data.
PATCH 8/8 arm: omap: add minimal support for RM-680
Hi,
Quoted 9 lines · Jamie Iles
arch/arm/mach-omap2/board-rm680.c line 140
Quoted 6 lines
arch/arm/mach-omap2/board-rm680.c new file +6
-0+static void __init rm680_peripherals_init (void ) +{ +platform_add_devices (rm680_peripherals_devices, +ARRAY_SIZE (rm680_peripherals_devices)); +rm680_i2c_init (); +gpmc_onenand_init (board_onenand_data);What happens if
CONFIG_MTD_ONENAND_OMAP2=nandCONFIG_MTD_ONENAND_OMAP2_MODULE=n? Do you need to defineboard_onenand_datato NULL if these aren't enabled?
[...]
Quoted 4 lines
arch/arm/mach-omap2/board-rm680.c line 168
Quoted 3 lines
arch/arm/mach-omap2/board-rm680.c new file +3
-0+static void __init rm680_init (void ) +{ +omap3_mux_init (board_mux,OMAP_PACKAGE_CBB );The same here as with the onenand data.
Check the following commits in linux-omap tree:
and
A.
PATCH 8/8 arm: omap: add minimal support for RM-680
Quoted 18 lines · Aaro Koskinen
Hi,
Quoted 9 lines · Jamie Iles
arch/arm/mach-omap2/board-rm680.c line 140
Quoted 6 lines
arch/arm/mach-omap2/board-rm680.c new file +6
-0+static void __init rm680_peripherals_init (void ) +{ +platform_add_devices (rm680_peripherals_devices, +ARRAY_SIZE (rm680_peripherals_devices)); +rm680_i2c_init (); +gpmc_onenand_init (board_onenand_data);What happens if
CONFIG_MTD_ONENAND_OMAP2=nandCONFIG_MTD_ONENAND_OMAP2_MODULE=n? Do you need to defineboard_onenand_datato NULL if these aren't enabled?[...]
Quoted 4 lines
arch/arm/mach-omap2/board-rm680.c line 168
Quoted 3 lines
arch/arm/mach-omap2/board-rm680.c new file +3
-0+static void __init rm680_init (void ) +{ +omap3_mux_init (board_mux,OMAP_PACKAGE_CBB );The same here as with the onenand data.
Quoted 7 lines
Check the following commits in linux-omap tree:
and
Thanks for the pointer! It looks a bit confusing to my eyes but I guess it's better than lots of ifdeffery.
Jamie
Tony Lindgren
maintainerPATCH 8/8 arm: omap: add minimal support for RM-680
Quoted 11 lines · Jamie Iles
Quoted 8 lines · Aaro Koskinen
Check the following commits in linux-omap tree:
and
Thanks for the pointer! It looks a bit confusing to my eyes but I guess it's better than lots of ifdeffery.
Queuing these for the next merge window.
Tony