Skip to contentSkip to conversation

NAND FDT mapping on Canyonlands

U-Boot Felix Radensky 3 participants 3 messages Jun 11, 2009 – Jun 22, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

Canyonlands board port has its own version of ft_board_setup(), overriding the generic one from cpu/ppc4xx/fdt.c. Canyonlands version is missing the code that sets OPB/PLB mappings in device tree. As a result, Linux NAND driver is unusable on this board, as it fails to find a relevant NAND EBC mapping.

Will a patch adding OPB/PLD mapping code to Canyonlands version of ft_board_setup() be accepted ?

Felix.

#1 lore raw

Hi Felix,

Quoted 8 lines

Canyonlands board port has its own version of ft_board_setup(), overriding the generic one from cpu/ppc4xx/fdt.c. Canyonlands version is missing the code that sets OPB/PLB mappings in device tree. As a result, Linux NAND driver is unusable on this board, as it fails to find a relevant NAND EBC mapping.

Will a patch adding OPB/PLD mapping code to Canyonlands version of ft_board_setup() be accepted ?

As you state it, it fixes a real bug, so sure it will be considered ;)

I'm not too much into it, but please try to come up with a patch sharing as much and copying as few as possible...

Cheers
Detlev

Signature · 7 lines
Directories are added, deleted, and rearranged much as you would
expect, even if you don't know it's what you'd expect.
                                         -- Tom Lord in TLA Documentation
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
#2 lore raw
In reply to Felix Radensky

Hi Felix,

Quoted 8 lines · On Thursday 11 June 2009 12:32:29 Felix Radensky wrote:

Canyonlands board port has its own version of ft_board_setup(), overriding the generic one from cpu/ppc4xx/fdt.c. Canyonlands version is missing the code that sets OPB/PLB mappings in device tree. As a result, Linux NAND driver is unusable on this board, as it fails to find a relevant NAND EBC mapping.

Will a patch adding OPB/PLD mapping code to Canyonlands version of ft_board_setup() be accepted ?

Sure, please go ahead and post... :)

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================