[U-Boot-Users] "Partitioning" EEPROM

Hi list ;-),
I have an 24c64 EEPROM wired via i2c on an embedded device. I want to "partition" the EEPROM so that I have one node /dev/EEPROM/0 for system and environment stuff, and another entry /dev/EEPROM/1 for custom data for the application. I thought to write a driver for the second device and limit the bounds of the first one. But I guess that would be bad practice when concurrent access to the EEPROM happens. The other thing I think of is to have the EEPROM as MTD device(s). Would this be viable (I mean if it doesn't involve too much code changes)?
What would be a good way to achieve this?
Ben

In message 357D7010018B5848A026BB472199C90B013B808F@mailf01.med.uni-giessen.de you wrote:
I have an 24c64 EEPROM wired via i2c on an embedded device. I want to "partition" the EEPROM so that I have one node /dev/EEPROM/0 for system and environment stuff, and another entry /dev/EEPROM/1 for custom data for the application.
And what has this top do with U-Boot? You are 100% off topic here.
Best regards,
Wolfgang Denk
participants (2)
-
Stadin, Benjamin
-
Wolfgang Denk