Add new boot loader to support TMR-FC board and did some modifications

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add PCA953X driver and modify main control to use it when building boot loader to support TMR-FC.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
fix errors.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
modify pca953x driver and did some changes in main.c.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add more functions in driver pca953x.c and add I2C timeout mechanism to avoid USB be blocked  if any I2C connection failed.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add more improvement.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Fix build error and did some changes in bl.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
bl LED blink support ready (PCA9536, IO3).

If we finally enter boot loader mode to wait sync from PC USB, power LED will blink fast about 20 Hz.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Disable timer test.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Fix typo.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add comments to denote which LED to indicate that we are stay in bootloader and modify period calculation in pca953x driver  to determine the PSC0/1 with known variable that given by definition.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add beep function to indicate system boot up ( one short beep), and three short beep when go into update loader mode.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Bootloader :
Add I2C interlock mechanism to avoid  flash update cause system hang.
Add more improvements for LED functions.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add more improvements.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add more improvements.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add more improvements.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add more improvements.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Sector 0 (16K) for BL, and Sector 1, 2, 3 (16K x 3) 48K for emulated EEPROM, Total Flash = 1024K (16K + 48K + 960K)

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>
Add header.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>