Skip to contentSkip to conversation

After called the mmc_initialize, i2c_init is called

RFC Jaehoon Chung 2 participants 2 messages Oct 18, 2012 – Oct 19, 2012

lore
Share & tools
lore
#0 lore raw

Hi All,

I want to get the mailing's help.
My problem is that i2c_init is located after called mmc_initialize.

I want to control the pmic with i2c.
But i2c_init is called into stdio_init(). so i didn't control the pmic. Is there a special reason that i2c_init() is located into stdio_init()? If there is no reason, how about i2c_init is located into board_init_r()?

If you have any opinion, let me know.

Best Regards,
Jaehoon Chung

#1 lore raw

Hi Jaehoon,

Quoted 5 lines

Hi All,

I want to get the mailing's help.
My problem is that i2c_init is located after called mmc_initialize.

Quoted 7 lines

I want to control the pmic with i2c.
But i2c_init is called into stdio_init(). so i didn't control the pmic. Is there a special reason that i2c_init() is located into stdio_init()? If there is no reason, how about i2c_init is located into board_init_r()?

If you have any opinion, let me know.

The new, PMIC 2.0 (version v3) is going to solve this problem.

I'm very close to post patches.

Quoted 7 lines

Best Regards,
Jaehoon Chung
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 5 lines
Best regards,

Lukasz Majewski

Samsung Poland R&D Center | Linux Platform Group