
I'll prefer we find a way to not put soc specific code in the generic code maybe we can crete a header which will be soc specific or a generic that we will include depending on the soc
something like weak alias?
The new problem is now I want to support S5PC100 & S5PC110 Samsung SoC simultaneously. But these has different interface. c100 has CMD_MAP method, c110 has similar generic but different. At runtime it detects the cpu id and determine which read function is used. At this case, s5pc100/c110 has no size limitation because of internal ROM code. At boot it loads 16KiB and 8KiB data to internal RAM respectively.
Okay I will try to make it generic and resend it after finishing the port s5pc110 works
ok so this patch will be add at the same thime of the s5pc110 in the next branch
Best Regards, J.