This patchets adds different endianess accessors for grlib and adds support for using them using platform_data in addition to the device tree. This is for instances where the ocores implementation is not on the same silicon die as the CPU core (e.g. PCI), and the base address of the corresponding IP must be determined during runtime. Mohammed Billoo (2): i2c: ocores: add gaisler to platform data i2c: ocores: add be/le support for gaisler arch/arm/configs/socfpga_defconfig | 1 + drivers/i2c/busses/i2c-ocores.c | 55 ++++++++++++++++++++++-- include/linux/platform_data/i2c-ocores.h | 1 + 3 files changed, 53 insertions(+), 4 deletions(-) -- 2.17.1