| This README is about U-Boot support for SAMSUNG's ARM Cortex-A8 based S5PC1xx |
| family of SoCs (S5PC100 [1] and S5PC110). |
| Currently the following board is supported: |
| While ARM Cortex-A8 support ARM v7 instruction set (-march=armv7a) we compile |
| with -march=armv5 to allow more compilers to work. For U-Boot code this has |
| printf("cpu is s5pc100\n"); |
| printf("cpu is s5pc110\n"); |
| struct s5pc100_gpio *gpio = (struct s5pc100_gpio*)S5PC100_GPIO_BASE; |
| /* GPA[0] pin set to irq */ |
| gpio_cfg_pin(&gpio->gpio_a, 0, GPIO_IRQ); |
| /* GPA[0] pin set to input */ |
| gpio_direction_input(&gpio->gpio_a, 0); |
| /* GPA[0] pin set to output/high */ |
| gpio_direction_output(&gpio->gpio_a, 0, 1); |
| /* GPA[0] value set to low */ |
| gpio_set_value(&gpio->gpio_a, 0, 0); |
| value = gpio_get_value(&gpio->gpio_a, 0); |
| http://www.samsung.com/global/business/semiconductor/productInfo.do? |
| fmly_id=229&partnum=S5PC100 |
| http://meritech.co.kr/eng/products/product_view.php?num=28 |